h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
311 stars 23 forks source link

Shebang support #4

Closed mwgkgk closed 7 years ago

mwgkgk commented 7 years ago
#!/usr/bin/env min

"hello" puts

Min feels like it's made for being an awesome scripting language. Would be awesome to have a special case for a shebang so that we can make script files executable.

h3rald commented 7 years ago

Ohhh yes! Thanks for the suggestion!

I’ll look into it and probably tweak the parser to ignore the first line if it starts with #!.