grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
Hello, I would like to implement the JavaScript Parser in Swift however the JavaScriptBaseParser and Lexer are missing. They seem to be available in all languages besides Swift. Thanks in...
* 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,...
The current TSQL lexer rule for strings does not allow double quoted strings: `STRING options { caseInsensitive=false; } : 'N'? '\'' (~'\'' | '\'\'')* '\'' ;` [Microsoft uses only single...
Summary: `method_invocation` parsed as `member_access` ```g4 //result of expression obj.say("hello!"); //method name "say" parsed as member_access "say" expressionStatement ( primary_expression obj (member_access . say) ( method_invocation ( "hello" ) )...
Doesn't look like the grammar support the following ``` Write #fileNum, Format(abc, "###") ```
Notes: the cpp `PhpLexerBase` was translate from c#, java line by line.
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...
Testing in the V4 repo parse one input file per test program, which I call ***individual parsing***. But, we can save a good deal of time by parsing multiple input...
I don't know when this started but the grammar should be fixed: ``` Kenne@DESKTOP-DL44R7B MINGW64 ~/issues/issue-2988/grammars-v4/sql/mysql/Generated-CSharp $ make dotnet restore Determining projects to restore... Restored C:\msys64\home\Kenne\issues\issue-2988\grammars-v4\sql\mysql\Generated-CSharp\Test.csproj (in 416 ms). dotnet...