blob: 5935000cf11a81ffc3e0829ee93d09f4956f73dd (
plain)
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
|
opcodes
note: no unary, increment, decrement
arthithmetic: + - * / %
bitwise: l r & | ^ ~
"<<" is l, ">>" is r
all are atoms or binary operators, so recursive compilation to a forth-like?
order of ops:
~
* / %
+ -
<< >>
&
^
|
final console interface:
#hashtag (exact) -> searches twitter/identica for tunes
@username (exact) -> parses twitter/identica feed for tunes
_1234... -> plays track from memory
expression -> compiles and plays expression
<else> -> searches greedily for a valid expression; if not found, ignores
bytetros?
|