split LR table representation by key type (terminals/nonterminals)
This commit is contained in:
parent
d67e12a825
commit
853e1fba46
7 changed files with 156 additions and 68 deletions
|
|
@ -119,11 +119,6 @@ HParserBackendVTable h__glr_backend_vtable = {
|
|||
|
||||
|
||||
// XXX TODO
|
||||
// - split tables into
|
||||
// - one mapping input bytes to actions (shift or reduce or conflict)
|
||||
// - one mapping reduced-to lhs nonterminals to shift states
|
||||
// - can there still be conflicts here?
|
||||
// - use HStringMap to represent lookahead sets and the "piggyback" table
|
||||
// - implement engine merging
|
||||
// - triggered when two enter the same state
|
||||
// - old stacks (/engines?) saved
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue