M
M. Edward (Ed) Borasky
Nick Sieger just posted (well ... I just found out about it) a graph of
the Ruby grammar on his blog. He also posted the same graphs for Java
and Javascript. While the pictures are interesting, impressive and
useful, what's even more interesting, to me, anyhow, is that there
exists a tool set to do this sort of thing!
I haven't had a chance to go tracking down the whole tool set yet, but
it's definitely on my todo list at this point. Most of it appears to be
tied to Antlr, which leads me to wonder if it can/should be ported to Ruby.
And yes, Pat, if I can find a grammar for Forth I might well generate
the picture for it.
http://blog.nicksieger.com/articles/2006/10/27/visualization-of-rubys-grammar
Thanks, Nick!!
the Ruby grammar on his blog. He also posted the same graphs for Java
and Javascript. While the pictures are interesting, impressive and
useful, what's even more interesting, to me, anyhow, is that there
exists a tool set to do this sort of thing!
I haven't had a chance to go tracking down the whole tool set yet, but
it's definitely on my todo list at this point. Most of it appears to be
tied to Antlr, which leads me to wonder if it can/should be ported to Ruby.
And yes, Pat, if I can find a grammar for Forth I might well generate
the picture for it.
http://blog.nicksieger.com/articles/2006/10/27/visualization-of-rubys-grammar
Thanks, Nick!!