Simple Interactive Grammar Generator
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
README.md
gg.js
index.js
lx.js

README.md

Grammar Generator inspired by metalua and parsec-coffescript.

Run tests with

node test/lx.js
node test/gg.js

TODO

Lexer
  • Fix unescape string
  • Add unicode support
  • Add literal regex support
  • Fix bug when === is read as == and =
gg
  • Add diagnostic messages
  • Add lineinfo