Thanks for your files. Haven't looked to closely at it yet, but I think I understand what the problems are. I'll try to find proper solutions in a couple of days, havent got time right now. Thanks again.
On Mon, 5 Jan 2004, Thomas Grill wrote:
Hi Kjetil, my congratulations - that was fast!!
I have hard times to get your k_cext (version 0.3.0) running on Windows (using MSVC), just because it uses some gcc language extensions (like #defines with varargs, the bool type and variables defined not at the function beginning, static variable[] without a size) that. I send you the patched source files that should compile under both platforms.
There are still (at least) two further problems which prevent the external from running flawlessly:
- the INT and FLOAT parameter lists need to be parsed to get the number of
parameters for F_INT and F_FLOAT (generatecode.c, lines 20-50)
- the static definitions for k_cext_int_funcs, k_cext_int_x etc. should be
defined in the ad-hoc source prior to the other code (the declarations in k_cext.h don't work!)
There's also a makefile because this one will need less editing since it simply uses the msvc compiler prompt. I guess there should also be two include paths for the ad-hoc compilation... one for the PD headers and one for k_cext.h... two keep the pd/src folder clean.
best greetings, Thomas
----- Original Message ----- From: "Kjetil Svalastog Matheussen" k.s.matheussen@notam02.no To: pd-announce@iem.kug.ac.at Sent: Monday, January 05, 2004 12:15 PM Subject: [PD-announce] k_guile v0.0.1
k_guile is a guile PD external.
Download from http://www.notam02.no/arkiv/src/pd/
k_guile PD external
V0.0.1
-This external makes you able to use guile as an extension language for PD. Guile is a scheme interpreter. The API is inspired by the python pyext external made by Thomas Grill, and a small part of the code is made by looking at the flext source.
-To be able to use it, you should first know the lisp programming
language,
then check out the help-k_guile.pd example patch and read the small example-scripts that the patch loads.
--
PD-announce mailing list PD-announce@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-announce