variable renaming
This commit is contained in:
parent
e9ba3cee85
commit
2a9fe0d72a
|
@ -34,9 +34,9 @@
|
|||
(define-struct: EnvWholePrefixReference ([depth : Natural])
|
||||
#:transparent)
|
||||
|
||||
|
||||
(define-type LexicalReference (U EnvLexicalReference
|
||||
EnvWholePrefixReference))
|
||||
;; An environment reference
|
||||
(define-type EnvReference (U EnvLexicalReference
|
||||
EnvWholePrefixReference))
|
||||
|
||||
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
|||
;; Constructs a closure, given the label and the set of lexical references
|
||||
;; into the environment that the closure needs to close over.
|
||||
(define-struct: MakeCompiledProcedure ([label : Symbol]
|
||||
[closed-vals : (Listof LexicalReference)])
|
||||
[closed-vals : (Listof EnvReference)])
|
||||
#:transparent)
|
||||
|
||||
;; Applies the primitive procedure that's stored in the proc register, using
|
||||
|
|
|
@ -97,7 +97,6 @@
|
|||
(loop (rest addresses))]))]))))
|
||||
|
||||
|
||||
(define-type EnvReference (U EnvLexicalReference EnvWholePrefixReference))
|
||||
|
||||
(: lexical-references->compile-time-environment ((Listof EnvReference) CompileTimeEnvironment CompileTimeEnvironment
|
||||
-> CompileTimeEnvironment))
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
#:transparent)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(define-type CompileTimeEnvironmentEntry (U False ;; placeholder for temporary space
|
||||
Symbol ;; lexically bound local identiifer
|
||||
Prefix ;; a prefix
|
||||
|
|
Loading…
Reference in New Issue
Block a user