diff testnworker.rhope @ 99:e09c2d1d6d5b

Got dataflow graph code working in compiler (nworker_c.rhope)
author Mike Pavone <pavone@retrodev.com>
date Fri, 06 Aug 2010 01:42:37 -0400
parents a34a982ecd32
children c6ba9fe45910
line wrap: on
line diff
--- a/testnworker.rhope	Tue Aug 03 23:51:39 2010 -0400
+++ b/testnworker.rhope	Fri Aug 06 01:42:37 2010 -0400
@@ -2,8 +2,8 @@
 
 Test NWorker[:out]
 {
-	ref+ <- Worker Ref["+","rhope",2,1]
-	ref* <- Worker Ref["*","rhope",2,1]
+	ref+ <- Worker Ref["+","rhope",2,1,Yes]
+	ref* <- Worker Ref["*","rhope",2,1,Yes]
 	,a <- [NWorker["rhope"]
 	]Add Input["a", 0] {
 		,b <- [~]Add Input["b", 1] {
@@ -22,7 +22,7 @@
 Main[]
 {
 	Print[
-		[[[[NProgram]Register Builtins
+		[[[[NProgram[]]Register Builtins
 		]Bind Worker["Test", Test NWorker[]]
 		]Compile Program[C Program[]]
 		]Text