Previous Entry Share Next Entry
2016-01

WSH Javascript microrunner.

Usable instead of Rhino Shell or v8-shell on any Windows PC. Provides (very) basic file IO and include functionality. Download: run.js

I used it to build and run OMeta-based ES5 parser from ES-LAB.

N:\nya\the-one\parsers>cscript //NoLogo run.js es-lab-jsparser-tests.js 
Loading N:\nya\the-one\parsers\es-lab-jsparser-tests.js...
Loading N:\nya\the-one\parsers\load-ometa.js...
Loading N:\nya\ometa-js\lib.js...
Loading N:\nya\ometa-js\ometa-base.js...
Loading N:\nya\ometa-js\parser.js...
Loading N:\nya\ometa-js\bs-js-compiler.js...
Loading N:\nya\ometa-js\bs-ometa-compiler.js...
Loading N:\nya\ometa-js\bs-ometa-optimizer.js...
Loading N:\nya\ometa-js\bs-ometa-js-compiler.js...
Loading N:\nya\es-lab\unicode.js...
Loading N:\nya\es-lab\es5parser.js...
Loading N:\nya\es-lab\json2.js...
Loading N:\nya\es-lab\unit.js...
Loading N:\nya\es-lab\parsertests.js...
[Lexer done. Passed: 190 Failed: 0 Total: 190]
[Parser done. Passed: 1186 Failed: 0 Total: 1186]

N:\nya\the-one\parsers> UPD: Moved to http://tvori.info/wsh-runner/

?

Log in

No account? Create an account