Escaping reserved characters

first post: RasmB wrote: Hi guys, I have written a grammar where I have defined the follow...

latest post: rivantsov wrote: you made up quite unusual rules. So you want literals to be of eith...

Priority for nonterminal

first post: dtx12 wrote: I have this rules: boolNot.Rule = ToTerm("!") + expr | ToTerm("!") ...

latest post: rivantsov wrote: as far as i can understand, the issue is operator precedence - you ...

Optional terms in InterpretedLanguageGrammar

first post: watkipet wrote: I'm deriving from InterpretedLanguageGrammar. It's my understanding...

latest post: rivantsov wrote: yep, looks right

Newbie context-free grammar question

first post: watkipet wrote: I suspect if I understood context-free grammar better, I could answ...

latest post: rivantsov wrote: Context-free grammar understanding is not enough - you have to know...

how to add to ExpressionEvaluatorGrammar IF (...) MULTIPLE_STATEMENT ELSE MULTIPLE_STATEMENT

first post: jorgediego wrote: Please I need a help, ExpressionEvaluatorGrammar works wonderfull...

latest post: rivantsov wrote: you have to build an AST node that directly manipulates the 'call s...

Problem with rule priority.

first post: Criperum wrote: I have a rule like that c = a | b. The prooblem is that "a" rule h...

latest post: Criperum wrote: Thank you. I'll try.

statement across 2 lines

first post: jianyunli wrote: Hi this language allows multiple statements on the same line or on...

latest post: rivantsov wrote: not sure about particular conflicts you have, but I think you shoul...

Help with indentation-based grammar

first post: Alxandr wrote: I'm trying to create a rather simple DSL that's indentation-based. ...

latest post: Alxandr wrote: Ah, I figured it out :) Changing `Exprs.Rule` to `MakeListRule(Expr...

2 strings

first post: jianyunli wrote: My language allows string to be enclosed in both double quote and s...

latest post: rivantsov wrote: just create two string literals, one for each case

"Optional" operator?

first post: robholx wrote: I'd like to create a simple...ish... language for tag searching. I'...

latest post: robholx wrote: Thanks, and yeah, had a look at it. I ran into trouble with the Imp...