Geomol / World

World Programming Language
http://world-lang.org
22 stars 7 forks source link

Add facility to run scripts from the command line #1

Closed earl closed 12 years ago

earl commented 12 years ago

Currently, starting the world binary with a script as an argument just ignores the script and gets you to the prompt:

$ ./world_linux hello.w 
Loading Cortex... Done
World/Cortex 0  Copyright (c) 2009-2011 John Niclasen, NicomSoft
build: Dec  4 2011 09:53:36
w>

It would be nice if a world script could be executed directly that way.

Oldes commented 12 years ago

I second that!

Geomol commented 12 years ago

World can now launch scripts from the command line. To see command line options:

$ ./word -?

(Issue can be closed.)