about summary refs log tree commit diff stats
path: root/subx/subx.vim
Commit message (Collapse)AuthorAgeFilesLines
* 4984Kartik Agaram2019-02-221-1/+1
|
* 4885Kartik Agaram2018-12-281-1/+1
| | | | Make dots a little more salient on a light-background Vim.
* 4880Kartik Agaram2018-12-281-1/+1
|
* 4876Kartik Agaram2018-12-271-1/+1
|
* 4871Kartik Agaram2018-12-171-6/+20
| | | | Experimenting with a light background colorscheme.
* 4870Kartik Agaram2018-12-171-1/+1
| | | | | | Don't treat this as a section comment: e8/call foo # -1 is negative
* 4867Kartik Agaram2018-12-151-8/+8
|
* 4843Kartik Agaram2018-12-051-4/+4
| | | | Colorize function names containing special characters like '?'.
* 4816Kartik Agaram2018-12-021-0/+11
|
* 4811Kartik Agaram2018-11-301-2/+3
|
* 4807Kartik Agaram2018-11-301-1/+2
| | | | Stop highlighting capitalized words in metadata as global variables.
* 4805Kartik Agaram2018-11-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More tweaking of colors, as far as possible in 256-color terminal mode that's almost entirely just for me, and beyond that in the generated html that more people may look at. In the former I have to work with a limited palette, while I'd like the latter to be more accessible for others. Evolution of colors: === 1 .subxH1Comment { color: #00ffff; } .subxH2Comment { color: #00afff; } .subxComment { color: #00afff; } .subxS1Comment { color: #0080ff; } .subxS2Comment { color: #0040ff; } === 2 sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxH2Comment.*/.subxH2Comment { color:#00bbff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#00bbff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#0098ff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#0070ff; }/' $1.html # slightly too dark === 3: http://www.perbang.dk/rgbgradient from start to end sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxH2Comment.*/.subxH2Comment { color:#00ddff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#00bbff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#0099ff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#0078ff; }/' $1.html === 4: drop down to 4 colors sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#00d2ff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#00a4ff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#0078ff; }/' $1.html === 4: make final one just a little too dark sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#00cfff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#009fff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#0070ff; }/' $1.html # slightly too dark === 5: make darkest shade a little less blue, just at the edge of too dark sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#16ccff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#2d99ff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#4466ff; }/' $1.html # slightly too dark === 6: HSV gradient between the same endpoints sed -i 's/^\.subxH1Comment.*/.subxH1Comment { color:#00ffff; }/' $1.html sed -i 's/^\.subxComment.*/.subxComment { color:#16bfff; }/' $1.html sed -i 's/^\.subxS1Comment.*/.subxS1Comment { color:#2d8cff; }/' $1.html sed -i 's/^\.subxS2Comment.*/.subxS2Comment { color:#4466ff; }/' $1.html # slightly too dark
* 4798Kartik Agaram2018-11-301-28/+6
| | | | Another attempt at picking colors for the 5 different levels of comments.
* 4796Kartik Agaram2018-11-301-3/+31
|
* 4772Kartik Agaram2018-11-241-1/+2
|
* 4757Kartik Agaram2018-11-201-0/+3
| | | | | | Let's start highlighting all global variables in Red. Assembly programming has a tendency to over-use them. They're a necessary evil, but we should minimize the number of functions that access them.
* 4667Kartik Agaram2018-10-051-0/+2
| | | | | Standardize on hyphens in all names. And we'll use colons for namespacing labels in functions.
* 4523 - Give up on pass-through phasesKartik Agaram2018-08-201-17/+0
| | | | | | | | | | | | | | | | | | | | I'm going to continue using them for now, but I'm fairly certain now that they're just a temporary device to help rapidly-prototype ideas. The reason: there's just too many ways to abuse low-level features, and it ends up taking too much code to disallow things soon after you allow them. New plan: stop trying to write checks, just treat them as temporary conventions for now. Goal is now to just get the core sequence of passes nailed down. Then we'll start reimplementing them from the ground up. First implication of this new plan: ripping out most existing checks. I'm still going to eventually build type checks. But no degenerate checks for code just being too low-level. (This decision is the outcome of a few days of noodling over Forth and https://mastodon.social/@akkartik/100549913519614800.)
* 4512 - divide labels into two categoriesKartik Agaram2018-08-121-0/+7
| | | | | | | | | Targets you can jump to and ones you can call are conceptually disjoint sets. I'm highlighting these in Vim, but it's a pretty complex pattern. Arguably errors shouldn't be highlighted. Only warnings that are easy to be accidentally deployed.
* 4511Kartik Agaram2018-08-121-0/+2
|
* 4505 - start warning on jumps without labelsKartik Agaram2018-08-111-0/+10
| | | | | As we climb the ladder of abstraction we'll gradually pull the ladder up behind ourselves.
* 4479Kartik Agaram2018-08-041-0/+1
|
* 4476Kartik Agaram2018-08-041-0/+2
| | | | Syntax highlighting for dot leaders.
* 4299Kartik Agaram2018-06-301-0/+1
|
* 4295Kartik Agaram2018-06-301-1/+1
|
* 4292 - start a Vim syntax file for our 'language'Kartik Agaram2018-06-301-0/+22
As we add high-level constructs we'll start labeling low-level constructs as unsafe, and highlighting them in red in our editor.
t'>
1173723 ^

77f8c07 ^
6651dd7 ^
c09bf8d ^
da909dd ^
b233089 ^
c09bf8d ^
b233089 ^
c09bf8d ^
67bc08d ^
7055315 ^

67bc08d ^
dc9f62f ^
67bc08d ^
b233089 ^
c09bf8d ^
b233089 ^

c09bf8d ^

e6cbe9c ^
6e22ccf ^




c09bf8d ^
c09bf8d ^


29355bd ^

ca65478 ^
29355bd ^

b9da4b0 ^
dc5d967 ^
b9da4b0 ^
29355bd ^
e995c1b ^



6d22782 ^
1836b67 ^



6d22782 ^

1836b67 ^



05fbbbd ^
e995c1b ^
29355bd ^

6538265 ^













29355bd ^
6458d72 ^
7b5638f ^
d800ec0 ^
2272df9 ^
26157e6 ^
6b25d06 ^
6d22782 ^


9fce821 ^
e256afe ^

7a095d0 ^
6b25d06 ^
6d22782 ^
b9da4b0 ^




ca65478 ^
dc5d967 ^
439e15d ^

439e15d ^
b9da4b0 ^
7d7cde0 ^
64cfebc ^

7a095d0 ^
b61f913 ^







e256afe ^

7a095d0 ^
39ed54a ^
b61f913 ^
14d05e7 ^
7a095d0 ^

95e8d12 ^
22d8c6f ^









71857b8 ^
439e15d ^


ca65478 ^
439e15d ^


26e134b ^

439e15d ^


ca65478 ^
439e15d ^
dc5d967 ^
439e15d ^
b79b5fa ^
439e15d ^
6c5dc70 ^
3399650 ^
fde45eb ^
87836d7 ^
b233089 ^

fde45eb ^
439e15d ^


ca65478 ^
dc5d967 ^
439e15d ^

59b4a5e ^
c0705ee ^
439e15d ^



ca65478 ^
61a1910 ^
19dcbc5 ^
adaa28a ^
dc5d967 ^
adaa28a ^

e256afe ^
ca65478 ^
e256afe ^
2ffdc19 ^
19dcbc5 ^

adaa28a ^



ca65478 ^
adaa28a ^

96e1b25 ^
87836d7 ^
373b11d ^
96e1b25 ^
adaa28a ^


ca65478 ^
0f3acce ^







ca65478 ^
439e15d ^
dc5d967 ^
439e15d ^


35e65ea ^
439e15d ^
0053620 ^

439e15d ^


ca65478 ^
439e15d ^
dc5d967 ^

439e15d ^


3399650 ^



66da153 ^
901b3ed ^
5983c00 ^
3399650 ^

ebd17e4 ^
3399650 ^

c09bf8d ^
d2d394e ^
f8181f6 ^

3399650 ^

439e15d ^


ca65478 ^
439e15d ^


0053620 ^

439e15d ^
adaa28a ^
bf35794 ^
adaa28a ^








0f3acce ^
adaa28a ^





6b25d06 ^
61a1910 ^
adaa28a ^


0f3acce ^
adaa28a ^

adaa28a ^

3af6434 ^

ee31e38 ^
a73a882 ^
ee31e38 ^
a73a882 ^
adaa28a ^

b6ad663 ^

6b25d06 ^
b6ad663 ^







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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373