http://www.perlmonks.org?node_id=1061882


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 (Monk) 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.