Generating a JavaScript SQL parser for SQLite3 (with Lemon? ANTLR3?)
问题 For the last couple of weeks i've been diving into the pretty world of parsing SQL statements into something managable, only to find out that i'll probably need a full lexer/parser to properly handle all the allowed tokens/formats to do the same thing. I'm mostly interested in the create table statements, but a full generic parser would be even nicer, since nobody on the web seems to have this yet. I'm no computer graduate, but a self-taught man, so this is quite the learning curve for me.