mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Removed obsolete code
This commit is contained in:
parent
23096cd3b5
commit
4f6b21b6c9
1 changed files with 0 additions and 16 deletions
16
cyclone.scm
16
cyclone.scm
|
@ -234,22 +234,6 @@
|
|||
(lambda ()
|
||||
(c-compile-and-emit program lib-deps)))))
|
||||
(result (create-c-file in-prog)))
|
||||
;; Load other modules if necessary
|
||||
(cond
|
||||
((and program?
|
||||
(not (null? result)))
|
||||
(let ((program
|
||||
(append
|
||||
;(if (member 'eval result)
|
||||
; (read-file (get-lib "eval.scm"))
|
||||
; '())
|
||||
;(if (member 'read result)
|
||||
; (append
|
||||
; (read-file (get-lib "parser.scm"))
|
||||
; '((define read cyc-read)))
|
||||
; '())
|
||||
in-prog)))
|
||||
(create-c-file program)))) ;; TODO: no, don't do same work twice. real answer is linking
|
||||
|
||||
;; Compile the generated C file
|
||||
;; TODO: -I is a hack, real answer is to use 'make install' to place .h file
|
||||
|
|
Loading…
Add table
Reference in a new issue