diff options
-rw-r--r-- | compile.c | 3 | ||||
-rw-r--r-- | iclean.icl | 7 |
2 files changed, 5 insertions, 5 deletions
@@ -71,7 +71,8 @@ int64_t compile(CleanString path, CleanString module) { char cmd[182]; snprintf(cmd, 182, "cd \"%s\" && clm -I $CLEAN_HOME/lib/StdLib -I " "$CLEAN_HOME/lib/Generics -I $CLEAN_HOME/lib/Dynamics -dynamics " - "-ms -nw -b -nt %s -o %s", pathchars, modulechars, modulechars); + "-I $CLEAN_HOME/lib/Gast -ms -nw -b -nt %s -o %s", + pathchars, modulechars, modulechars); free(pathchars); free(modulechars); @@ -38,9 +38,7 @@ readline_history :== "/home/camil/.iclean_history" template :== [ "import StdEnv" , "import StdMaybe" , "import StdDynamic" - , "import GenPrint" - , "derive gPrint (,),(,,),(,,,),(,,,,),(,,,,,),(,,,,,,),(,,,,,,,)," +++ - "(,,,,,,,,),(,,,,,,,,,),(,,,,,,,,,,),(,,,,,,,,,,,),(,,,,,,,,,,,,)" + , "import genLibTest" ] // END SETTINGS @@ -97,8 +95,9 @@ writemodule mem s w # f = f <<< "module " <<< temp_module <<< "\n" # f = f <<< join "\n" mem # f = f <<< "start = " <<< s <<< "\n" + <<< "rslt = genShow{|*|} \"\" True start []\n" <<< "Start = toString (typeCodeOfDynamic (dynamic start)) " - <<< "+++ \" :: \" +++ printToString start +++ \"\\n\"\n" + <<< "+++ \" :: \" +++ foldl (+++) \"\" rslt +++ \"\\n\"\n" # (ok,w) = fclose f w | not ok = abort ("Couldn't close " +++ temp_file +++ "\n") | otherwise = w |