Opened 6 years ago

Last modified 15 months ago

#760 new enhancement

allow exporting compiler syntax

Reported by: felix Owned by: felix
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 (1)

comment:1 Changed 15 months ago by sjamaan

  • Estimated difficulty set to hard
Note: See TracTickets for help on using tickets.