summary refs log tree commit diff stats
path: root/doc
Path not found
/a>
blob: 70d518ed4855ab766370c0274d5ff14c6611ad48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
:(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")
case _PRINT: {
  vector<int> result(read_memory(instructions[pc].ingredients[0]));
  cout << result[0] << '\n';
  break;
}