grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
@kaby76 @mike-lischke we had a brief discussion in PR#3843 about build times. I have some infra I could use to support remote runners, for linux. I don't have spare Windows...
Following https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver16#syntax I have something like this in mind (todo: options): ```g4 dml_clause : merge_statement | delete_statement | insert_statement | select_statement_standalone | update_statement | bulk_insert_statement ; ... bulk_insert_statement : BULK...
The addition of colors so that the user types the name of the color and the text becomes colored. Of course, this is an optional PR, but in my opinion,...
`REM`, `REMARK`, `PRO`, `PROMPT` These words cannot be a identifier. such as ```sql SELECT REMARK FROM T1 ``` This sql will be parsed error in Antlr. But it is a...
This grammar is obsolete. It is now superseded by python3_12_0, which works better. When this grammar is removed, please close out any PRs and Issues that are still open against...
mvn test failing I needed to fix it with git checkout 6590fdd07b9fa1b4a66025c8315ee2c93bbcbe7d python/tiny-python
Now in Snowflake g4 file, column reference and number/constant are all expr(primitive_expression) node. So it's hard to traverse the tree and get the column reference we need. For example, In...
### Background: During the course of going through some queries, I ran into some parsing issues calling out an unexpected `TIMEZONE` string from statements inside the body of a CTE...
running mvn test gives [INFO] --- antlr4test:1.22:test (default) @ nasm --- [INFO] Evaluating Scenario: Default Scenario java.lang.ClassNotFoundException: NASMLexer at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)