Summary
allow exporting compiler syntax
Metadata
- Id: 0d9502db1713e2744c59587138e050b717c87fa4
- Trac id: 760
- Type: enhancement
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty: hard
- Resolution: wontfix
- Priority: not urgent at all
- Milestone:
- Version: 4.7.x
- Changetime: 2023-03-10 11:32:02 UTC
- Created: 2011-12-20 13:14:39 UTC
- Keywords: compiler syntax
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.