The logic goes like this. Note the = instead of ::=. This
signals that the statement is not a rule, and is non-lexical -- it's
location in the file does not matter. Since it's not a rule, it does
not take the form LHS ::= RHS2 ...
The initial colon was for pseudo-symbols. Since the lexeme
Thanks for explaining.
The thing was I thought if SLIF DSL could benefit from less diverse/more
strict — (pseudo-)rule/adverbs only — syntax and model, where
lexeme default statement becomes :lexeme default ::= pseudo rule
inaccessible statement becomes an adverb of
:default and/or :lexeme
Here is a gist showing how to inspect Marpa
grammarhttps://gist.github.com/9217513.gittogether with the new
rule_name() and start_symbol_id() methods.
Great release candidate -;
Le lundi 24 février 2014 18:55:10 UTC+1, Jeffrey Kegler a écrit :
I've just uploaded Marpa-R2
Here is a gist showing how to inspect Marpa
grammarhttps://gist.github.com/jddurand/9217513 together
with the new rule_name() and start_symbol_id() methods.
Great release candidate -;
Le lundi 24 février 2014 18:55:10 UTC+1, Jeffrey Kegler a écrit :
I've just uploaded Marpa-R2
Thanx!
Also, I added a comment because I get the output in a different order.
--
You received this message because you are subscribed to the Google Groups
marpa parser group.
To unsubscribe from this group and stop receiving emails from it, send an email
to