Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 312 Bytes

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