hoodwink.d enhanced


Parse.y Remakes #

by why in cult

Ruby, from Nick's parser illustrations.

A few nice variations on Ruby’s yacc grammar have been emerging from the Grammarians. A few days ago, Xue Yong Zhi checked in his ruby.g, a parser in antlr syntax. Earlier this month, Sara di Gregorio and Pasquale De Medio contributed their simplified grammar to the antlr site, under Ruby’s own license. But these parsers just aren’t complete with some soul, in the form of the Ruby spec, which describes how Ruby internals act.

I’m not sure how we can get this stuff out to the CRuby team, but this is essential. The elephant shed in the room, as it were.

said on 30 Oct 2006 at 13:06

Well, there’s a lot of effort right now in getting things like this spread across all the implementations (C, rubinius, etc.) The implementers summit sort of kicked things off, and now the conversation is running apace.

Hopefully in six months time, the elephant shed in the room will have turned into nothing more than a mole hill on the table.

said on 30 Oct 2006 at 13:22

Or a bacon pin on the team sweatshirt.

said on 30 Oct 2006 at 19:54

Elephant? What about that Yacc over in the corner commiserating with the Bison? Both lamenting their lack of ANTLRs.

said on 01 Nov 2006 at 12:30

How were these graphs generated?

said on 05 Nov 2006 at 14:46

I think graphvis may be involved somwhere along the the line…http://www.graphviz.org/

said on 10 Nov 2006 at 15:01

Thanks, mark.

11 Jul 2010 at 21:07

* do fancy stuff in your comment.