Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 358 Bytes

File metadata and controls

12 lines (7 loc) · 358 Bytes

IndyJSBasic

The 30 Minute Compiler

This is the source code from the IndyJS April 2014 meetup.

basic.js expects source code on stdin and outputs generated JavaScript to stdout.

Use shell redirection to perform an actual compilation:

node basic.js < test.bas > test.js && node test.js