-
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…
-
## Short description
When running the example `examples/advanced/reconstruct_python.py`, the code fails on `AssertionError` in approx 50% of cases.
```
Traceback (most recent call last):
Fil…
-
**Describe the bug**
Currently, we use regular expressions to parse the GDB MI output. In https://github.com/cs01/pygdbmi/pull/72#pullrequestreview-1066128398 Chad suggested we used a proper parser t…
-
### Build issue(s)
Getting below mentioned error while building the **'lighting-app'** project in Visual Studio Code using [ESP-IDF Extension](https://marketplace.visualstudio.com/items?itemName=espr…
-
**What is your question?**
How do I import lark grammar written in one python project into another.
E.g.
project A has `A/grammar.lark` file
project B can import A
But
```
// file called B/…
-
**Suggestion**
Recent versions of Bison are able to generate counter-examples witnessing shift/reduce and reduce/reduce conflicts, which helps fine-tuning the grammar so that it belongs to LR(1). Wou…
-
**What is your question?**
I'm interested in writing a transformer for certain parts of input programs that wouldn't require a full language grammar. So let's say I have the below sample cpp code:
…
-
setup:
```sh
$ cat test2.S
str x29, [x0, #(0xb0 + 0x0f0)]
# test with gcc
$ aarch64-linux-gnu-gcc -S -o - test2.S
# 1 "test2.S"
# 1 ""
# 1 ""
# 31 ""
# 1 "/usr/aarch64-linux-gnu/include/…
-
Hi,
I'd like to report a possible bug with token's attributes start_pos, end_pos and line.
Below is an example to reproduce.
Grammar:
```
start: statement_list
statement_list: statement+
sta…
-
Since lark version 1.2.1, there seem to be (more?) ambiguities produced for our syntax.
While the syntax is ambiguous, we used prioritiies to fix this before.
```
%import common.INT
%import comm…