[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Convert (most) core units to modules
From: |
Oleg Kolosov |
Subject: |
Re: [Chicken-hackers] [PATCH] Convert (most) core units to modules |
Date: |
Sun, 2 Aug 2015 17:05:59 +0300 |
> On Aug 1, 2015, at 19:08, Peter Bex <address@hidden> wrote:
>
> This has been merged into the chicken-5 branch. I've also updated
> the DISTFILES definition in order to clean up the generated import
> files as well, which is something I forgot to do in my compiler
> modularisation branch. I've added your new generated modules as
> well, of course.
>
I've bootstrapped it. Tests pass, but:
421 0 ~/src/chicken-scheme.upstream% CHICKEN_REPOSITORY=$PWD
DYLD_LIBRARY_PATH=$PWD ./csi
CHICKEN
(c) 2008-2015, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.0.0 (chicken-5) (rev a945073)
macosx-unix-clang-x86-64 [ 64bit manyargs dload ptables ]
compiled 2015-08-02 on ganymede.local (Darwin)
#;1> (use chicken.extras)
; loading /Users/bzt/src/chicken-scheme.upstream/chicken.extras.import.so ...
; loading
/Users/bzt/src/chicken-scheme.upstream/chicken.data-structures.import.so ...
; loading /Users/bzt/src/chicken-scheme.upstream/chicken.foreign.import.so ...
Error: (require) cannot load extension: chicken.extras
Call history:
<syntax> (use chicken.extras)
<syntax> (##core#require-extension (chicken.extras) #t)
<syntax> (##core#begin (##core#begin (##sys#require (quote
chicken.extras)) (import chicken.extras)) (##core#......
<syntax> (##core#begin (##sys#require (quote chicken.extras))
(import chicken.extras))
<syntax> (##sys#require (quote chicken.extras))
<syntax> (quote chicken.extras)
<syntax> (##core#quote chicken.extras)
<syntax> (import chicken.extras)
<syntax> (import scheme chicken chicken.data-structures)
<syntax> (import scheme chicken chicken.foreign)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<syntax> (##core#undefined)
<eval> (##sys#require (quote chicken.extras)) <--
#;1>
Plain (use extras) works fine. The same with other namespaced modules.
It this a bug or a feature?
—
Regards, Oleg
Art-System