Commit Graph

6863 Commits

Author SHA1 Message Date
Kartik Agaram 70dba10a6c 6863 2020-09-26 20:05:12 -07:00
Kartik Agaram 88d690ccad 6862
Fix CI.
2020-09-26 20:00:54 -07:00
Kartik Agaram 11d3ce7146 6861 - tile: conventional repl 2020-09-26 19:15:04 -07:00
Kartik Agaram e0bceffe08 6860
Snapshot: tile currently segfaulting. I need to back up and make it easier
to debug.
2020-09-26 13:41:23 -07:00
Kartik Agaram fca30f0f86 6859 2020-09-25 20:05:10 -07:00
Kartik Agaram 7fbf3b3e72 6858 2020-09-25 20:05:02 -07:00
Kartik Agaram 2929ca471b 6857 2020-09-25 16:58:18 -07:00
Kartik Agaram bf1b3155fb 6856 2020-09-25 16:56:02 -07:00
Kartik Agaram d061cbff87 6855
Get rid of cutesy justify thresholds. They didn't actually save me any
trouble, and they won't generalize to other literals besides ints.
2020-09-25 09:47:55 -07:00
Kartik Agaram 5914ed31a9 6854 2020-09-25 09:34:24 -07:00
Kartik Agaram 0ecd596b70 6853 - tile: initialize a test function definition 2020-09-24 21:17:25 -07:00
Kartik Agaram a04f816cff 6852 - tile: placeholder for lexical scopes 2020-09-24 20:44:13 -07:00
Kartik Agaram b27a1a2523 6851 2020-09-24 20:39:22 -07:00
Kartik Agaram 6d35f049cc 6850 2020-09-24 16:30:02 -07:00
Kartik Agaram 985f226801 6849 2020-09-24 16:28:15 -07:00
Kartik Agaram 7e7d298bfd 6848 2020-09-24 08:37:47 -07:00
Kartik Agaram 2d78516bf5 6847 2020-09-23 22:47:02 -07:00
Kartik Agaram 1fc5ce90ca 6846 2020-09-23 22:45:04 -07:00
Kartik Agaram 3daf4cb3e3 6845 2020-09-23 22:35:00 -07:00
Kartik Agaram 22a7849a5e 6844 - tile: initial data model
I actually deleted a test here! Hard-core prototype mode.
2020-09-23 22:24:51 -07:00
Kartik Agaram 890df1de51 6843
Some keymappings to protect my pinky.
2020-09-23 21:44:44 -07:00
Kartik Agaram 91a254de16 6842 - hackily load local Vim settings
I have scripts to load vimrc.vim from the directory of the file being edited.
This hack loads vimrc.vim from the top-level mu/ directory when I edit
files in some common directories.
2020-09-23 21:43:23 -07:00
Kartik Agaram 3702858928 6841
Initial sketch for a menu bar.
2020-09-22 22:28:10 -07:00
Kartik Agaram 5234c224d0 6840
Extract "unmoving background" into a separate function.
2020-09-22 22:23:24 -07:00
Kartik Agaram 0160465466 6839
Not sure what I was seeing. clear-screen is plenty stable.
2020-09-22 22:19:30 -07:00
Kartik Agaram 89684e6677 6838
Interestingly, erasing the screen partially looks better to me even though
it's clearly slower. The divider never being redrawn provides a sense of
stability.
2020-09-22 22:10:26 -07:00
Kartik Agaram 4b3461fa0a 6837 2020-09-22 21:54:38 -07:00
Kartik Agaram abfdb26cd3 6836 2020-09-22 21:53:43 -07:00
Kartik Agaram e981b8f640 6835
Another fix for negative numbers.
2020-09-22 10:33:26 -07:00
Kartik Agaram afacec5e43 6834 2020-09-22 10:20:12 -07:00
Kartik Agaram 670bf6ed01 6833 - tile: right-justify for negative numbers 2020-09-22 10:13:35 -07:00
Kartik Agaram 8152b0d109 6832 - tile: right-justify numbers
Fails noisily for negative integers so far.
2020-09-22 00:27:56 -07:00
Kartik Agaram 04d06dfe53 6831 - tile: preserve color contrast
Formula from Chris Maughan: (0.2126*R + 0.7152*G + 0.0722*B) > 0.5
2020-09-21 23:42:57 -07:00
Kartik Agaram a4f5e38695 6830 - tile: hash bg rather than fg color 2020-09-21 21:38:22 -07:00
Kartik Agaram e655f673b5 6829 - tile: colorize values on the stack 2020-09-21 21:27:44 -07:00
Kartik Agaram 2404478a7f 6828 2020-09-21 20:57:03 -07:00
Kartik Agaram a71e5326bd 6827 - tile: make top of stack line up
Idea from the Future of Software group. I was resistant for several days,
because stacks should grow up, and because it didn't seem like a problem
that the first column's result grew farther and farther away from its input.
But eventually I noticed that the final result can also be arbitrarily
far below, which seems more serious.

This approach also has the salubrious effect of not requiring the precomputation
of max-depth.
2020-09-21 20:55:14 -07:00
Kartik Agaram f8104b38dc 6826 - tile: indent columns compared to their final word 2020-09-21 20:48:12 -07:00
Kartik Agaram 4c363e6e49 6825 - tile: stop rendering the final word, in case it's incomplete 2020-09-21 20:45:55 -07:00
Kartik Agaram ce1b997619 6824 - tile: gap in column width computation 2020-09-21 20:25:24 -07:00
Kartik Agaram d387606617 6823 - tile: clear colors; we'll try something new 2020-09-21 20:13:51 -07:00
Kartik Agaram ad35aef12a 6822 2020-09-20 13:54:53 -07:00
Kartik Agaram 022595a20a 6821 - highlight words clobbered by the next word
Another suggestion from the Future of Software forum.
2020-09-20 13:42:13 -07:00
Kartik Agaram a1ae40403d 6820 2020-09-20 12:24:29 -07:00
Kartik Agaram 4625b2e280 6819 2020-09-20 12:24:22 -07:00
Kartik Agaram 3dfebacf4c 6818 - color top of stack
Suggestion from the Future of Software group (https://futureofcoding.slack.com/archives/C0120A3L30R/p1600591669008700?thread_ts=1600587602.007800)
2020-09-20 11:39:19 -07:00
Kartik Agaram a437a9d6a0 6817 2020-09-19 23:46:40 -07:00
Kartik Agaram 0e86b32a5e 6816 - tile: inserting new words 2020-09-19 23:41:35 -07:00
Kartik Agaram 6413032997 6815 - tile: get actual calculations working 2020-09-19 23:26:10 -07:00
Kartik Agaram 593b95246c 6814 - tile: backspace deletes char or word 2020-09-19 23:16:23 -07:00