WIP - renaming of library exports

This commit is contained in:
Justin Ethier 2016-04-15 00:00:49 -04:00
parent 7d9aae56d8
commit dbb4ab83a4

View file

@ -68,6 +68,15 @@
(lib:exports (car input-program))))
(set! imports (lib:imports (car input-program)))
(set! input-program (lib:body (car input-program)))
; Add any renamed exports to the begin section
;(let ((renames (lib:rename-exports (car input-program))))
; (set! input-program
; (append
; (map
; (lambda (r)
; `(define ,(caddr r) ,(cadr r)))
; renames)
; input-program)))
;; Prepend any included files into the begin section
(if (not (null? includes))
(for-each