Opened 11 years ago
Last modified 6 years ago
#760 new enhancement
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.
Note: See
TracTickets for help on using
tickets.