Mercurial > repos > rhope
diff backendutils_c.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 | e73a93fb5de1 |
children | f51c4c17457c |
line wrap: on
line diff
--- a/backendutils_c.rhope Tue Aug 03 23:51:39 2010 -0400 +++ b/backendutils_c.rhope Fri Aug 06 01:42:37 2010 -0400 @@ -39,6 +39,26 @@ out <- op } +Make Op@String Cat[string,func:out] +{ + out <- [func]Resolve[string] +} + +Strip Addref@String Cat[op:out] +{ + out <- op +} + +Make Op@String Slice[string,func:out] +{ + out <- [func]Resolve[string] +} + +Strip Addref@String Slice[op:out] +{ + out <- op +} + Make Op@Whole Number[num,func:out] { out <- num