-
By default the LALR grammar can have only a single lookahead, but it'd be really nice if it could have a custom lookahead on specific cases (I got used to JavaCC which implements this with something a…
-
The WGSL build process checks the following for the grammar:
- that a valid tree-sitter grammar can be generated. (So there are no ambiguities for GLR with context-aware lookahead)
- that the tree-s…
-
偶然尝试了一下这个节点,发现总是报错,检查了模型都下载齐全了,不太清楚是什么情况。与之对应的英文版节点Prompt Generate运行正常。
`
!!! Exception during processing!!! 'NoneType' object is not callable
Traceback (most recent call last):
File "K:\ComfyUI…
-
Converting this grammar https://github.com/youtube/cobalt/blob/main/cobalt/css_parser/grammar.y I found that `lalr` has trouble parsing/lexing the identifier `errors`.
```
error_bug {
%whitespa…
-
For the following grammar Jison (from the CLI) reports a reduce-reduce conflict when it should not.
When switched to use SLR, the parser is generated without errores. Tried `-p lalr` and got the
same…
-
I had a parse error that I reduced to
```
resource "aws_instance" "jenkins_controller" {
user_data = var.color == "blue" ? 0 : 1
tags = {
email = var.assignee == "" ? null : var…
-
I (and others) would like to be able to use libtreesitter in emacs without necessarily being reliant on the node/rust toolchain.
Cursory inspection of a couple of grammar.c files suggest that they im…
-
Hi, me again.
It looks like the dunder `__copy__` methods are not carried over to Javascript:
* [`lalr_interactive_parser.py:61`](https://github.com/lark-parser/lark/blob/master/lark/parsers/lal…
-
### Operating system
WSL Linux Ubuntu 22.04
### Compiler
gcc
### Steps to reproduce the behavior
```Shell
./vcpkg install qtbase:x64-linux-dynamic --clean-after-build
```
### Failure logs
[557…
-
* Pager, David. "A practical general method for constructing LR (k) parsers." Acta Informatica 7.3 (1977): 249-268.
As motivated by Marius in https://github.com/goccmack/gocc/issues/13#issuecomment…