repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add return statement and todo
[mTask.git]
/
mTaskInterpret.icl
diff --git
a/mTaskInterpret.icl
b/mTaskInterpret.icl
index
27d4c43
..
c81476a
100644
(file)
--- a/
mTaskInterpret.icl
+++ b/
mTaskInterpret.icl
@@
-282,6
+282,9
@@
instance userLed ByteCode where
ledOn (BC l) = BC $ l >>| tell [BCLedOn]
ledOff (BC l) = BC $ l >>| tell [BCLedOff]
+instance retrn ByteCode where
+ retrn (BC l) = BC $ tell [BCReturn]
+
instance zero BCState where
zero = {freshl=[1..], freshs=[1..], sdss=[]}