[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] (load ...)
From: |
Peter Keller |
Subject: |
Re: [Chicken-hackers] (load ...) |
Date: |
Thu, 7 Jun 2007 16:11:24 -0500 |
User-agent: |
Mutt/1.4.2.1i |
On Thu, Jun 07, 2007 at 04:01:13PM -0400, Graham Fawcett wrote:
> Example:
>
> ;;; a.scm
> (define (hello) (print "hello from A!"))
>
> ;;; b.scm
> (use a)
> (hello)
>
> Now, run "csi -b b.scm" and you'll see:
> ; ...
> ; loading b.scm ...
> ; loading ./a.scm ...
> hello from A!
[snip]
> Does this help?
So in this example, a.scm is analyzed and compiled by the compiler and
not interpreted?
Can you do things like (define feh use)? Or is (use ...) like #include
for C?
Thank you.
-pete
- [Chicken-hackers] (load ...), Peter Keller, 2007/06/07
- Re: [Chicken-hackers] (load ...), Alejandro Forero Cuervo, 2007/06/07
- Re: [Chicken-hackers] (load ...), Peter Keller, 2007/06/07
- Re: [Chicken-hackers] (load ...), Alejandro Forero Cuervo, 2007/06/07
- Re: [Chicken-hackers] (load ...), Peter Keller, 2007/06/07
- Re: [Chicken-hackers] (load ...), Graham Fawcett, 2007/06/07
- Re: [Chicken-hackers] (load ...), Graham Fawcett, 2007/06/07
- Re: [Chicken-hackers] (load ...),
Peter Keller <=
- Re: [Chicken-hackers] (load ...), Graham Fawcett, 2007/06/07
- Re: [Chicken-hackers] (load ...), Peter Keller, 2007/06/08
- Re: [Chicken-hackers] (load ...), John Cowan, 2007/06/08
- Re: [Chicken-hackers] (load ...), John Cowan, 2007/06/07
Re: [Chicken-hackers] (load ...), Alejandro Forero Cuervo, 2007/06/07