1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/// Instructions that pop two values from the stack,
/// do something with them, and push the result.
///
/// The left-hand-side (LHS) type represents the value that is pushed first (and therefore popped second).
/// It is the second type encoded in the instruction (`type2`).
///
/// The right-hand-side (RHS) type represents the value that is pushed second (and therefore popped first).
/// It is the first type encoded in the instruction (`type1`).
///
/// The resulting value will have the first type encoded in the instruction (`type1`).
///
/// Most of these throw runtime errors when used with strings, except for `Add`.