On May 14, 2010, at 12:04 PM, Karl Guertin wrote:
> On Fri, May 14, 2010 at 3:25 AM, Scott Taylor <
sc...@railsnewbie.com> wrote:
>> Are there any parser-generators out there for node?
>
> There have been a couple parser tools released and none are node-specific:
>
>
http://github.com/zaach/jison
>
>
http://pegjs.majda.cz/
>
>
http://inimino.org/~inimino/blog/peg_first_release
>
>
http://tinlizzie.org/ometa-js/#JavaScript_Compiler
>
>
http://github.com/doublec/jsparse
>
> The first is notable because that's what Jeremy Ashkenas is using for
> CoffeeScript which is, to my knowledge, one of the more complex parser
> projects in javascript (though it's actually written in coffeescript
> since the language is self hosting). The third has a ES5 parser as an
> example. The last two are parser combinators. Additionally, jslint has
> Douglas Crockford's take on javascript parsing, which differs a bit.
) is the way of the future when it comes to PG's, but for now I'll probably give jison a shot.