Ken Domino

Results 292 issues of Ken Domino

With the recent port to Antlr 4.11.1, we discovered a couple of the grammars required some tweaking. But, as noted [here](https://github.com/antlr/antlr4/issues/3875#issuecomment-1242668939), we can simplify the asm8080 grammar further. **We should...

asm

While using the grammars-v4/bnf grammar for creating an ebnf, I noticed several errors: * [LPAREN](https://github.com/antlr/grammars-v4/blob/07314e4615982ba77864d7b8cd804c7b5d803bb0/bnf/bnf.g4#L91), [RPARENT](https://github.com/antlr/grammars-v4/blob/07314e4615982ba77864d7b8cd804c7b5d803bb0/bnf/bnf.g4#L95) and the other symmetrical character symbols are reversed on [how it is usually defined](https://wumbo.net/symbols/right-parenthesis/)....

As noted by @wegoodwin in a personal communication, the powerbuilder grammar is very slow, performing 100x slower in a grammar he is writing. We need to update this grammar at...

powerbuilder

stringtemplate/ has a few problems that should be addressed: * Grammar ST{Parser,Lexer}.g4 is a grammar for regular StringTemplate. * Grammar STG{Parser,Lexer}.g4 is a grammar for StringTemplate group. * These should...

stringtemplate

## Statement of Problem This is a fix for https://github.com/antlr/grammars-v4/issues/2883 Testing in the V4 repo should be incremental, meaning that if one grammar changes, the build will only test the...

Antlr 4.12.0 will be released soon. The builds in grammars-v4 should be updated once the release is available. * Add the TypeScript target. * Make Antlr4 version setting from one...

Perhaps this is better in the Discussions section, but I just don't understand why we aren't performing tree diffs on every parse, across all targets. It's not going to slow...

infrastructure

The [php]() grammar crashes when trying to print out trees (`trgen -t Java; cd Generated-Java; make; make test`). ``` Exception in thread "main" java.lang.NullPointerException at org.antlr.v4.runtime.misc.Utils.escapeWhitespace(Utils.java:63) at org.antlr.v4.runtime.tree.Trees.toStringTree(Trees.java:49) at org.antlr.v4.runtime.tree.Trees.toStringTree(Trees.java:58)...

php
target:java

* https://stackoverflow.com/questions/75292088/is-there-an-example-to-build-a-antlr4-grammar-parser-for-oracle-pl-sql-with-the/75295213#comment132891227_75292088 ```sql CREATE TABLE "X"."Y" ( "OID" NUMBER(19,0) NOT NULL ENABLE, "STANDARDIZED_HOME_PHONE" GENERATED ALWAYS AS (115) VIRTUAL , ) ; CREATE TABLE "A"."B" ( "FIELD1" NUMBER(19,0) NOT NULL ENABLE,...

plsql

While updating every template for testing (https://github.com/antlr/grammars-v4/pull/2989), I noticed that the Python3 target does not work on the logo/logo grammar, crashing on a file open: ``` ../examples/logo_feature_butfail_2.txt Traceback (most recent...