3 ms·
This polyglot that work across many interpreters from within a single source, and create no temporary files: https://gist.github.com/alganet/2c1c004d0580e8d92c
by alganet 1y ago
This polyglot that work across many interpreters from within a single source, and create no temporary files:
https://gist.github.com/alganet/2c1c004d0580e8d92cc1c167fa4f2632 https://gist.github.com/alganet/2c1c004d0580e8d92cc1c167fa4f...
It's quite small, simple and has no dependencies (mshta and zenity are just example calls).
There's a larger version that can do even more interpreters and even launch its own webview:
https://gist.github.com/alganet/9eec864a2caa44ef1f9ca2e188b87a45 https://gist.github.com/alganet/9eec864a2caa44ef1f9ca2e188b8...
--
These are recreational in nature. Crafting a source code that runs in many interpreters and does something meaningful is a fun brain tease.