On 18 Jan 2016, at 2:20pm, Domingo Alvarez Duarte <sqlite-mail at dev.dadbiz.es> wrote:
> Can we have something that do not remove your freedom and can provide a way > to reuse the parser power ? In the amalgamation source code you will find /* ** The interface to the LEMON-generated parser */ SQLITE_PRIVATE void *sqlite3ParserAlloc(void*(*)(u64)); SQLITE_PRIVATE void sqlite3ParserFree(void*, void(*)(void*)); SQLITE_PRIVATE void sqlite3Parser(void*, int, Token, Parse*); #ifdef YYTRACKMAXSTACKDEPTH SQLITE_PRIVATE int sqlite3ParserStackPeak(void*); #endif If you remove the PRIVATE from these declarations, you can call the functions yourself and have access to the same parser that SQLite uses. Simon.