Skip to content
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

Open
camerondavison opened this issue May 21, 2016 · 9 comments
Open

Add a way to run the examples #316

camerondavison opened this issue May 21, 2016 · 9 comments

Comments

@camerondavison
Copy link

maybe a docker container for each?

@deanturpin
Copy link

Nice idea.

@vdun
Copy link

vdun commented Aug 25, 2016

or create a folder named 'test' where it contains a test/run for each file and have a CI (travis, ...) for testing.

@leachim6
Copy link
Owner

leachim6 commented Feb 4, 2017

implemting CI on this is a great idea and I'm working on this

@leachim6
Copy link
Owner

BUMP
Does anyone have any ideas how we would build out something like this? The problem here is that there isn't a single OS that will run every single one of these examples. I have several servers I could host an application like this on, but I wouldn't even know where to start.

@thathexa
Copy link
Contributor

thathexa commented Mar 1, 2017

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 gcc to c in order to compile c.c). Though something as huge as this should just be it's own repo...

@Potherca
Copy link
Contributor

Potherca commented Nov 5, 2017

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?

@Richienb Richienb mentioned this issue Jul 13, 2020
Closed
@Richienb Richienb changed the title add a way to run all of these examples Add a way to run the examples Oct 2, 2020
@NightMachinery
Copy link

Adding shebang line runners for the languages that support it can be quite helpful.

@Tyler887

This comment was marked as off-topic.

@gnuhead-chieb
Copy link
Contributor

gnuhead-chieb commented Mar 10, 2022

The problem here is that there isn't a single OS that will run every single one of these examples.

Use emulator/simulators such as qemu,wine,darling

@leachim6 leachim6 removed their assignment May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants