grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
Hi, Sorry if already aware but statis-check : format and useless-paren complain about deprecated module in title : ```npm warn deprecated [email protected]: This module is not supported, and leaks memory....
I tried the PCRE.g4 grammar on an example where the bounds in a character class are quoted sequences. The parser took `\E` and `\Q` as bounds, when it should have...
https://github.com/antlr/grammars-v4/blob/b91b6dae10165db9000fabd9c8ee3b966da2d4cc/sql/mysql/Oracle/MySQLParser.g4#L450 eg: create table if not exists payment.example
TSQL grammar not parsed select query when it is inside the single quotes it is a dynamic sql where quotes can be separated as well It is considered as string...
https://github.com/antlr/grammars-v4/issues/4105#issuecomment-2132459469
https://llvm.org/docs/TableGen https://llvm.org/docs/TableGen/ProgRef.html
https://github.com/coderextreme/CPPON/blob/main/cplusplus/net/coderextreme/CPPONGrammar.g4 C++ sub-grammar to replace JSON and XML. DOM is ok. Reviews and feedback welcome! Apache Licensed.