Re: New article: Understanding Marpa-style action subs parameters

2015-11-19 Thread Cev Ing
Am Mittwoch, 18. November 2015 22:08:36 UTC+1 schrieb Ron Savage: > > > http://savage.net.au/Ron/html/Understanding.Marpa-style.action.subs.parameters.html > Nice article but the design is pure pain. ;-) 1.) Don't use blue text on blue background. 2.) Don't underline headlines. Just my two cents.

Re: No lexeme found

2015-11-19 Thread Jeffrey Kegler
@Ruslan: Thanks for the follow-up! On Thu, Nov 19, 2015 at 11:24 AM, Ruslan Shvedov wrote: > [a-zA-Z0-9_]+ is a quantified rule RHS and it just needs its own LHS as > you did above with identifier_extend, otherwise it is a SLIF DSL syntax > error. > > As the doc says:

Re: No lexeme found

2015-11-19 Thread Ruslan Shvedov
[a-zA-Z0-9_]+ is a quantified rule RHS and it just needs its own LHS as you did above with identifier_extend, otherwise it is a SLIF DSL syntax error. As the doc says: The right side declaration of a rule will often contain one or more RHS > alternatives. A RHS alternative is a series of RHS

Re: New article: Understanding Marpa-style action subs parameters

2015-11-19 Thread Ryan Gonzalez
I personally think the design isn't "painful", but I can definitely agree that the blue background in particular is a bit blinding. On November 19, 2015 3:28:36 PM CST, Ron Savage wrote: >Hi > >Thanx for the feedback. I've never had anyone criticise the colours >before

No lexeme found

2015-11-19 Thread ceving
I am new to Marpa and I hope I can ask some newbie questions here. I very often get the error "No lexeme found" and I would like to understand it. The following grammar part works fine: limited_identifier ~ [a-zA-Z_] identifier_extend identifier_extend ~ [a-zA-Z0-9_]+ But this one throws the