[grammarians] Visualization of Ruby's grammar
Charles Oliver Nutter
charles.nutter at sun.com
Fri Oct 27 14:35:17 EDT 2006
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.
--
Charles Oliver Nutter, JRuby Core Developer
Blogging on Ruby and Java @ headius.blogspot.com
Help spec out Ruby today! @ www.headius.com/rubyspec
headius at headius.com -- charles.nutter at sun.com
More information about the Rubygrammar-grammarians
mailing list