-
Module A:
```rascal
module A
extend lang::std::Layout;
extend lang::std::Comment;
syntax Expression
= literal: Integer i
| left plus: Expression "+" Expression
> left ( min: Expres…
-
```
I solved the problem to also recognize upcase words using an upcase converter
like:
define ToUpcase a -> A || .#. _ ,,
á -> Á || .#. _ ,,
b -> B || .#. _ ,,
…
-
- [ ] Replace AST type with (basically identical) antlr-haskell AST type.
- [ ] Call ALL(\*) from the 'g4_codeGen' function when parsing G4 things (instead of GLR which grinds to a halt on large gram…
-
[This paper](http://michaeldadams.org/papers/layout_parsing/LayoutParsing.pdf) presents a formalism for expressing indentation-sensitive grammars in GLR and LR(k) parsers which they claim easily gener…
-
Are there are plans to add support for the new Java `switch` expressions (currently in preview stage) to the current ANTLR4 grammar? At some point I could take a stab at this but writing grammars is n…
-
The GOTO compaction algorithm seems to be about optimal over a wide range of grammars, but the DFA and ACTION tables seem to display different characteristics depending on the size and complexity of t…
-
Hi!
I'm using ANTLR 4.10.1 do parse Java grammar to golang code but it doesn't convert all code necessary to compile it correctly. Look at the image:
The command I've usedto generate code:
`ja…
-
There is a tiny issue with the syntax highlighting of multi-line strings. For example in the code below the 'comment highlighting' (default: green) should stop at the commented line.
```zig
fn fun…
-
found in scope of #4723
Idea violation:
Class only used from one other package
src/main/java/com/puppycrawl/tools/checkstyle/grammars/CommentListener.java (1)
28: CommentListener Class CommentLi…
-
**Describe the issue**
I have a JS lib for i18n named [si18n.js](https://si18n.js.bruxelles.dev/), and its class name is `Si18n`. So, when I highlight this keyword, only the part before "n" is corr…