Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: [Marpa::R2] Help with EBNF Grammar Formatting (clever amon)

by Anonymous Monk
on Nov 10, 2013 at 01:56 UTC ( #1061882=note: print w/replies, xml ) Need Help??


in reply to Re: [Marpa::R2] Help with EBNF Grammar Formatting (SLIF is more BNF than EBNF)
in thread [Marpa::R2] Help with EBNF Grammar Formatting

Being the clever fellow that I am I went to http://stackoverflow.com/questions/tagged/marpa found http://stackoverflow.com/questions/18689628/forcing-gaps-between-words-in-a-marpa-grammar added

:default ::= action => ::array

dd( $val );

and got

\["User_Alias", ["FOO", "=", [["abc"], ",", [["def"]]]]]

I missed this when reading the docs because I am so overwhelmed :)

Replies are listed 'Best First'.
Re^3: [Marpa::R2] Help with EBNF Grammar Formatting (clever amon)
by three18ti (Scribe) on Nov 10, 2013 at 02:26 UTC

    Awesome! Thanks for the links. Looks like I have a bit more reading to do :)

    I certainly know about feeling overwhelmed with Marpa.

    I swear I read somewhere that Marpa supported EBNF but looking at the docs, maybe that isn't true...

    I've got a bit more digesting to do, but I'll post back my results.

      EBNF is an actual spec, I saysedit EEBNF cause its not BNF but its not EBNF ; I guess its E+BNF-ish? :)
        It's like my brain is that tree and you're those little cookie elves.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061882]
help
Chatterbox?
[tobyink]: 1nickt: your code?
[LanX]: pryrt: yeah, that's why I didn't consider, but the last >10 anonymous posts are from the same troll-person
[jdporter]: is there a module for expanding tabs in text?
[jdporter]: A: yes.
[Lady_Aleena]: I don't know how hard it will be to get out of that mess.
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)
[Your Mother]: "They" is becoming accepted but it irritates me sometimes. I tend to just pick she or he randomly or try to use "one."

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2017-05-24 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?