remove functions

Rethinking. A grammar should just basically be a definition, and not do any processing. Then this library would be wrapped to create something executable out of it.