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