about summary refs log tree commit diff stats
path: root/cpp/014boolean
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-25 01:24:11 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-25 01:24:11 -0800
commit6f5d7864f6c0c62b8849349cb182c61f8dbed452 (patch)
treec4c22032dc09eefbc3b55268044d29607804c4fd /cpp/014boolean
parentdc3803320013059ad400853e3f6a2851f7f82c04 (diff)
downloadmu-6f5d7864f6c0c62b8849349cb182c61f8dbed452.tar.gz
832 - call-stack for C++ version
These #defines and references now span many different layers. Let's see
if the lack of encapsulation causes problems.

Also interesting to run into a case where I need to modify a
foundational layer and touch every single scenario/trace. Only
alternative was to duplicate all the different layers that add
instructions. Sign of problems with this model?
Diffstat (limited to 'cpp/014boolean')
-rw-r--r--cpp/014boolean6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/014boolean b/cpp/014boolean
index 7da98db4..61f5f436 100644
--- a/cpp/014boolean
+++ b/cpp/014boolean
@@ -25,7 +25,7 @@ recipe main [
   2:integer <- copy 0:literal
   3:integer <- and 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 1
 +run: ingredient 1 is 2
@@ -59,7 +59,7 @@ recipe main [
   2:integer <- copy 0:literal
   3:integer <- or 1:integer, 2:integer
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 1
 +mem: location 1 is 1
 +run: ingredient 1 is 2
@@ -89,7 +89,7 @@ recipe main [
   1:integer <- copy 1:literal
   2:integer <- not 1:integer
 ]
-+run: instruction 1
++run: instruction main/1
 +run: ingredient 0 is 1
 +mem: location 1 is 1
 +run: product 0 is 0