What new features will antlr5 support ? #5
Replies: 5 comments 6 replies
-
Adding Ken's wish list: |
Beta Was this translation helpful? Give feedback.
-
This discussion is bout the list of features, not the features themselves. |
Beta Was this translation helpful? Give feedback.
-
If Token value comparison operator is implemented it will significantly simplifies SQL and other grammars with many contextual keywords and make them less error-prone (there have been a lot of cases when new users introduced a new keyword without adding it to UPDATE: I see you've already added the similar item:
|
Beta Was this translation helpful? Give feedback.
-
It's a good idea. But I've also added a splitter token (typically it's new line '\n`). It can help to improve lexer/parser errors reporting, make parse-tree full fidelity (when whitespaces and comments are linked with respective normal tokens). |
Beta Was this translation helpful? Give feedback.
-
As of writing, I'm seeing some level of clarity and consensus with the following: Some ideas have not reached consensus yet: The following ideas have not matured: The following ideas are abandoned:
I might be wrong but I don't foresee any 'immature' feature impacting our design. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions