about summary refs log tree commit diff stats
path: root/.gitignore
blob: e828f539cf895ece0aaff71a107f97aaa44fd6f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
om>  2015-03-18 22:08:19 -0700

955' href='/akkartik/mu/commit/cpp/090debug?h=main&id=b1299d632715669c90dde918f5522c776b853e66'>b1299d63 ^












1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                   
:(before "End Globals")
// Operator to look at fields of records.
const int _PRINT = 99;
:(before "End Primitive Recipe Numbers")
Recipe_number["$print"] = _PRINT;
assert(Next_recipe_number < _PRINT);
:(before "End Primitive Recipe Implementations")
//: beware: overridden in later layers
case _PRINT: {
  vector<int> result(read_memory(instructions[pc].ingredients[0]));
  cout << result[0] << '\n';
  break;
}