require cleanup

This commit is contained in:
Danny Yoo 2011-03-18 22:52:56 -04:00
parent 26a5136195
commit afe489e4f4
5 changed files with 6 additions and 10 deletions

View File

@ -4,9 +4,7 @@
"lexical-structs.rkt"
"il-structs.rkt"
"lexical-env.rkt"
"helpers.rkt"
"find-toplevel-variables.rkt"
"sets.rkt"
racket/list)
(provide (rename-out [-compile compile])

View File

@ -50,11 +50,6 @@
;; An environment reference is either lexical or referring to a whole prefix.
(define-type EnvReference (U EnvLexicalReference
EnvWholePrefixReference))
;; instruction sequences
(define-type UnlabeledStatement (U

View File

@ -1,7 +1,6 @@
#lang typed/racket/base
(require racket/list
"il-structs.rkt"
"lexical-structs.rkt"
"sets.rkt")
(provide find-variable

View File

@ -35,6 +35,7 @@
(define-struct: EnvLexicalReference ([depth : Natural]
[unbox? : Boolean])
#:transparent)
(define-struct: EnvPrefixReference ([depth : Natural]
[pos : Natural]
[name : Symbol])
@ -42,3 +43,8 @@
(define-struct: EnvWholePrefixReference ([depth : Natural])
#:transparent)
;; An environment reference is either lexical or referring to a whole prefix.
(define-type EnvReference (U EnvLexicalReference
EnvWholePrefixReference))

View File

@ -2,10 +2,8 @@
(require "assemble.rkt"
"browser-evaluate.rkt"
"parse.rkt"
"lexical-structs.rkt"
"il-structs.rkt"
"compile.rkt"
racket/port
racket/promise
racket/runtime-path)