summaryrefslogtreecommitdiff
path: root/grammar/src/abnf/mod.rs
AgeCommit message (Collapse)Author
2023-07-21abnf: Correct error reportsJSDurand
Previously the errors emitted while reading abnf grammars reported incorrect indices. Now this is fixed.
2023-07-19grammar/abnf: Fix a bug of repeatedly adding non-terminalsJSDurand
This bug caused a plain unambiguous grammar to become ambiguous. Funnily enough, this bug revealed a lot of bugs in the code for handling forests. I guess this is an unexpected surprise. :D
2023-07-08Finished the Emacs binding.JSDurand
Now the binding part is finished. What remains is a bug encountered when planting a fragment to the forest which intersects a packed node, which would lead to invalid forests. This will also cause problem when planting a packed fragment, but until now my testing grammars do not produce packed fragments, so this problem is not encountered yet. I am still figuring out efficient ways to solve this problem.