Re: [sqlite] Implementing "Save As..." functionality for Application File Format usecase

2013-04-04 Thread Gaspard Bucher
Gaspard Bucher founder, coder teti sàrl (http://teti.ch) On Wednesday, 3 April 2013 at 23:11, Tiago Rodrigues wrote: > Hello all, > > I'm writing a small simulation app and for it I would like to use SQLite3 > as an application file format, as suggested by the

Re: [sqlite] in memory to void *data (and back)

2012-11-13 Thread Gaspard Bucher
copying the buffer data. Gaspard Bucher founder, coder teti sàrl (http://teti.ch) On Tuesday, 13 November 2012 at 18:16, Jay A. Kreibich wrote: > On Tue, Nov 13, 2012 at 06:08:17PM +0100, Gaspard Bucher scratched on the > wall: > > Hi there ! > > >

[sqlite] in memory to void *data (and back)

2012-11-13 Thread Gaspard Bucher
oid*data 1. write to file 2. open from file 3. backup to memory 4. remove file Is there anything simpler that avoids the temp files ? Gaspard Bucher founder, coder teti sàrl (http://teti.ch) ___ sqlite-users mailing list sqlite-us

Re: [sqlite] Lemon not reducing

2007-11-06 Thread Gaspard Bucher
it is possible to make a good collaboration between ragel and lemon (ragel is then used as a tokenizer). 2007/10/25, Gaspard Bucher <[EMAIL PROTECTED]>: > > >>>> I do not understand why lemon waits for one more token when it has > > >>>> enough information to r

Re: [sqlite] Lemon not reducing

2007-10-25 Thread Gaspard Bucher
> I do not understand why lemon waits for one more token when it has > enough information to reduce ... > > >>> I don't think you can. Why do you want to? Why not just go > >>> ahead and send it the next token? > >>> > >> Most people find a way around this problem using

Re: [sqlite] Lemon not reducing

2007-10-24 Thread Gaspard Bucher
PS: There is another reason, aside from aesthetics and simpler grammar to filter white spaces inside the tokenizer: you avoid all the parser conflicts you could get with "empty | or space" rules. 2007/10/24, Gaspard Bucher <[EMAIL PROTECTED]>: > > Gaspard Bucher <[EMAIL P

Re: [sqlite] Lemon not reducing

2007-10-24 Thread Gaspard Bucher
> Gaspard Bucher <[EMAIL PROTECTED]> wrote: > > I do not understand why lemon waits for one more token when it has > > enough information to reduce. > > > > I want to recognize : > > foo = Bar() > > when the token CLOSE_PAR is received, not when an ex

[sqlite] Lemon not reducing

2007-10-24 Thread Gaspard Bucher
I do not understand why lemon waits for one more token when it has enough information to reduce. I want to recognize : foo = Bar() when the token CLOSE_PAR is received, not when an extra token is parsed. How can I avoid lemon waiting for the extra token before reducing ? Thanks for your help !