mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added notes, remove error for programs
This commit is contained in:
parent
3ec2558a6f
commit
2f409d141c
1 changed files with 4 additions and 3 deletions
|
@ -63,11 +63,12 @@
|
|||
(set! lib-exports (lib:exports (car input-program)))
|
||||
(set! lib-imports (lib:imports (car input-program)))
|
||||
(set! input-program (lib:body (car input-program)))
|
||||
(error "TODO: I do not know how to compile a library"))
|
||||
(else
|
||||
(error "DEBUG: not a library" input-program)))
|
||||
(error "TODO: I do not know how to compile a library")))
|
||||
|
||||
;; TODO: how to handle stdlib when compiling a library??
|
||||
;; either need to keep track of what was actually used,
|
||||
;; or just assume all imports were used and include them
|
||||
;; in final compiled program
|
||||
(set! input-program (add-libs input-program))
|
||||
|
||||
(set! input-program (expand input-program))
|
||||
|
|
Loading…
Add table
Reference in a new issue