-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to run the examples #316
Comments
Nice idea. |
or create a folder named 'test' where it contains a test/run for each file and have a CI (travis, ...) for testing. |
implemting CI on this is a great idea and I'm working on this |
BUMP |
So it also turns out not all of these languages actually have compilers/interpreters (damn you, awesome esolangs!). Which makes sense, maybe someone just wanted to make a proof of concept but didn't want to go through the complication of writing a way to actually execute it. Or maybe it's just stupid ol' me who hasn't found a BIT compiler :P Either way, I guess the problem still remains... I am pretty certain there is no possible way to run all of the assemblies on one machine (unless someone will find some kind of super-assembler), but as for the rest... It's just a matter of spending hours googling for all the compilers/interpreters and writing a very simple script to execute them (it will be really easy if the name of the compiler file will be the same as the name of the source file, e.g. the c compiler will be renamed from |
I might be speaking out of turn here, but I would strongly suggest creating a separate repository to get this started. It could always be merged back into this repo when it is stable but until it is, you're going to end up with a lot of non-hello-world related discussions and PR's. As far as infrastructure goes, one container per language seems most sensible. If a container can not be created for a specific language, a virtual machine might be available. Languages that can not be run could simple be marked as such (to avoid effort being wasted), stating the reason (missing compiler, hardware not virtualizable, etc.) I'd say it is certainly possible to create a executable version for most languages but it will be quite an undertaking. Maybe we should check other "Hello world" collections to see if we can get more people onboard with this idea? |
Adding shebang line runners for the languages that support it can be quite helpful. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Use emulator/simulators such as qemu,wine,darling |
maybe a docker container for each?
The text was updated successfully, but these errors were encountered: