Module printer

Module printer 

Source

Structs§

GrammarPrinter
Prints the BNF AST in xgrammar’s standard EBNF format.

Functions§

print_grammar
Convenience: render grammar as EBNF text.