diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-04-25 22:27:19 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-04-25 22:27:19 -0700 |
commit | 32b8fac2799ac7cec613e84a3eb9c009141b6a3a (patch) | |
tree | 11f56c1a235abf7b626ea8983fff3d2edb1fcf98 /html/054parse_tree.cc.html | |
parent | 224972ee9871fcb06ee285fa5f3d9528c034d414 (diff) | |
download | mu-32b8fac2799ac7cec613e84a3eb9c009141b6a3a.tar.gz |
2866
Diffstat (limited to 'html/054parse_tree.cc.html')
-rw-r--r-- | html/054parse_tree.cc.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/054parse_tree.cc.html b/html/054parse_tree.cc.html index e4e4760e..380f7a1d 100644 --- a/html/054parse_tree.cc.html +++ b/html/054parse_tree.cc.html @@ -104,11 +104,11 @@ container bar [ <span class="Delimiter">:(scenario dilated_reagent_in_static_array)</span> def main [ - <span class="Delimiter">{</span><span class="Constant">1</span>: <span class="Delimiter">(</span>array <span class="Delimiter">(</span>address shared number<span class="Delimiter">)</span> <span class="Constant">3</span><span class="Delimiter">)}</span><span class="Special"> <- </span>create-array - <span class="Constant">5</span>:address:address:shared:number<span class="Special"> <- </span>index-address <span class="Delimiter">{</span><span class="Constant">1</span>: <span class="Delimiter">(</span>array <span class="Delimiter">(</span>address shared number<span class="Delimiter">)</span> <span class="Constant">3</span><span class="Delimiter">)},</span> <span class="Constant">0</span> - *<span class="Constant">5</span>:address:address:shared:number<span class="Special"> <- </span><span class="Normal">new</span> number:type - **<span class="Constant">5</span>:address:address:shared:number<span class="Special"> <- </span>copy <span class="Constant">34</span> - <span class="Constant">6</span>:number<span class="Special"> <- </span>copy **<span class="Constant">5</span>:address:address:shared:number + <span class="Delimiter">{</span><span class="Constant">1</span>: <span class="Delimiter">(</span>array <span class="Delimiter">(</span>address number<span class="Delimiter">)</span> <span class="Constant">3</span><span class="Delimiter">)}</span><span class="Special"> <- </span>create-array + <span class="Constant">5</span>:address:number<span class="Special"> <- </span><span class="Normal">new</span> number:type + <span class="Delimiter">{</span><span class="Constant">1</span>: <span class="Delimiter">(</span>array <span class="Delimiter">(</span>address number<span class="Delimiter">)</span> <span class="Constant">3</span><span class="Delimiter">)}</span><span class="Special"> <- </span>put-index <span class="Delimiter">{</span><span class="Constant">1</span>: <span class="Delimiter">(</span>array <span class="Delimiter">(</span>address number<span class="Delimiter">)</span> <span class="Constant">3</span><span class="Delimiter">)},</span> <span class="Constant">0</span><span class="Delimiter">,</span> <span class="Constant">5</span>:address:number + *<span class="Constant">5</span>:address:number<span class="Special"> <- </span>copy <span class="Constant">34</span> + <span class="Constant">6</span>:number<span class="Special"> <- </span>copy *<span class="Constant">5</span>:address:number ] <span class="traceContains">+run: creating array of size 4</span> <span class="traceContains">+mem: storing 34 in location 6</span> @@ -117,7 +117,7 @@ def main [ <span class="Delimiter">:(scenario dilated_reagent_with_new)</span> def main [ - <span class="Normal">x</span>:address:shared:address:number<span class="Special"> <- </span><span class="Normal">new</span> <span class="Delimiter">{(</span>address number<span class="Delimiter">)</span>: type<span class="Delimiter">}</span> + <span class="Normal">x</span>:address:address:number<span class="Special"> <- </span><span class="Normal">new</span> <span class="Delimiter">{(</span>address number<span class="Delimiter">)</span>: type<span class="Delimiter">}</span> ] <span class="traceContains">+new: size of ("address" "number") is 1</span> |