grammars-v4
grammars-v4 copied to clipboard
Grammars written for ANTLR v4; expectation that the grammars are free of actions.
Hopefully fixes https://github.com/antlr/antlr4/issues/4556 and fixes https://github.com/antlr/grammars-v4/issues/4028
```sql TYPE t_record IS RECORD (date VARCHAR2(30)); ``` ```sql no viable alternative at input 'date' ```
I created a parser in TypeScript for YAML like language but my language is more simpler one. I want to handle the indents and dedents when newline token occurs ###...
now(in cypher/CypherParser.g4): --- multiPartQ : readingStatement* (updatingStatement* withSt)+ singlePartQ ; --- maybe ? --- multiPartQ : (readingStatement* updatingStatement* withSt)+ singlePartQ ; --- ref[line:63-64] --- oC_MultiPartQuery : ( ( oC_ReadingClause SP?...
 Hello, I created one of the most complete and professional grammars possible for the web. You can use this grammar for html, js, css, and sass....
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/sqlrf/ALTER-DATABASE.html#GUID-8069872F-E680-4511-ADD8-A4E30AF67986__I2080163 
What I was doing: parsing some fortran code, as one is want to do. What I expected: a parse with no errors. What happened instead: errors - no viable alternative...
***(This initial comment has been updated in order to clarify the topic. Replies to this comment may not make sense because description has changed.)*** The grammars for Fortran need to...
I've been looking at this and looked at the Fortran90parser.g4 and am just not seeing the problem. It looks like a END SELECT NAME? should be ok with this. Example...