Commit 731ea7f
committed
gh-124889: Remove redundant artificial rules in PEG parser
Cache in C PEG-generator reworked:
we save artificial rules in cache by Node string representation as a key instead of Node object itself.
As a result total count of artificial rules in parsers.c is lowered from 283 to 170.
More natural number ordering is used for the names of artificial rules.1 parent 9ce9020 commit 731ea7f
File tree
3 files changed
+4194
-11019
lines changed- Parser
- Tools/peg_generator/pegen
3 files changed
+4194
-11019
lines changed
0 commit comments