Skip to content

Commit

Permalink
Explicit provides.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Dec 6, 2024
1 parent d5528ca commit 41debfb
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion iniquity-gc/compile-ops.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-op0 compile-op1 compile-op2 compile-op3 pad-stack unpad-stack allocate)
(require "ast.rkt" "types.rkt" a86/ast)

(define rax 'rax) ; return
Expand Down
2 changes: 1 addition & 1 deletion iniquity-gc/compile.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile compile-e)
(require "ast.rkt" "types.rkt" "compile-ops.rkt" a86/ast)

;; Registers used
Expand Down
5 changes: 4 additions & 1 deletion mountebank/compile-expr.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-e compile-lambda-defines compile-lambda-define free-vars-to-heap)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand All @@ -14,6 +14,9 @@
(define rbx 'rbx) ; heap
(define rsp 'rsp) ; stack
(define rdi 'rdi) ; arg
(define r8 'r8)
(define r9 'r9)
(define rsi 'rsi)

;; Expr CEnv Bool -> Asm
(define (compile-e e c t?)
Expand Down
2 changes: 1 addition & 1 deletion mountebank/compile-ops.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-op0 compile-op1 compile-op2 compile-op3 pad-stack unpad-stack assert-proc)
(require "ast.rkt" "types.rkt" "utils.rkt" a86/ast)

(define rax 'rax) ; return
Expand Down
2 changes: 1 addition & 1 deletion mountebank/compile.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile compile-e)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand Down
5 changes: 4 additions & 1 deletion mug/compile-expr.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-e compile-lambda-defines compile-lambda-define free-vars-to-heap)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand All @@ -13,6 +13,9 @@
(define rbx 'rbx) ; heap
(define rsp 'rsp) ; stack
(define rdi 'rdi) ; arg
(define r8 'r8)
(define r9 'r9)
(define rsi 'rsi)

;; Expr CEnv Bool -> Asm
(define (compile-e e c t?)
Expand Down
2 changes: 1 addition & 1 deletion mug/compile-ops.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-op0 compile-op1 compile-op2 compile-op3 pad-stack unpad-stack assert-proc)
(require "ast.rkt" "types.rkt" "utils.rkt" a86/ast)

(define rax 'rax) ; return
Expand Down
2 changes: 1 addition & 1 deletion mug/compile.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile compile-e)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand Down
5 changes: 4 additions & 1 deletion neerdowell/compile-expr.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-e compile-lambda-define compile-lambda-defines free-vars-to-heap)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand All @@ -14,6 +14,9 @@
(define rbx 'rbx) ; heap
(define rsp 'rsp) ; stack
(define rdi 'rdi) ; arg
(define r8 'r8)
(define r9 'r9)
(define rsi 'rsi)

;; Expr CEnv Bool -> Asm
(define (compile-e e c t?)
Expand Down
2 changes: 1 addition & 1 deletion neerdowell/compile-ops.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile-op pad-stack unpad-stack assert-proc compile-make-struct)
(require "ast.rkt" "types.rkt" "utils.rkt" a86/ast)

(define rax 'rax) ; return
Expand Down
2 changes: 1 addition & 1 deletion neerdowell/compile.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang racket
(provide (all-defined-out))
(provide compile compile-e)
(require "ast.rkt"
"types.rkt"
"lambdas.rkt"
Expand Down

0 comments on commit 41debfb

Please sign in to comment.