about summary refs log tree commit diff stats
path: root/stdin.mu
Commit message (Expand)AuthorAgeFilesLines
* 690 - convention: '$' commands for debugging onlyKartik K. Agaram2015-02-011-10/+9
* 624 - no, that's all wrong, scratch 623Kartik K. Agaram2015-01-251-1/+1
* 623 - 'nochange' to guard against race conditionsKartik K. Agaram2015-01-251-1/+1
* 610 - all examples working againKartik K. Agaram2015-01-241-1/+0
* 605 - example program for line-oriented inputKartik K. Agaram2015-01-241-0/+3
* 601 - fix callers of 'read-key'Kartik K. Agaram2015-01-241-1/+1
* 578 - switch to non-polymorphic 'print' functionsKartik K. Agaram2015-01-171-4/+4
* 574 - printing string literals is a hack; hard-code it in for nowKartik K. Agaram2015-01-161-6/+6
* 571 - screen primitives take an explicit terminalKartik K. Agaram2015-01-151-10/+10
* 544 - text modes now called 'retro' & 'cursor'Kartik K. Agaram2015-01-121-1/+1
* 543Kartik K. Agaram2015-01-121-1/+1
* 536 - introduce a notion of helper routinesKartik K. Agaram2015-01-111-1/+1
* 535 - reading keyboard input from a channelKartik K. Agaram2015-01-111-0/+26
; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
parse/0: instruction: start-running
parse/0:   ingredient: {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]}
parse/0: instruction: new
parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: ["integer": "type"]}
parse/0:   product: {name: "1", value: 0, type: 2-1, properties: ["1": "address":"integer", "raw": ]}
parse/0: instruction: new
parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: ["integer": "type"]}
parse/0:   product: {name: "2", value: 0, type: 2-1, properties: ["2": "address":"integer", "raw": ]}
parse/0: instruction: equal
parse/0:   ingredient: {name: "1", value: 0, type: 2-1, properties: ["1": "address":"integer", "raw": ]}
parse/0:   ingredient: {name: "2", value: 0, type: 2-1, properties: ["2": "address":"integer", "raw": ]}
parse/0:   product: {name: "3", value: 0, type: 3, properties: ["3": "boolean", "raw": ]}
new/0: integer -> 1
new/0: integer -> 1
after-brace/0: recipe f1
after-brace/0: start-running ...
after-brace/0: new ...
after-brace/0: recipe f2
after-brace/0: new ...
after-brace/0: equal ...
new/0: routine allocated memory from 1000 to 101000
schedule/0: f1
run/0: instruction f1/0
run/0: start-running {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]}
run/0: ingredient 0 is f2
new/0: routine allocated memory from 101000 to 201000
run/0: instruction f1/1
run/0: {name: "1", value: 1, type: 2-1, properties: ["1": "address":"integer", "raw": ]} <- new {name: "integer", value: 1, type: 0, properties: ["integer": "type"]}
mem/0: new alloc: 1000
mem/0: storing 1000 in location 1
schedule/0: f2
run/0: instruction f2/0
run/0: {name: "2", value: 2, type: 2-1, properties: ["2": "address":"integer", "raw": ]} <- new {name: "integer", value: 1, type: 0, properties: ["integer": "type"]}
mem/0: new alloc: 101000
mem/0: storing 101000 in location 2
run/0: instruction f2/1
run/0: {name: "3", value: 3, type: 3, properties: ["3": "boolean", "raw": ]} <- equal {name: "1", value: 1, type: 2-1, properties: ["1": "address":"integer", "raw": ]}, {name: "2", value: 2, type: 2-1, properties: ["2": "address":"integer", "raw": ]}
run/0: ingredient 0 is 1
mem/0: location 1 is 1000
run/0: ingredient 1 is 2
mem/0: location 2 is 101000
run/0: product 0 is 0
mem/0: storing 0 in location 3