chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #760: allow exporting compiler syntax


From: Chicken Trac
Subject: [Chicken-janitors] #760: allow exporting compiler syntax
Date: Tue, 20 Dec 2011 12:14:40 -0000

#760: allow exporting compiler syntax
-------------------------------+--------------------------------------------
 Reporter:  felix              |       Owner:  felix
     Type:  enhancement        |      Status:  new  
 Priority:  not urgent at all  |   Milestone:       
Component:  compiler           |     Version:  4.7.x
 Keywords:  compiler syntax    |  
-------------------------------+--------------------------------------------
 Needs to register the compiler macro when loading an import lib, e.g:

 {{{
 (##sys#put!
  'foo#bar
  '##compiler#compiler-syntax
  (##sys#cons
   (##sys#ensure-transformer <body>
     (##sys#current-environment)))
 }}}

 As can be seen here, the property must be set for the decorated name.
 Possibly we can get rid of `##core#define-compiler-syntax` entirely.
 Indirect exports seem to work with this.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/760>
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]