Add export functionality for grammar and generator
Update dummy grammar
Join prefix/postfix into common transform array
Refactor transforms to work with export
Handle whitespace in grammar export