-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Aug 21, 2006, at 8:00 PM, John Cowan wrote:
Kon Lovett scripsit:
The actual form of the '#>' read syntax is "#>[SPEC ...]", where SPEC
can be !, ?, :, (, or NULL. Ex: "#>!" is the short form of 'foreign-
parse'.
Well, I'm definitely seeing an explicit "!" in the numbers-base.c
file, so something is very wrong. Here's the first N lines:
/* Generated from numbers-base.scm by the Chicken compiler
2006-08-21 22:58
Version 2, Build 425 - windows-cygwin-x86 - [ dload ptables
applyhook ]
command line: numbers-base.scm -output-file numbers-base.c -
dynamic -featu
re chicken-compile-shared -quiet -feature compiling-extension -
optimize-level
2 -debug-level 1
used units: library eval extras regex
default heap size: 0
default nursery (stack) size: 131072
*/
#include "chicken.h"
!
#include "numbers-c.h"
See that "!"? That blows up. And then I get a raft of syntax errors
from gmp.h, numbers-c.c, and numbers-base.c itself. The exact same
egg builds fine on Chicken 2.41.
Yes, I see it. I do not recall doubting your perception.
When the "Easy FFI" was removed to an egg the read syntax for '#>
[SPEC ...]' was removed along with it. The built-in only recognizes
"#>...<#', which it translates as "(declare (foreign-declare ...))"
So anything following the '#>', like a '!', will be literally included.
The transformation is incomplete. All the eggs w/ dependencies on
EasyFFI need to be modified.
--
John Cowan [EMAIL PROTECTED] http://ccil.org/~cowan
I am he that buries his friends alive and drowns them and draws them
alive again from the water. I came from the end of a bag, but no bag
went over me. I am the friend of bears and the guest of eagles. I am
Ringwinner and Luckwearer; and I am Barrel-rider. --Bilbo to Smaug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iEUEARECAAYFAkTrq+gACgkQJJNoeGe+5O6CpACfUdMhbkiXnO5R24y3EsWNO57J
EzUAl1Vc4c87ysJdVsxpkmaJXSMweS4=
=j+gc
-----END PGP SIGNATURE-----
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users