articles filed under mysql
Making 64-bit MySQL work with newLISP
posted on 07/24/08 at 12:49 p.m. |
|
For the past few days have been spent trying to get the newLISP MySQL module to work with the 64-bit version of the libmysqlclient library. Here is what I did to get things working properly.
SQL library for newLISP
posted on 07/14/08 at 4:24 p.m. |
|
The newLISP SQL library is a set of classes and functions to ease generation of SQL code in newLISP. The module is not yet feature-complete but is in a usable state.
Updating the newLISP MySQL5 module
posted on 08/01/07 at 3:55 p.m. |
|
Due to how busy things have been, I've nixed the newLisp C tutorial for the time being, and instead, have done some work on the newLisp MySQL5 module to update pieces that are broken and extend it with some nice, albeit basic, features.
Wrapping a C library in lisp (part 2)
posted on 07/03/07 at 7:53 p.m. |
|
Once the library has been defined and loaded into the Lisp image, work can begin on defining C routines in Lisp.
Before that can be done, however, a note for those who do not know C...
Wrapping a C library in lisp (part 1)
posted on 07/02/07 at 2:06 p.m. |
|
One of the more significant difficulties I face when developing Lisp applications is the apparent lack of generally compatable database libraries for the various lisp dialects. CLSQL is a nice solution, but it does not get along well on OSX, my development OS, or with CLISP, which is the primary lisp dialect I have available on my host...
Using CFFI, we can fairly easily create mappings for the most important MySQL C api functions. This entry will walk through the process of importing the library; future entries will go one to defining a few of the most basic routines for our lisp image.