The CFG class can be used to create a specification for a context free grammar and define translations for it
callahat
MIT