Builds an equivalent NFA for a context-free grammar whose recursive productions are consistently
left-linear or right-linear within each dependency component. Returns an issue for an unsupported
grammar shape or a reserved end marker, and reports budget exhaustion separately.
Builds an equivalent NFA for a context-free grammar whose recursive productions are consistently left-linear or right-linear within each dependency component. Returns an issue for an unsupported grammar shape or a reserved end marker, and reports budget exhaustion separately.