Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 :)


Comment on Re^2: [Marpa::R2] Help with EBNF Grammar Formatting (clever amon)
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-09-22 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (177 votes), past polls