On Oct 27, 2006, at 11:35 AM, Charles Oliver Nutter wrote: > Nick Sieger wrote: >> Thought you guys might find this interesting. I took parse.y and >> generated a dependency graph of it using ANTLRWorks. (Note that I >> didn't use Rubyfront's or Sara's ANTLR grammar, that could be >> something >> to do next). >> >> http://blog.nicksieger.com/articles/2006/10/27/visualization-of- >> rubys-grammar >> >> Any keen observations? Next steps? > > So how far off from a usable grammar is what you fed to ANTLRWorks? Is > this mostly a neat way to visualize the YACC grammar, or is this > something usable? Anything that can reliably take the YACC grammar, > massage it a bit, and produce a new ANLTR grammar out of that could be > pretty useful.
Yeah, perhaps we should integrate the bison converter into ANTLRWorks. :) Note that AW has some refactoring in there already to do "..." to '...' and other stuff. Ter _______________________________________________ Rubygrammar-grammarians mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians
