Closed 8bitDesigner closed 12 years ago
Just a thought, if lua2js listened on stdin and returned data on stdout, it could be used as part of a unix pipe; eg:
for i in `1.lua 2.lua 3.lua`; do cat $i | lua2js > "$i.js" done
I'm working on a pull request which should implement this.
Urk, Jison generated parsers expect a single parameter for a file to parse - no way to get around that without tweaking Jison itself!
Just a thought, if lua2js listened on stdin and returned data on stdout, it could be used as part of a unix pipe; eg:
I'm working on a pull request which should implement this.