"::lhs" blessing only allowed if LHS is whitespace and alphanumerics

2015-11-26 Thread Cev Ing
I got the following error: "::lhs" blessing only allowed if LHS is whitespace and alphanumerics LHS was Does this mean, that the use of underscores in G1 rule names is discouraged? -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To

Re: "::lhs" blessing only allowed if LHS is whitespace and alphanumerics

2015-11-26 Thread Cev Ing
Am Donnerstag, 26. November 2015 11:13:50 UTC+1 schrieb rns: > > > > On Thu, Nov 26, 2015 at 12:00 PM, Cev Ing <cev...@gmail.com > > wrote: > >> I got the following error: >> >> "::lhs" blessing only allowed if LHS is whitespace and alphanumeri

Re: "::lhs" blessing only allowed if LHS is whitespace and alphanumerics

2015-11-26 Thread Cev Ing
Am Donnerstag, 26. November 2015 11:41:37 UTC+1 schrieb rns: > > Don't know exactly. One thing that comes to mind is that _ is then used to > replace spaces in LHS, if any. > As a possible workaround, angle brackets allow using a whitespace in > symbol names, e.g. instead of create_table. >

Global symbol "$EVAL_ERROR" requires explicit package name

2015-11-26 Thread Cev Ing
When I try the example from the synopsis of Scanless::R, I get the error Global symbol "$EVAL_ERROR" requires explicit package name https://metacpan.org/pod/distribution/Marpa-R2/pod/Scanless/R.pod#Synopsis Is it necessary to import the variable from a Marpa package? -- You received this

Re: Global symbol "$EVAL_ERROR" requires explicit package name

2015-11-26 Thread Cev Ing
Am Donnerstag, 26. November 2015 17:12:10 UTC+1 schrieb rns: > > > Nope, you an add use English; -- it's a long name for eval's return value. > Ah thanks I got it. Never used the English packages. > If you need a full runnable example, the code from >

Re: No lexeme found

2015-11-20 Thread Cev Ing
Am Freitag, 20. November 2015 10:10:20 UTC+1 schrieb rns: > > This doc section -- > > https://metacpan.org/pod/distribution/Marpa-R2/pod/Scanless/DSL.pod#L0-G1-and-lexemes > > -- has a good writeup. > > Sorry I should have read this more carefully. But when the difference between a L0 rule and

Emacs marpa-mode

2015-11-20 Thread Cev Ing
I started hacking on a marpa-mode for Emacs. I am both Marpa grammar newbie and Emacs mode newbie. So don't expect too much. Here you can find it: https://github.com/ceving/marpa-mode And this is how it looks like: https://ceving.github.io/marpa-mode/example.marpa.html -- You received this

Re: No lexeme found

2015-11-20 Thread Cev Ing
Am Freitag, 20. November 2015 09:36:26 UTC+1 schrieb rns: > > Here is an explanation by the author (Jeffrey) -- > http://irclog.perlgeek.de/marpa/2015-05-19#i_10626590 -- fell free hang > on IRC to get more info. > > Thanks. I am not used to IRC. The last time I used it was somewhere in the

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.