This project has moved. For the latest updates, please go here.

AST wrong building

Nov 28, 2014 at 3:23 PM

I using Irony to translate input text string to sql query. All fine, but when I trying to parse string "some text:" syntax tree building is broken. For some reasons code adding in the end of tokens list two terminals of ImpliedAnd type. Seems like code interpreted colon token (":") as some logical symbol.

But I need that colon symbol interpreted like part of input string.

Another words - now "some text:" string splitting on 5 tokens:
"some" - term
"text" - Term

I need only three tokens:
"some" - term
"text:" - Term

How can I achieve this, is there some additional grammatic rules should be created or existing overwriting for correct tokens productions?
Nov 29, 2014 at 7:20 AM
Look at parser trace, and try to understand what makes parser produce these extra tokens