[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Inheriting from C++ in Chicken
From: |
Joel Reymont |
Subject: |
[Chicken-users] Inheriting from C++ in Chicken |
Date: |
Mon, 20 Dec 2004 09:33:20 +0000 |
Folks,
I successfully wrapped the guichan (http://guichan.darkbits.org) library
in Chicken using SWIG wrappers. I also wrapped the SDL while I was at it.
Guichan has a base Widget class. I'd prefer to extend this class in
Scheme rather than in C++. What's the easiest way to achieve this?
It seems to me that the simplest way to accomplish this is by generating
custom C++ code , i.e. making a pass on the TinyCLOS code to generate the
wrapper C++ class.
Am I right here? Are there any examples of Scheme code parsing Scheme
code? Is the Chicken compiler code easy to adopt here or should I just do
this in a totally different manner?
Thanks, Joel
--
OpenPoker: The Linux of poker software
http://wagerlabs.com/forums
Tenerife: Canary Islands: Spain
- [Chicken-users] Inheriting from C++ in Chicken,
Joel Reymont <=