Hello,
thank you for your replies. I try to make a parser for the solver language in WinCachebox where it is possible to do string concatenations the way I described. Ther you can do something like "X"(3+3)(1)(2*4)" Y"(4/2) which ends after calculation in "X618 Y2" and "X"2*50"Y" too which ends in "X100Y".
At the moment I solved my problem by forcing the user to write parenthesis around the expressions and using the parser to parse only one liners.
I am at vacation at the moment so I have no access to my current version of the grammar. But as soon as I am back I will post the next version.
Thank you,
Udo.
On Sunday, 21 July 2013 01:21:17 UTC+2, Devin Cook wrote:
So, the multiplication is implied? Is this a language you are creating or one what is currently in active use?
Udo Woitek wrote:
Any advice for a newbie?
No advice because finding grammars is undecidable.
But a hint: languages usually declare operators even for multiplication, i.e. "a*b" instead of "a b" must be written.
-manfred
--
You received this message because you are subscribed to the Google Groups "GOLD Parsing System" group.