Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Marpa::XS for SQL INSERTs?

by Jeffrey Kegler (Friar)
on Jan 04, 2012 at 04:23 UTC ( #946191=note: print w/ replies, xml ) Need Help??


in reply to Marpa::XS for SQL INSERTs?

I took your example on as an exercise, doing it in the style I've learned from Wolfgang Kinkeldei. Note in particular how the lexing is done. I put my sample code up as a gist. You may find Wolfgang's original example instructive also, even though it is for CSS.

I've limited the syntax to little more than the minimum needed to get the example working, but I think it's clear how it would be extended. Symbols names and are from the SQL-2003 standard, and the BNF, while just a very small subset, follows that standard pretty closely.


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://946191]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2014-07-31 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls