Info.NonterminalSourceConverts a nonterminal index to its name string
all g is the set of all non-terminals in grammar g
Returns `REGULAR for ordinary non-terminals and `START for entrypoint (start) non-terminals
semantic_value nt is Some typ if nonterminal nt has a semantic value of type typ, or None for unparameterized non-terminals.
nullable nt is true if nonterminal nt can derive the empty string
first nt is the set of terminals that can begin a string derived from nonterminal nt
val find :
'g grammar ->
?approx:int ->
string ->
('g n Fix.Indexing.index,
[ `Mangled of 'g n Fix.Indexing.index
| `Dym of (int * string * 'g n Fix.Indexing.index) list ])
Stdlib.resultFinds a nonterminal by name. Checks both regular and mangled names. Returns disambiguation suggestions when the name is not found and approx > 0.