Update TODO_ParserGen.md

This commit is contained in:
Zihan Chen
2020-02-12 16:46:25 -08:00
committed by GitHub
parent 69cb6f49a8
commit f9e3fa9780

View File

@@ -1,8 +1,7 @@
# Goal
* Parsing
* No need to specify allow ambiguity or not
* Calculate ambiguous **Parse** cases, pointing out which AST need to support ambiguity
* Explicily declare the boundary of ambiguity resolving (e.g. on EXPR or on STAT)
* Full CFG power, no limitation
* Experiment: expanding all left-recursive grammer to right-recursive grammar with instructions
* Experiment: optionally inline all rules which don't generate parser functions