about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 4844Kartik Agaram2018-12-063-0/+0
|
* 4845Kartik Agaram2018-12-063-0/+1715
| | | | Making progress on hex1 (http://web.archive.org/web/20061108010907/http://www.rano.org/bcompiler.html)
* 4844Kartik Agaram2018-12-062-4/+4
|
* 4843Kartik Agaram2018-12-051-4/+4
| | | | Colorize function names containing special characters like '?'.
* 4842Kartik Agaram2018-12-056-489/+521
|
* 4841Kartik Agaram2018-12-045-0/+255
| | | | New helper: print an error message, then a numeric byte, then abort.
* 4840Kartik Agaram2018-12-0411-22/+533
| | | | New helper: printing a string to a buffered file.
* 4839Kartik Agaram2018-12-042-4/+4
|
* 4838Kartik Agaram2018-12-045-20/+20
| | | | Better to use EDI as a mnemonic for 'destination'.
* 4837Kartik Agaram2018-12-046-4/+4
| | | | Let's standardize to use opcode 39 rather than 3b by default.
* 4836Kartik Agaram2018-12-042-2/+2
|
* 4835Kartik Agaram2018-12-042-2/+2
|
* 4834Kartik Agaram2018-12-045-82/+64
| | | | Fix CI since 4827.
* 4833Kartik Agaram2018-12-043-0/+0
|
* 4832Kartik Agaram2018-12-0422-1782/+1818
| | | | | | Let's start adding ':end' labels in all functions, just because it helps us visualize where function calls end in traces, thanks to the '--map' commandline argument.
* 4831Kartik Agaram2018-12-044-4/+12
|
* 4830Kartik Agaram2018-12-0313-1113/+2092
| | | | | | New helper: printing a byte in textual (hex) form. This required adding instructions for bitwise shift operations.
* 4829Kartik Agaram2018-12-032-6/+6
| | | | | Showing the error bit pattern explicitly makes it more clear that it's not possible to generate as a non-error value.
* 4828 - writing to buffered-fileKartik Agaram2018-12-037-196/+583
| | | | | This is likely a sub-optimal interface, but I'm trying not to agonize. The whole point of Mu is to permit radical changes at any point in time.
* 4827Kartik Agaram2018-12-035-53/+53
| | | | | | | | | I was 'returning' a phantom value from 'write' when the underlying '_write' returns nothing. In general, returning counts of bytes written is not so useful for error checking when my primitives abstract away from that. We'll come back to error signalling later.
* 4826Kartik Agaram2018-12-034-4/+4
|
* 4825Kartik Agaram2018-12-031-15/+15
|
* 4824Kartik Agaram2018-12-037-189/+186
|
* 4823Kartik Agaram2018-12-032-230/+229
|
* 4822Kartik Agaram2018-12-035-40/+54
| | | | | | | Fix CI. It's kind of a hassle (and wasteful) that I need to redefine 'main' in every single layer.
* 4821Kartik Agaram2018-12-029-296/+293
|
* 4820Kartik Agaram2018-12-022-2/+2
|
* 4819Kartik Agaram2018-12-0216-34/+34
|
* 4818Kartik Agaram2018-12-0220-627/+629
|
* 4817Kartik Agaram2018-12-024-14/+15
|
* 4816Kartik Agaram2018-12-0221-241/+196
|
* 4815Kartik Agaram2018-12-024-1406/+1426
|
* 4814Kartik Agaram2018-12-01179-3710/+4166
|
* 4813Kartik Agaram2018-12-014-6/+6
|
* 4812Kartik Agaram2018-11-303-4/+4
|
* 4811Kartik Agaram2018-11-3018-145/+151
|
* 4810Kartik Agaram2018-11-302-0/+0
|
* 4809 - subx: html with 5 colors for commentsKartik Agaram2018-11-3038-4449/+4614
|
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-3025-384/+394
|
* 4807Kartik Agaram2018-11-301-1/+2
| | | | Stop highlighting capitalized words in metadata as global variables.
* 4806Kartik Agaram2018-11-301-2/+2
| | | | | | Drop a wildcard in my edit shortcuts that's getting confused between apps/crenshaw2-1.subx and apps/crenshaw2-1b.subx. We're pretty much always using the full filename (excluding .subx extension) anyway.
* 4805Kartik Agaram2018-11-302-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 4804Kartik Agaram2018-11-301-12/+12
|
* 4803Kartik Agaram2018-11-301-128/+128
|
* 4802Kartik Agaram2018-11-3026-828/+828
| | | | | | | | | | | | | | | | Some automated commenting cleanup. Still needs more careful manual scanning. sed -i 's/^# 1-3/# . 1-3/' *.subx */*.subx sed -i 's/^# op/# . op/' *.subx */*.subx sed -i 's/# vim/# . . vim/' *.subx */*.subx sed -i 's/^ # push args/ # . . push args/' *.subx */*.subx sed -i 's/^ # discard args/ # . . discard args/' *.subx */*.subx sed -i 's/^ # call/ # . . call/' *.subx */*.subx sed -i 's/^ # prolog/ # . prolog/' *.subx */*.subx sed -i 's/^ # epilog/ # . epilog/' *.subx */*.subx sed -i 's/^ # save registers/ # . save registers/' *.subx */*.subx sed -i 's/^ # restore registers/ # . restore registers/' *.subx */*.subx sed -i 's/ operand / register /' *.subx */*.subx
* 4801Kartik Agaram2018-11-3024-2981/+2981
| | | | Reindent all SubX code to make some room for the new comment style.
* 4800Kartik Agaram2018-11-302-10/+11
|
* 4799Kartik Agaram2018-11-301-4/+4
|
* 4798Kartik Agaram2018-11-301-28/+6
| | | | Another attempt at picking colors for the 5 different levels of comments.
* 4797Kartik Agaram2018-11-304-4/+4
|