Automated tree grammar treewalking

This seems like an easier method than manually producing tree walking rules or embedding action symbols, so I'm going to go ahead and pull into master.

Closes #30.