We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
User:UrnEn/lnnbot-polyglot
Jump to navigation
Jump to search
This is a 5-way polyglot (SletScript->Polynomix->WhatLang->Uiua->JavaScript) written by UrnEn, when run in language A, prints:
This program wasn't written in A, it was built for B!
where B is the name of the language that comes after A in the cycle.
Here's the code:
(/*2 3)((1#\_),``)().(This program wasn't written in ).(SletScript)(WhatLang).(, it was built for ).(Polynomix)(Uiua).(!).()!_;_(',(``This program wasn't written in Polynomix, it was built for WhatLang! '/(1,\;)>.));`1 2;[}'```
))
&p "This program wasn't written in Uiua, it was built for JavaScript! " poppoppop #*/console.log("This program wasn't written in JavaScript, it was built for SletScript! ") )//'\;