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

Re: How would you parse this?

by sundialsvc4 (Monsignor)
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?
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-07-26 20:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (179 votes), past polls