Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 found 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061882]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-21 09:03 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (287 votes). Check out past polls.