If you love this, you're going to positively squee at Poc||GTFO, if you haven't read it yet: https://www.alchemistowl.org/pocorgtfo/ I mean, does HN filter out PoC||GTFO release announcements or something? I seem to remember there being mention that it might've hit the filter list ..
Writing a triple polyglot script
11–20 of 21 posts
Re: Writing a triple polyglot script
#12If you love this, you're going to positively squee at Poc||GTFO, if you haven't read it yet: https://www.alchemistowl.org/pocorgtfo/ I mean, does HN filter out PoC||GTFO release announcements or something? I seem to remember there being mention that it might've hit the filter list ..
Nope, that exact link has been posted 22 times on HN: https://hn.algolia.com/?q=https%3A%2F%2Fwww.alchemistowl.org...
Re: Writing a triple polyglot script
#13For something more ridiculous, feel free to check out this 281 language Polyglot: https://codegolf.stackexchange.com/questions/102370/add-a-la...
Thank you for posting this, it's brilliant! Now to look at a tree or something until I can identify which way is up again.
Re: Writing a triple polyglot script
#14Re: Writing a triple polyglot script
#15Instead of being parsed, it was `import`-ed and `include`-d in Python code and Makefiles. It had a `.py` extension so it took me a while to figure out why everything was breaking when I added some Python code in it. All in all, a very cursed setup.
Re: Writing a triple polyglot script
#16For something more ridiculous, feel free to check out this 281 language Polyglot: https://codegolf.stackexchange.com/questions/102370/add-a-la...
Re: Writing a triple polyglot script
#17For something more ridiculous, feel free to check out this 281 language Polyglot: https://codegolf.stackexchange.com/questions/102370/add-a-la...
https://codegolf.stackexchange.com/a/198810/71130
Each language was added by a distinct answer, each answer building on the work of all the previous ones. The community teamwork in building such a monstrosity is beautiful.
Re: Writing a triple polyglot script
#18Usual solve is %3 = fizz, %5 = buzz, %15 = fizzbuzz ...
If you change 3 or 5, you now have to go edit 15 too, does that not seem like a problem?
Nicely done.
Re: Writing a triple polyglot script
#19Ah, this reminds me of the time I encountered a polyglot "config file" in the wild in a university autograding system. Instead of being parsed, it was `import`-ed and `include`-d in Python code and Makefiles. It had a `.py` extension so it took me a while to figure out why everything was breaking when I added some Python code in it. All in all, a very cursed setup.
Re: Writing a triple polyglot script
#20I came up with: https://github.com/sorbet/sorbet/blob/master/gems/sorbet/bin...