Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How would you parse this?

by sundialsvc4 (Abbot)
on Oct 25, 2013 at 19:56 UTC ( #1059746=note: print w/replies, xml ) Need Help??

in reply to How would you parse this?

Friend, I think you need to provide us with more information about just exactly what this file is.   And, what sort of “executable data structures” you need to get ... what exactly does that mean?

Do you have a BNF grammar for this language (subset)?   If you do, then it sure does appear that Marpa ought to be able to give you at-least an AST for it, and that you could go forward from there.   Any other approach, e.g. Parse::RecDescent, would involve a lot of wheel-reinventing, whereas I would expect that a known-good complete BNF grammar is at-hand.

Replies are listed 'Best First'.
Re^2: How would you parse this?
by BrowserUk (Pope) on Oct 25, 2013 at 20:04 UTC
    I think you need to provide us with ...

    I don't need to provide you with anything.

    It would be pointless to do so. You've never provided a solution to anything here.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059746]
[LanX]: hmm could be a myth since the root of throne is Greek
[LanX]: erix : the one armed who spent his last years in Dorn castle was a prince of Oranie ;)
[erix]: why does that tell against the Kaiser-story?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-12-15 16:28 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (439 votes). Check out past polls.