Generate railroad diagrams from code or BNF, generate BNF from code