mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP
This commit is contained in:
parent
d112632300
commit
9b548b94c3
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@
|
|||
; can write initial analyze, but can't get too far without being able
|
||||
; to uniquely ID each lambda
|
||||
|
||||
;(define-library (cps-optimizations)
|
||||
(define-library (scheme cyclone cps-optimizations)
|
||||
(define-library (cps-optimizations)
|
||||
;(define-library (scheme cyclone cps-optimizations)
|
||||
(import (scheme base)
|
||||
(scheme cyclone util)
|
||||
(scheme cyclone ast)
|
||||
|
@ -438,7 +438,7 @@
|
|||
((quote? exp) exp)
|
||||
((define? exp)
|
||||
`(define ,(define->var exp)
|
||||
,(contract-prims (define->exp exp) refs)))
|
||||
,@(contract-prims (define->exp exp) refs))) ;; TODO: map????
|
||||
((set!? exp)
|
||||
`(set! ,(set!->var exp)
|
||||
,(contract-prims (set!->exp exp) refs)))
|
||||
|
|
Loading…
Add table
Reference in a new issue