mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP
This commit is contained in:
parent
489bbeeb1e
commit
8e64b7a40d
1 changed files with 3 additions and 2 deletions
5
cgen.scm
5
cgen.scm
|
@ -145,9 +145,10 @@
|
|||
;; Add function to trace, if not already set
|
||||
(define (st:add-function! trace fnc)
|
||||
(if (null? (cdr trace))
|
||||
(set-cdr! trace fnc)
|
||||
#f))
|
||||
(cons (car trace) fnc)
|
||||
trace))
|
||||
|
||||
TODO: don't just do this, need to output as valid C code...
|
||||
(define (st:->code trace)
|
||||
;;(write `(JAE DEBUG ,trace))
|
||||
(if (or (not (pair? trace))
|
||||
|
|
Loading…
Add table
Reference in a new issue