From 0b82eef7140123e29e2628232e3cc7f740d094f2 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 18 Apr 2015 20:11:59 -0700 Subject: 1099 - new recipe: convert integer to decimal string --- cpp/.traces/less_than | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cpp/.traces/less_than (limited to 'cpp/.traces/less_than') diff --git a/cpp/.traces/less_than b/cpp/.traces/less_than new file mode 100644 index 00000000..0d6b4b80 --- /dev/null +++ b/cpp/.traces/less_than @@ -0,0 +1,27 @@ +parse/0: instruction: 1 +parse/0: ingredient: {name: "32", value: 0, type: 0, properties: ["32": "literal"]} +parse/0: product: {name: "1", value: 0, type: 1, properties: ["1": "integer"]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "33", value: 0, type: 0, properties: ["33": "literal"]} +parse/0: product: {name: "2", value: 0, type: 1, properties: ["2": "integer"]} +parse/0: instruction: 15 +parse/0: ingredient: {name: "1", value: 0, type: 1, properties: ["1": "integer"]} +parse/0: ingredient: {name: "2", value: 0, type: 1, properties: ["2": "integer"]} +parse/0: product: {name: "3", value: 0, type: 1, properties: ["3": "integer"]} +after-brace/0: recipe main +after-brace/0: copy ... +after-brace/0: copy ... +after-brace/0: less-than ... +run/0: instruction main/0 +run/0: ingredient 0 is 32 +mem/0: storing 32 in location 1 +run/0: instruction main/1 +run/0: ingredient 0 is 33 +mem/0: storing 33 in location 2 +run/0: instruction main/2 +run/0: ingredient 0 is 1 +mem/0: location 1 is 32 +run/0: ingredient 1 is 2 +mem/0: location 2 is 33 +run/0: product 0 is 1 +mem/0: storing 1 in location 3 -- cgit 1.4.1-2-gfad0