Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2015-10-06 07:38 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (139 votes), past polls