diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-30 21:22:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-30 21:22:29 -0700 |
commit | 66b97b4d923274e1b6d2fd97df16cb73d820169b (patch) | |
tree | 9d05c3e8301381608d9619eae976c5459fbfa5d2 /cpp/.traces | |
parent | a7b6abf6262c1ac556c2cf9a5890eccb4d6b6872 (diff) | |
download | mu-66b97b4d923274e1b6d2fd97df16cb73d820169b.tar.gz |
996 - string literals
Diffstat (limited to 'cpp/.traces')
-rw-r--r-- | cpp/.traces/convert_names_passes_dummy | 2 | ||||
-rw-r--r-- | cpp/.traces/run_dummy | 2 | ||||
-rw-r--r-- | cpp/.traces/string_literal | 9 |
3 files changed, 11 insertions, 2 deletions
diff --git a/cpp/.traces/convert_names_passes_dummy b/cpp/.traces/convert_names_passes_dummy index 08f69ed6..c836a7aa 100644 --- a/cpp/.traces/convert_names_passes_dummy +++ b/cpp/.traces/convert_names_passes_dummy @@ -1,6 +1,6 @@ parse/0: instruction: 1 parse/0: ingredient: {name: "0", value: 0, type: 0, properties: [0: literal]} -parse/0: product: {name: "_", value: 0, type: , properties: [_: ]} +parse/0: product: {name: "_", value: 0, type: 0, properties: [_: dummy]} parse/0: product: {name: "x", value: 0, type: 1, properties: [x: integer]} name/0: assign x 1 after-brace/0: recipe main diff --git a/cpp/.traces/run_dummy b/cpp/.traces/run_dummy index b6aa736f..0fe1b491 100644 --- a/cpp/.traces/run_dummy +++ b/cpp/.traces/run_dummy @@ -1,6 +1,6 @@ parse/0: instruction: 1 parse/0: ingredient: {name: "0", value: 0, type: 0, properties: [0: literal]} -parse/0: product: {name: "_", value: 0, type: , properties: [_: ]} +parse/0: product: {name: "_", value: 0, type: 0, properties: [_: dummy]} after-brace/0: recipe main after-brace/0: copy ... run/0: instruction main/0 diff --git a/cpp/.traces/string_literal b/cpp/.traces/string_literal new file mode 100644 index 00000000..d07ce441 --- /dev/null +++ b/cpp/.traces/string_literal @@ -0,0 +1,9 @@ +parse/0: instruction: 24 +parse/0: ingredient: {name: "abc def", value: 0, type: 0, properties: [abc def: literal-string]} +parse/0: product: {name: "s", value: 0, type: 2-4-0, properties: [s: address:array:character]} +new/0: abc def -> 0 +name/0: assign s 1 +after-brace/0: recipe main +after-brace/0: new ... +run/0: instruction main/0 +mem/0: storing 1000 in location 1 |