about summary refs log tree commit diff stats
path: root/blocking.arc.t
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-27 01:21:29 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-27 01:21:29 -0800
commite5756fbef85f4ab29370da16ef533c770e0dabc2 (patch)
treec0c7fe1ed6a5b05ec7fd25d0db058ad1b32c21a9 /blocking.arc.t
parent465007f11e5ccfede71e0afda44510eb1eae0ec7 (diff)
downloadmu-e5756fbef85f4ab29370da16ef533c770e0dabc2.tar.gz
638 - quick spike: syntax highlighting in repl
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.
Diffstat (limited to 'blocking.arc.t')
0 files changed, 0 insertions, 0 deletions