[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #32: get tinyclos egg for chicken 4 to work
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #32: get tinyclos egg for chicken 4 to work |
Date: |
Fri, 30 Oct 2009 21:49:10 -0000 |
#32: get tinyclos egg for chicken 4 to work
------------------------+---------------------------------------------------
Reporter: felix | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: extensions | Version: 4.0.5
Keywords: tinyclos |
------------------------+---------------------------------------------------
Comment(by felix):
Replying to [comment:1 tonysidaway]:
> Is anybody else looking at this? I don't yet understand the innards of
this very complex code.
>
I haven't looked for a while. Yes, the code is a horrible mess, I don't
understand it myself anymore. I actually would throw it away, and replace
it with a generic-function library written from scratch, but many people
have used tinyclos and having it at least working would be good.
> tinyclos-examples.scm flops over because, I think, the initialize
generic is getting a bogus call-next-method chain.
>
> Changing "(##core-global-ref ,name)" to ",name" in define-method seems
to help. Then all you have to do to stop define-method complaining during
ensure-generic is to insert "(define-generic X)" before every reference to
define-method.
>
> Then it goes into a black hole and you have to kill the process...
>
> I don't understand how module namespaces work in Chicken so I'm
completely mystified by the whole thing. Is there documentation that
might help?
No, not really - only the comments in the code. The thing *did* work, and
I have absolutely no idea why it doesn't now.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/32#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.