Skip to content

joshbooks/rascalWrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Making rascal a little more approachable on the command line

rascal

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

parseWithRascal

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)

forked by creator following change in emploment

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

About

simple wrappers to improve ergonomics of working with rascal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%