about summary refs log blame commit diff stats
path: root/resources/score_player.wav
blob: c73877541c452260a6469608beeefe2eae908bc9 (plain) (tree)
blob is binary.
class='alt'>
1848b18f ^

8b91d0cd ^

b1299d63 ^

b1299d63 ^
b1299d63 ^
dcfca05e ^


11bf6ded ^

dcfca05e ^
11bf6ded ^
82ac0b7e ^
f3bce717 ^

11bf6ded ^
b1299d63 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

                                             

                                             

                                        
                                                
              


                                                                            

          
                                                                        
                                              
                                            

                           
   

        
//: Recipe to look at elements of containers.

:(before "End Primitive Recipe Declarations")
_PRINT,
:(before "End Primitive Recipe Numbers")
Recipe_number["$print"] = _PRINT;
:(before "End Primitive Recipe Implementations")
case _PRINT: {
  if (isa_literal(current_instruction().ingredients[0])) {
    trace("run") << "$print: " << current_instruction().ingredients[0].name;
    cout << current_instruction().ingredients[0].name;
    break;
  }
  vector<int> result(read_memory(current_instruction().ingredients[0]));
  for (size_t i = 0; i < result.size(); ++i) {
    trace("run") << "$print: " << result[i];
    if (i > 0) cout << " ";
    cout << result[i];
  }
  break;
}