if invoked with a valid rascal file as the first argument that file will be run as though it were part of a rascal project consisting of only that file invoked with the ramianing arguments
if invoked without a valid rascal file as the first argument the rascal command will run the rascal interpreter with any arguments that were supplied
Caveat: currently only supports mac
A convenience script I wrote to make exercising arbitrary grammars a little more ergonomic
to speed up my iteration cycle. Basically the same idea as the base rascal(Wrapper) command,
avoid having to set up a project structure and an IDE when I just want to do something in
the terminal real quick. Should I detect if the outpout is being piped and come up with
some rascal appropriate intermediate representation for parse trees? Probably not. Will I?
Maybe, it would be pretty sick to be able to parseWithRascal | (transformWithRascal|lintWithRascal)
A somewhat unhealthy part of me wants desperately to use this as the basis of a rascalScript wrapper wrapper to replace the the use of awk in my workflows. stay tuned