yaep
yaep copied to clipboard
Yet Another Earley Parser
This PR should make the YAEP library mostly reentrant without changing the public API. I haven't fixed the following three things: * Some of the callbacks the user is supposed...
This PR depends on #20. It makes the use of bison (`sgramm.y`) reentrant. To this end, it also introduces a method of slipping a pointer to the grammar into the...
https://link.springer.com/content/pdf/10.1007%2F3-540-61053-7_68.pdf I hope this is useful.
Adding `-Wall -Wextra` with `gcc` give a few warnings and some of then I fixed as shown bellow: ``` diff --git a/src/yaep.c b/src/yaep.c index 3719017..b68cce8 100644 --- a/src/yaep.c +++ b/src/yaep.c...
The Readme says to see the yaep.tst.in file, which does not seem to be part of the repository
I made an Earley engine that is much faster in benchmarks than YAEP: [gearley](https://github.com/pczarn/gearley). Here are the results for 88248 tokens (10K lines of C). ``` gearley: bench_parse_c ... bench:...
Hi, I am considering using yaep to add limited user-customizable syntax to a domain-specific language. In https://github.com/vnmakarov/yaep/issues/24#issuecomment-449791945, you express concern that a non-trivial expertise is required to avoid unintended ambguities...
It is stated that YAEP doesn't use Joop Leo's optimization, and that right recursion is fast anyways. And because of the lookahead I do believe this to be true for...
# Issue Description While creating a [Homebrew formula for YAEP](https://github.com/sanssecours/homebrew-yaep), I noticed that building the software in parallel fails sometimes. # Steps to Reproduce ```sh mkdir build cd build #...
It would be really nice if you could add a git tag, such as `v1.0`, `1.0.0` or something similar, for the current version of YAEP. This would make it easier...