-
Consider the following program:
```dart
void main() {
if ((0,) case const (0,)) print("foo");
}
```
It compiles without errors, prints out `foo` and terminates successfully on DartPad.
…
-
I played with the online editor and wasn't very happy with the error messages.
It seems to report only the name of the root rule: `expected bar`, while I would expect to see a rather more descript…
-
The VM should support a simple regular expression type and various operations for compiling regular expressions, finding matches, etc. The compiler / runtime in turn should use this. There are two way…
-
Could you support:
```rule = {expression}{7} ;```
or
```rule = {expression}{2,5} ;```
Example from the re syntax:
https://docs.python.org/3/library/re.html#regular-expression-syntax, search for…
-
It would be useful to define a simple grammar for the plan language. Documenting the language would be easier and changes can be more easily coded.
Have a look at the [PEG.js online tester](http://pe…
-
I am trying to parse mathematical expressions using a nearley grammar.
I stumbled over expressions like `(f + g)(x + y)`. Depending on what `f` and `g` are, the expression needs to be parsed comple…
-
All switch/case contraints are not tested by the front-end, and this makes the code generator crash or generate wrong code:
- the switch expression must be of integer type (including enum types) (flo…
-
Hi,
I am using antlr4.7 to parse some netezza sql code that is used in production.
It is trying to calculate the hash value of a row by concatenating the cell values and applying the hash function…
-
### Terraform Version
```shell
Terraform v1.8.5
on darwin_arm64
```
### Use Cases
filtering a map while iterating with `for_each`
### Attempted Solutions
```hcl
resource "the_type" …
-
I think we need to extend the PEG to specify the lower-layer protocols explicitly (I.E., chain multiple schemas together). Especially since HTTP can now also be via UDP and more and more stuff uses HT…