about summary refs log tree commit diff stats
path: root/color-repl.mu
Commit message (Collapse)AuthorAgeFilesLines
...
* 642 - repl app: backslash quoting in stringsKartik K. Agaram2015-01-271-0/+24
|
* 641Kartik K. Agaram2015-01-271-11/+13
| | | | | | Looping/breaking more than one block feels brittle somehow. It's not like java where the language can distinguish loops from other blocks. I think I'm just going to use jumps for more than one block.
* 640 - some todos for testsKartik K. Agaram2015-01-271-0/+10
|
* 639Kartik K. Agaram2015-01-271-1/+1
|
* 638 - quick spike: syntax highlighting in replKartik K. Agaram2015-01-271-0/+146
Backspace kinda works. Parens are colored in three rotating colors which helps with balancing. Comments and strings are colored. But it's hard to handle backspace in all situations. Like if you backspace over a quote you have to either quit the string-slurping routine you're in, or return to string slurping mode. Similarly for comments; *there* you don't even have a end delimiter to let you know you're back in a comment. You have to keep track of what came before. I experimented with a library but it interacts poorly with the charterm library I'm already using. Ended up with a gross inefficient approach instead.