I wonder if anyone has made a parser for the contextfree grammar itself ? I guess it could be parsed to an AST, that calls this API and then generate pictures, this would be interesting for integrating CF with python.