My understanding is that he is advocating a compiler which would take his definition of an Sqlite operation and generate correct Sqlite3 API calls.

An existing wrapper could well satisfy his requirement.

Joe Wilson wrote:
I not sure what you mean by preprocessor, but if you mean a
"stored procedure language", sqlite does not support an official one
within the database itself.

There are, however, dozens of bindings to computer languages
in addition to the Tcl wrapper that ships with sqlite:

http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers
http://www.sqlite.org/tclsqlite.html

--- Ken <[EMAIL PROTECTED]> wrote:

Does a preprocessor exist for sqlite and if so where ?

If not that might be a really nice project to be able to support syntax as follows:

SQLITE_EXEC at :loginhndl login "dbname.db"; SQLITE_EXEC at :loginhndl declar cursor c1;
SQLITE_EXEC at :loginhndl prepare cursor c1 using sqlStr;
SQLITE_EXEC at :loginhndl bind x .... (not sure about this one)....
SQLITE_EXEC at :loginhndl fetch c1  into :hostvars ;
SQLITE_EXEC at :loginhndl close cursor c1;
SQLITE_EXEC at :loginhndl close database

..... The list would go on and on, but you get the idea.

Ken




____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to