Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2018-05-23 13:59 GMT
Find Nodes?
    Voting Booth?