chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #700: requiring uncompiled extensions that use `u


From: Chicken Trac
Subject: Re: [Chicken-janitors] #700: requiring uncompiled extensions that use `use' fails
Date: Thu, 12 Jul 2012 19:46:10 -0000

#700: requiring uncompiled extensions that use `use' fails
-----------------------+----------------------------------------------------
  Reporter:  syn       |       Owner:  sjamaan
      Type:  defect    |      Status:  closed 
  Priority:  minor     |   Milestone:  4.8.0  
 Component:  compiler  |     Version:  4.7.x  
Resolution:  invalid   |    Keywords:         
-----------------------+----------------------------------------------------
Changes (by sjamaan):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 It's rather simple, really: test.scm is compiled, and this means all
 macros are eliminated.  chicken-syntax is available to all programs by
 default, but not after compilation.

 To get it back for use in LOADed code, you must {{{(use chicken-syntax)}}}
 in test.scm; the rest is just noise.  The fact that {{{require-
 extension}}} works in foo.scm is because it isn't syntax; that's provided
 by library.scm (containing mostly standard Scheme bindings, including a
 few Chicken-specific ones -- like {{{require-extension}}})

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/700#comment:10>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]