Added TODO

This commit is contained in:
Justin Ethier 2018-11-20 17:21:05 -05:00
parent 16149d1492
commit 90c0d79887

View file

@ -534,12 +534,15 @@
(number->string len) ");")))))
(loop 0 code))))))
TODO: c-compile-string exp use-alloca
consolidate from below and alloc_string
;; c-compile-const : const-exp -> c-pair
;;
;; Typically this function is used to compile constant values such as
;; a single number, boolean, etc. However, it can be passed a quoted
;; item such as a list, to compile as a literal.
(define (c-compile-const exp)
(define (c-compile-const exp use-alloca)
(cond
((null? exp)
(c-code "NULL"))