-
### Description
The `main.py` script fails when parsing a Terraform variable file containing a multi-line conditional in a variable validation block. The script works as expected with single-line con…
-
Like this parser = Lark(ocaml_grammar, start='start', parser='lr')
but i check that only support LR and LALR?
-
So, Prism is out and it's:
1. correct
2. comes out of the box with MRI (and IIRC with other Ruby implementations)
3. faster (I think on TruffleRuby/JRuby it's absurdly faster because it doesn't r…
-
Hi,
With the latest changes I seem to have some broken dependencies. When trying to run the gdlint or gdformat hooks from pre commit I get the following errors (shown below). I haven't made any ch…
-
I've googled around the docs and found no info on this and the issues forum posts about weights don't mention how they work.
So is .1 higher priority than .2 ?
I'm using Earley parser because th…
-
As a CS student, you may have already implemented it as part of your compiler’s class. But if not, then you should. LALR parsing makes syntactic sense of source code, whichever language you use
-
Traceback (most recent call last):
File "D:\Program Files\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Progra…
-
I need a syntax definition of cello language in SableCC style.
I think, the development is very easy because we can introduce yacc (LALR(1)) version grammar to the definition.
-
I assume that `x--7` is a valid expression and should understood as `x - (-7)`. But `--` is also the decrement operator, so a parser using a tokenizer would reject `x--7`. It would be nice to document…
-
CUrrently the `earley` parser is used which is very slow (~20min for 1300 instr.). In order to use the significantly faster `lalr` parser the priorities of the terminals must be set correctly.