Implement 5.38

This commit is contained in:
2021-04-20 09:27:08 -04:00
parent ce6ed4603b
commit 016d35bc87
2 changed files with 37 additions and 28 deletions

View File

@@ -34,6 +34,8 @@
target
linkage))
((cond? exp) (compile (cond->if exp) target linkage))
((primitive-procedure? exp)
(compile-primitive exp target linkage))
((application? exp)
(compile-application exp target linkage))
(else
@@ -46,6 +48,8 @@
(define (empty-instruction-sequence)
(make-instruction-sequence '() '() '()))
;; Implemented in 5.38.
(define (primitive-procedure? exp) #f)
;;;SECTION 5.5.2