[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] tinyclos and the repl
From: |
Rene Sansman |
Subject: |
[Chicken-users] tinyclos and the repl |
Date: |
Wed, 23 Jul 2008 21:11:29 +0200 |
Hi,
Chicken has worked wonderfully for me so far, but now I have run into
a problem I don't know how to solve. I want to use tinyclos from the
repl, but it does not work. I can use it from compiled code or from
the interpreter, but not from a repl that I start from a compiled
scheme file.
Here is a demonstration:
address@hidden src]$ cat scratch.scm
(require-extension tinyclos)
(define-class <foo> (<object>) (id))
(printf "~a~n" <foo>)
(repl)
address@hidden src]$ csc scratch.scm
address@hidden src]$ ./scratch
#<class foo>
#;> (define-class <bar> (<object>) (id))
Error: unbound variable: <bar>
Call history:
<syntax> (define-class <bar> (<object>) (id))
<syntax> (<object>)
<syntax> (id)
<eval> (define-class <bar> (<object>) (id)) <--
#;>
- [Chicken-users] tinyclos and the repl,
Rene Sansman <=
- Re: [Chicken-users] tinyclos and the repl, Thomas Chust, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, F. Wittenberger, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, Elf, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, F. Wittenberger, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, Elf, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, Jim Ursetto, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, F. Wittenberger, 2008/07/24
- Re: [Chicken-users] tinyclos and the repl, Elf, 2008/07/24