Created
January 5, 2011 05:06
-
-
Save erichocean/765959 to your computer and use it in GitHub Desktop.
How I converted the PEG grammar into source code (which I then modified)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var peg = require('./peg') ; | |
var sys = require('sys') ; | |
var posix = require('posix') ; | |
posix.cat("./ECMAScript_jsdoc.peg").addCallback(function (grammar) { | |
var parser = peg.generateParser(grammar) ; | |
sys.puts(parser) ; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment