-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.txt
135 lines (134 loc) · 2.37 KB
/
info.txt
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
Definition of arrayify(x):
A: just return A
S: return the chars of S
C: return [C]
N: return the range [0, 1, ..., ceil(N)-1]
• =
→ = point crayon E
↘ = point crayon SE
↓ = point crayon S
↙ = point crayon SW
← = point crayon W
↖ = point crayon NW
↑ = point crayon N
↗ = point crayon NE
⚓ =
↵ =
↦ =
↧ =
↤ =
↰ =
↩ =
➥ =
➦ =
⤸ = turn crayon 45° CW
⤵ = turn crayon 90° CW
↷ = turn crayon 135° CW
⟲ = turn crayon 180°
↶ = turn crayon 135° CCW
⤷ = turn crayon 90° CCW
⤹ = turn crayon 45° CCW
? =
? =
? =
? =
? =
? =
¤ =
=
! = if top item is falsy...
" = string literal
# =
$ =
% =
& =
' = regex literal
( = N: decrement
C: decrement
S: shift char
A: shift item
) = N: increment
C: increment
S: pop char
A: pop item
* = NN: multiply
NS: repeat
SA: join
+ =
, =
- =
. = numeric literal, extra commands
/ =
0-9 = numeric literal
: = duplicate
; = pop
< =
= = if top two items are equal...
> =
? = execute conditional here
@ = pull up third item
A =
B =
C = NN: move crayon to X, Y
SS: indexOf
D = extra commands
E = read all of STDIN
F =
G =
H =
I = push inner loop item
J = push outer loop item
K =
L = read a line of STDIN
M =
N =
O = O: loop; for each item in arrayify(O)...
P =
Q =
R =
S =
T = read a space-separated token from STDIN
U =
V =
W = while top item is truthy...
X = N: move crayon to X
Y = N: move crayon to Y
Z = read all of STDIN until double newline
[ = push array and enter
\ = swap top two items
] = exit array
^ =
_ = A: enter
` = char literal
a =
b =
c = NN: move crayon by X, Y
SS: lastIndexOf
d = extra commands
e = move crayon 1 space E
f =
g =
h =
i = push inner loop index
j = push outer loop index
k =
l = S: length
A: length
m =
n = move crayon 1 space N
o =
p =
q = write to canvas
r =
s = move crayon 1 space S
t =
u =
v =
w = move crayon 1 space W
x = N: move crayon by X
y = N: move crayon by Y
z = if top item is truthy...
{ = else
| =
} = end if, end loop
~ =