-
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…
-
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…
-
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
…
-
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.…
-
```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…
-
Grammar-Kit context help shows section "Followed by" with list of tokens and rules that can be after particular rule according to the grammar.
You could use these tokens for auto-generating base rec…
-
I am trying to generate programs over a specific benchmark. As the grammar is too wide, I am using constraints to find only programs that contain the input.
## Setup
The benchmark
```julia
…
-
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…
-
Followed the installation instructions, but getting this...