Interfaces and base classes useful to implement a parser (or simply a grammar subtree) for a given format, for instance Pstricks.