Re: [sqlite] Building an SQL AST

2012-07-12 Thread Aaron Patterson
On Thu, Jul 12, 2012 at 11:26:16PM +0200, Vivien Malerba wrote: > Le 12 juil. 2012 21:40, "Aaron Patterson" a > écrit : > > > > Hi, > > > > I would like to build an AST of a SQL statement using SQLite3. I've > > been reading through sqlite3RunParser as well as the grammar. It > > *looks* like th

Re: [sqlite] Building an SQL AST

2012-07-12 Thread Vivien Malerba
Le 12 juil. 2012 21:40, "Aaron Patterson" a écrit : > > Hi, > > I would like to build an AST of a SQL statement using SQLite3. I've > been reading through sqlite3RunParser as well as the grammar. It > *looks* like the grammar is building some sort of structure before the > statement is compiled

[sqlite] Building an SQL AST

2012-07-12 Thread Aaron Patterson
Hi, I would like to build an AST of a SQL statement using SQLite3. I've been reading through sqlite3RunParser as well as the grammar. It *looks* like the grammar is building some sort of structure before the statement is compiled to byte code, but I'm getting lost. Is it possible to get an AST