mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 00:37:35 +02:00
New file
This commit is contained in:
parent
291db67338
commit
6b2891cc01
1 changed files with 17 additions and 0 deletions
17
scheme/cyclone/macros.sld
Normal file
17
scheme/cyclone/macros.sld
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
(define-library (scheme cyclone macros)
|
||||||
|
(import (scheme base)
|
||||||
|
(scheme cyclone util))
|
||||||
|
; TODO: really need export-all for these cyclone libs!!
|
||||||
|
(export
|
||||||
|
define-syntax?
|
||||||
|
)
|
||||||
|
(begin
|
||||||
|
;; Macro section
|
||||||
|
;; TODO: place this in another module? could speed development
|
||||||
|
(define (define-syntax? exp)
|
||||||
|
(tagged-list 'define-syntax exp))
|
||||||
|
|
||||||
|
; TODO: get macro name, transformer
|
||||||
|
; TODO: base off of syntactic closures instead of ER macros??
|
||||||
|
; TODO: let-syntax forms
|
||||||
|
))
|
Loading…
Add table
Reference in a new issue