comparison backendutils.rhope @ 21:e9272f7ebd26

Limited compilation from dataflow graph to C backend
author Mike Pavone <pavone@retrodev.com>
date Tue, 23 Jun 2009 01:16:04 -0400
parents ea991f95ae1f
children 914ad38f9b59
comparison
equal deleted inserted replaced
20:b715532225c0 21:e9272f7ebd26
73 Make Op@Result[result,func:out] 73 Make Op@Result[result,func:out]
74 { 74 {
75 out <- [func]Result Reference[[result]Output Num>>] 75 out <- [func]Result Reference[[result]Output Num>>]
76 } 76 }
77 77
78 Blueprint OrValue
79 {
80 Left
81 Right
82 }
83
84 OrValue[left,right:out]
85 {
86 out <- [[Build["OrValue"]]Left <<[left]]Right <<[right]
87 }
88
89 Make Op@OrValue[orval,func:out]
90 {
91 out <- [func]If Null Else[[[func]Left >>]Make Op[func], [[func]Right >>]Make Op[func]]
92 }
93
78 Blueprint NotCond 94 Blueprint NotCond
79 { 95 {
80 Condition 96 Condition
81 } 97 }
82 98