-
I've been taking a look at https://github.com/Instagram/LibCST/issues/1112#issue-2156871432 and struggled a bit getting the tests to reproduce the error, although it was easy to reproduce from a file.…
-
When typing code, it is normal that the syntax/grammar enters a non-correct state. For example, think of the following snippets
- selecting an identifier `x.`
- writing an if block "if "
- etc.
…
-
I'm creating a grammar editor/tester online here https://mingodad.github.io/parsertl-playground/playground/ (repository here https://github.com/mingodad/parsertl-playground ) and just added Austral gr…
-
### 1. Briefly
I don't understand the meaning of rule `More than 30 ppm of exclamations. Keep them under control.`
### 2. Detail
I get this error when I have 2 or more exclamation marks in my…
-
RStudio currently supports syntax highlighting for a number of languages (R, Python, etc), and this syntax highlighting is triggered on the file-type level (For example, opening a .py file will trigge…
-
The nom code for parsing would be easier to read if the grammar rules from https://tools.ietf.org/html/rfc3501#section-9 would be placed in comments above each rule.
Here is an example of what that…
-
I did the following:
1. created a lexer grammar of common lexer rules
2. imported that in my grammar
3. added rules using the results of the lexer rules
4. noticed there were no problems reported
…
-
```bash
$ tree-sitter generate
thread 'main' panicked at 'no entry found for key', /home/ofirg/.cargo/registry/src/github.com-1ecc6299db9ec823/tree-sitter-cli-0.20.7/src/generate/render.rs:1129:21
…
-
From the [docs](https://nearley.js.org/docs/grammar):
> By default, nearley attempts to parse the first nonterminal defined in the grammar.
Is there a way to parse starting at a non-terminal ot…
-
Hi! I'm enjoying using `combobulate-mode` in `python-ts-mode` buffers. However, for various reasons, I can't use it in all Python buffers. But turning `combobulate-mode` on makes keybinding changes th…