Opened 12 years ago

Closed 12 months ago

#760 closed enhancement (wontfix)

allow exporting compiler syntax

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: not urgent at all Milestone:
Component: compiler Version: 4.7.x
Keywords: compiler syntax Cc:
Estimated difficulty: hard

Description

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.

Change History (2)

comment:1 Changed 8 years ago by sjamaan

Estimated difficulty: hard

comment:2 Changed 12 months ago by felix winkelmann

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.