Parse.y Remakes #
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.
pate
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.
evan
Or a bacon pin on the team sweatshirt.
ponder osa
Elephant? What about that Yacc over in the corner commiserating with the Bison? Both lamenting their lack of ANTLRs.
beppu
How were these graphs generated?
mark
I think graphvis may be involved somwhere along the the line…http://www.graphviz.org/
beppu
Thanks, mark.