otabat/shen-c

[feature request] Load script from command line

Opened this issue · 1 comments

Would it be possible to load a script from the command line?

shen-c myscript.shen

That might even enable the shebang and open the door to fast scripting:

#!/bin/shen-c

(print "hello unix scripts")

Looking at shen-sources/sources/toplevel.shen I realized that perhaps the right place to implement such feature is at the language library itself rather than at the implementation level, but I just got started looking at the shen docs and code, so I am still not totally sure