Skip to content

InPermutation/IndyJSBasic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Uncomment one of the jsonify lines in basic.js to watch the tokens from the lexer, and statements from the parser, respectively.

About

The 30 Minute Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published