|
|
Re: Confusion about terminals [message #1742813 is a reply to message #1742738] |
Wed, 07 September 2016 15:40  |
Eclipse User |
|
|
|
Ok that makes a lot of sense, thanks for the explanation. It means I still understand to some degree how this works.
By the way, I agree that the terminals are overly complicated, and overlapping. In fact, I know that HEX_NO_PREFIX and HEX_INT_PREFIX is actually shadowing ID in many places. I have a version of the grammar, where I removed all but comment, white-space and string terminals. Even though such parser rule based terminals allow context to be defined better and represent the specs more accurately but they break down terminals to be almost always as one character. This results in everything appearing in the editor as a keyword, and also double clicking any word always selects only one character, which is annoying.
|
|
|
Powered by
FUDForum. Page generated in 0.06891 seconds