UNPKG

@fauton/cfg

Version:

A package to work with context free grammars and LL1 parsers

8 lines (7 loc) 297 B
import { IContextFreeGrammar, IContextFreeGrammarInput } from '../types'; /** * Populates the variables and terminals of cfg via extraction * @param cfg Cfg to populate * @returns Populated cfg */ export declare function populateCfg(cfg: IContextFreeGrammarInput): IContextFreeGrammar;