diff number_c.rhope @ 135:18a4403fe576

Javascript backend can now produce broken output. Needs fixes plus port of standard lib
author Mike Pavone <pavone@retrodev.com>
date Sun, 14 Nov 2010 03:09:49 -0500
parents 7361d70fbba6
children fc3815b7462f
line wrap: on
line diff
--- a/number_c.rhope	Wed Nov 10 22:29:49 2010 -0500
+++ b/number_c.rhope	Sun Nov 14 03:09:49 2010 -0500
@@ -118,10 +118,8 @@
 }
 		
 Generate Number Methods[backend:out]
-{	
-	numtypes <- ("Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64")
-	
-	out <- Fold[_Generate Number Methods[?], backend, numtypes]
+{
+	out <- Fold[_Generate Number Methods[?], backend, [backend]Supported Number Types]
 }
 
 Register Number Method[program, method, type, outtype:out]