mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 04:55:04 +02:00
Added TODO
This commit is contained in:
parent
16149d1492
commit
90c0d79887
1 changed files with 4 additions and 1 deletions
|
@ -534,12 +534,15 @@
|
||||||
(number->string len) ");")))))
|
(number->string len) ");")))))
|
||||||
(loop 0 code))))))
|
(loop 0 code))))))
|
||||||
|
|
||||||
|
TODO: c-compile-string exp use-alloca
|
||||||
|
consolidate from below and alloc_string
|
||||||
|
|
||||||
;; c-compile-const : const-exp -> c-pair
|
;; c-compile-const : const-exp -> c-pair
|
||||||
;;
|
;;
|
||||||
;; Typically this function is used to compile constant values such as
|
;; Typically this function is used to compile constant values such as
|
||||||
;; a single number, boolean, etc. However, it can be passed a quoted
|
;; a single number, boolean, etc. However, it can be passed a quoted
|
||||||
;; item such as a list, to compile as a literal.
|
;; item such as a list, to compile as a literal.
|
||||||
(define (c-compile-const exp)
|
(define (c-compile-const exp use-alloca)
|
||||||
(cond
|
(cond
|
||||||
((null? exp)
|
((null? exp)
|
||||||
(c-code "NULL"))
|
(c-code "NULL"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue