From 3d2fdb36d9449706d6e4b3e318257f470437c4b1 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 24 Apr 2017 23:30:27 +0000 Subject: [PATCH] WIP --- cyclone.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cyclone.scm b/cyclone.scm index 7143bf56..e87a4023 100644 --- a/cyclone.scm +++ b/cyclone.scm @@ -217,6 +217,12 @@ (trace:info input-program) ;pretty-print ;;; EXPERIMENTAL CODE +;;; TODO: extend this initially by, for each import, invoking that module's inlinable_lambdas function +;;; behind an exception handler (in case the compiler does not have that module loaded). +;;; +;;; Longer term, need to test if module is loaded (maybe do that in combo with exception handler above) +;;; and if not loaded, eval/import it and try again. +;;; ;;; assumes (scheme base) is available to compiler AND at runtime in the compiled module/program ;;; TODO: probably not good enough since inlines are not in export list ;(for-each