Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Marpa::XS for SQL INSERTs?

by nikosv (Hermit)
on Jan 06, 2012 at 15:33 UTC ( #946615=note: print w/ replies, xml ) Need Help??


in reply to Marpa::XS for SQL INSERTs?

You could try using ANTLR which is generally recommended for parsing SQL mainly because of SQL's peculiar syntax rules

There are example sql grammars online

Then have a look at Using ANTLR and PerlXS to Generate a Parser on how to integrate the resulting parser into Perl

But,I don't know if it is worth the trouble for just parsing an INSERT


Comment on Re: Marpa::XS for SQL INSERTs?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-07 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls