Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.

Comment on Re: How would you parse this?
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-26 23:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (709 votes), past polls