Download Do compiler - Lassi Kortela
Transcript
<= a b — a ? Makes the flag indicate whether a is less than or equal to b. <ab—a? Makes the flag indicate whether a is less than b. >= a b — a ? Makes the flag indicate whether a is greater than or equal to b. >ab—a? Makes the flag indicate whether a is greater than b. Arithmetic primitives +ab—r Pushes the sum of the numbers a and b. -ab—r Pushes the difference of the numbers a and b. *ab—r Pushes the product of the numbers a and b. /mod a b — q r Pushes the quotient and the remainder of a divided by b. Sequence primitives vector n — vec Pushes a new vector whose initial items are n none-values. count seq — n Pushes the number of items in the sequence seq. find subseq seq — [i] ?