-
IMHO it would be the correct way
-
I am using the Peggy parser generator library for JavaScript, which has been instrumental in handling complex parsing tasks. However, I have noticed a potentially confusing aspect regarding the parse …
-
The FortranLexer.g4 was copied from https://github.com/AkhilAkkapelli/Fortran2023Grammar/blob/553123a023f70e9a524e2a4036be128978834c42/Fortran2023Lexer.g4. But, it contains many problems.
### Comme…
-
There is now [this](https://github.com/nvim-treesitter/nvim-treesitter/commit/604aa5a7c8cf1fd0c4ad667a0cc7fb8aaf0be33e). A config and highlights for `tree-sitter-nu` within `nvim-treesitter`.
Curre…
mrdgo updated
2 weeks ago
-
Trying to build a compiler with lalrpop and Logos and play with error recovery following [error recovery](https://lalrpop.github.io/lalrpop/tutorial/008_error_recovery.html) and [external lib](https:/…
-
I'm trying to build an online yacc/lex (LALR(1)) grammar editor/tester to help develop/debug/document grammars the main repository is here https://github.com/mingodad/parsertl-playground and the onlin…
-
To repro:
- use grammars here: https://github.com/sepp2k/antlr4-string-interpolation-examples/tree/master/with-duplication
- run commands
- `java -jar ./antlr4-4.8-2-SNAPSHOT-complete.jar
-…
-
### Describe the issue as clearly as possible:
Using `outlines.grammars.json` does not make the outputs amenable to json format.
### Steps/code to reproduce the bug:
```python
import outlines
from…
-
Programming languages typically have both a lexical grammar, which describes the structure of tokens, and a token grammar, which describes the syntax of the language and in which terminals are tokens.…
-
Hi Franz,
I'm having a go with your parser to see if it would be useful for larger scale grammars, but it seems that your novel fast CKY/LRI parsers are both slower than the baseline implementation…