Skip to content

Commit 7aa2ca4

Browse files
committed
Rename compile-l to compile-entry.
1 parent 91cbbef commit 7aa2ca4

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

www/notes/iniquity/compile.rkt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@
3737
(match p
3838
[(list 'begin `(define (,fs . ,xss) ,es) ... e0)
3939
(let ((ds (compile-defines fs xss es))
40-
(c0 (compile-l e0)))
40+
(c0 (compile-entry e0)))
4141
`(,@c0
4242
,@ds))]
43-
[e (compile-l e)]))
43+
[e (compile-entry e)]))
4444

4545
;; Expr -> Asm
46-
(define (compile-l e)
46+
;; Compile e as the entry point
47+
(define (compile-entry e)
4748
`(entry
48-
,@(compile-e e '())
49+
,@(compile-entry e '())
4950
ret
5051

5152
err
@@ -330,5 +331,3 @@
330331
"_"
331332
(number->string (eq-hash-code s) 16))))
332333

333-
334-

0 commit comments

Comments
 (0)