diff compile @ 75:0083b2f7b3c7

Partially working implementation of List. Modified build scripts to allow use of other compilers. Fixed some bugs involving method implementations on different types returning different numbers of outputs. Added Fold to the 'builtins' in the comipler.
author Mike Pavone <pavone@retrodev.com>
date Tue, 06 Jul 2010 07:52:59 -0400
parents 70af7fa155d0
children 25a205094f9b
line wrap: on
line diff
--- a/compile	Thu Jul 01 21:32:08 2010 -0400
+++ b/compile	Tue Jul 06 07:52:59 2010 -0400
@@ -11,13 +11,14 @@
 	exit 1
 fi
 
-cp runtime/* build/
-cp "$1.c" build/
-cd build
-bin=`echo $1 | sed s/\.rhope//`
+./ctobin $@
+#cp runtime/* build/
+#cp "$1.c" build/
+#cd build
+#bin=`echo $1 | sed s/\.rhope//`
+#
+#if test -f "$bin"; then
+#	rm "$bin"
+#fi
+#gcc -Wformat=0 -o $bin $2 "$1.c" blueprint.c context.c fixed_alloc.c object.c
 
-if test -f "$bin"; then
-	rm "$bin"
-fi
-gcc -Wformat=0 -o $bin $2 "$1.c" blueprint.c context.c fixed_alloc.c object.c
-