Gambit-C 4.0 beta 10
A new beta of Gambit-C 4.0 is now available in source form at this address: http://www.iro.umontreal.ca/~feeley/gambc4b10.tar.gz Here are the main changes: - all homogeneous vector primitives (u32vector, etc) should now work properly - fixed a few "configure" problems on Mac OS X and Solaris - should build without problems on 64 bit machines (I have only checked on a SUN Ultra-sparc, so if you have access to a 64 bit machine, please report on your success) - interpreter handles procedure calls of up to 4 arguments faster than the general case (5 and more) - implementation of (vector 1 2 3 4) has been improved - I now include the portable "syntax-case" implementation that has been ported to version 4.0 of the Gambit-C interpreter (it is in misc/syntax-case.scm). To use it start gsi like this: gsi misc/syntax-case.scm - You can also rename the file to gambcext.scm and move it to the Gambit installation directory (and even compile it with "gsc -dynamic gambcext.scm" if you wish to speedup macro expansion). Unfortunately, if you use this package all source-code location is lost and debugging will be more difficult. Marc
Afficher les réponses par date
On Wed 20 Oct 2004 15:14, Marc Feeley <feeley@IRO.UMontreal.CA> writes:
- I now include the portable "syntax-case" implementation that has been ported to version 4.0 of the Gambit-C interpreter (it is in misc/syntax-case.scm). To use it start gsi like this:
gsi misc/syntax-case.scm -
You can also rename the file to gambcext.scm and move it to the Gambit installation directory (and even compile it with "gsc -dynamic gambcext.scm" if you wish to speedup macro expansion).
Is there also a syntax-case implementation for the Gambit-C compiler somewhere? -Eric -- "Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)
On Wed 20 Oct 2004 15:14, Marc Feeley <feeley@IRO.UMontreal.CA> writes:
- I now include the portable "syntax-case" implementation that has been ported to version 4.0 of the Gambit-C interpreter (it is in misc/syntax-case.scm). To use it start gsi like this:
gsi misc/syntax-case.scm -
You can also rename the file to gambcext.scm and move it to the Gambit installation directory (and even compile it with "gsc -dynamic gambcext.scm" if you wish to speedup macro expansion).
Is there also a syntax-case implementation for the Gambit-C compiler somewhere?
You can add this line to misc/syntax-case.scm: (define c#wrap-program (lambda (src) (c#expression->source (expand-syntax (##desourcify src)) src))) If you want to be able to use this with gsc's batch mode, then you should rename syntax-case.scm to gambcext.scm and put that file in the Gambit installation directory. But be aware that source code location tracking will not work. This is why syntax-case.scm is not built into the system by default (if someone can make a clean port of syntax-case to Gambit I'll gladly make it a built-in feature!). Marc
participants (2)
-
Eric Knauel -
Marc Feeley