grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
I used antlr4.9.2 to generate python lexer with python/python3/Python3Lexer.g4. In Python3Lexer.py which the tool generated, I found some template error. part of the file like this: ```python def NEWLINE_action(self, localctx:RuleContext...
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...
I am parsing the following code ```python import requests r = requests.get(w, verify=False) ``` When I parse the list of argument of the `Expr` `requests.get`, the position of the argument...
I decided to run a test on the PLSQL grammar that has about 9000 insert statements. When I try to build a parse tree, I get the following error: ```...
Trying to parse this kind of input ```sql whenever sqlerror exit sql.sqlcode whenever oserror exit oscode set timing on alter session enable parallel dml; define v_schema_stg = stg; define v_schema...
The PlSql Grammar readme [here](https://github.com/antlr/grammars-v4/blob/master/sql/plsql/README.md) has a link to the now deleted case insensitive lexer doc in the main ANTLR4 docs. This needs to be removed. Not sure how many...
for example, in java: Map will be parsed incorrectly because antlr4 greedy match '>' in word segmentation process. there are a lot of circumstance like this. is there any solutions...
Dear all, I am currently using ANTLRs C# StringTemplate library to generate some R and Python code. Now I want to create a developer manual of this creation process and...