[sqlite] CREATE TABLE parser

2016-03-02 Thread Noel Frankinet
Hello, Great work, but why not generate it with bison/flex ? sql grammar is available ? Just a question ? No?l On 2 March 2016 at 14:47, Marco Bambini wrote: > > > On 02 Mar 2016, at 13:32, Luca Ferrari wrote: > > > > On Wed, Mar 2, 2016 at 1:10 PM, Marco Bambini wrote: > >> I developed

[sqlite] CREATE TABLE parser

2016-03-02 Thread Marco Bambini
> On 02 Mar 2016, at 13:32, Luca Ferrari wrote: > > On Wed, Mar 2, 2016 at 1:10 PM, Marco Bambini wrote: >> I developed the parser myself. > > Great job but...what is the aim? > Why one should use this instead of, let's say, Perl SQL::Parser >

[sqlite] CREATE TABLE parser

2016-03-02 Thread Luca Ferrari
On Wed, Mar 2, 2016 at 1:10 PM, Marco Bambini wrote: > I developed the parser myself. Great job but...what is the aim? Why one should use this instead of, let's say, Perl SQL::Parser ? Luca

[sqlite] CREATE TABLE parser

2016-03-02 Thread Marco Bambini
I developed the parser myself. Here you go a link to the GitHub page: https://github.com/marcobambini/sqlite-createtable-parser -- Marco Bambini http://www.sqlabs.com http://twitter.com/sqlabs http://instagram.com/sqlabs > On 02 Mar 2016, at 11:50, Clemens Ladisch wrote: > > Marco Bambini

[sqlite] CREATE TABLE parser

2016-03-02 Thread Clemens Ladisch
Marco Bambini wrote: > I developed a CREATE TABLE parser in C Did you duplicate the SQLite SQL parser? Or is your parser supposed to have differences? > I would like to stress test it before releasing it as open source on GitHub. Without the source, finding errors would not be as easy.

[sqlite] CREATE TABLE parser

2016-03-02 Thread R Smith
On 2016/03/02 9:51 AM, Marco Bambini wrote: > Hi all, > I developed a CREATE TABLE parser in C that is able to extract every details > about an sqlite table (table and columns constraints, foreign keys, flags and > so on). > So far it seems to work pretty well but I would like to stress test

[sqlite] CREATE TABLE parser

2016-03-02 Thread Marco Bambini
Hi all, I developed a CREATE TABLE parser in C that is able to extract every details about an sqlite table (table and columns constraints, foreign keys, flags and so on). So far it seems to work pretty well but I would like to stress test it before releasing it as open source on GitHub. Anyone