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

[feature request] Load script from command line #1

Open
vrescobar opened this issue Aug 17, 2019 · 1 comment
Open

[feature request] Load script from command line #1

vrescobar opened this issue Aug 17, 2019 · 1 comment

Comments

@vrescobar
Copy link

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")
@vrescobar
Copy link
Author

vrescobar commented Aug 17, 2019

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

@vrescobar vrescobar reopened this Aug 17, 2019
@felixr felixr mentioned this issue Jan 3, 2021
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

1 participant