Diluculum
Making Lua and C++ live happily together
Diluculum is a library that intends to make the coexistence
of C++ and Lua more
harmonious. In this regard, it offers essentially three
"services":
- A nice way to access data stored in a Lua interpreter.
- A not so bad way to write functions in C++ and make them
available to Lua.
- A limited and just barely usable way to register C++
classes and objects in a Lua state.
Assorted facts about Diluculum
Diluculum...
- is fully
documented. In particular, check the User's
Guide for some examples of use. (There is also a
Russian
version of the User's Guide, provided by Dmitriy
Shmikov).
- has unit tests for everything in it.
- requires Lua 5.1. It will not compile with Lua 5.0.
- was tested only under Linux with GCC 3.4.x, but should
be reasonably portable. (It was reported to work under
Windows with MinGW.)
- depends on Lua and Boost.
- has a build system based on SCons, but has some
alternative build systems as bonus (including a Makefile
for Linux/GCC).
- is distributed under the MIT license (the same as Lua).
- means something like "dawn" or "daybreak" in Latin,
according to a dictionary I consulted some day.
Latest version
Latest version is 0.4, released on 02007-02-06. It can be
downloaded here: Diluculum-0.4.tar.gz.
Changes from the previous version:
- When exporting C++ classes to Lua, it is no longer necessary
to call two macros for each exported method.
- Added support for creating dynamically loadable modules
(those Lua modules stored in a dynamic library, which is
loaded when the Lua programmer says
require
"MyModule").
Old versions
- Diluculum 0.3.1 (Diluculum-0.3.1.tar.gz,
02006-07-26).
- Fixed a small (not so small, depending on how you see
it...) error in the definition of the
DILUCULUM_REGISTER_OBJECT() macro.
- Added a Makefile for Linux/GCC.
- Added a Code
Blocks project file, contributed by Hakki Dogusan.
- Diluculum 0.3 (Diluculum-0.3.tar.gz,
02006-07-03).
- The first public release.
Contact
Diluculum is developed by Leandro Motta Barros. The preferred
channel to talk about Diluculum is its mailing
list. Anyway, if you really, really want to contact the
author directly, send your inquiries to
lmb@sta
c
k es.or
edbox g