🕷 zenspider.com

by ryan davis

Looking for the Ruby Quickref?

Parse Tree Visualization

Published 2005-01-22 @ 19:16

Tagged parsetree, ruby, toys

parse tree of 1+1

parse tree of 1+1

This is what I worked on today. Automatic graphing of ruby parse trees using my package ParseTree and with a small (56 line) graphing library that I wrote yesterday and a new sexp processor (80 line) to drive the graphing library.

This is just the output of 1+1. The whole graphing library is ginormous.

Not bad for just 136 lines of ruby.