Commit Graph

8450 Commits

Author SHA1 Message Date
Kartik K. Agaram 210553ac68 .
slightly improve colors
2021-05-23 22:53:54 -07:00
Kartik K. Agaram bda55a3eec ctrl-s in trace: show entire current line 2021-05-23 22:47:40 -07:00
Kartik K. Agaram f32e8035c7 . 2021-05-23 22:26:49 -07:00
Kartik K. Agaram 7fa0163941 disable ctrl-s when browsing trace
We're soon going to be dynamically rerunning the sandbox in other ways
when browsing the trace.
2021-05-23 22:18:51 -07:00
Kartik K. Agaram d3103378c5 . 2021-05-23 22:17:05 -07:00
Kartik K. Agaram d474128db1 shrink trace menu 2021-05-23 22:07:50 -07:00
Kartik K. Agaram b2dd7e6a91 start truncating trace lines 2021-05-23 22:04:31 -07:00
Kartik Agaram 0f5b9a1534 . 2021-05-23 08:06:03 -07:00
Kartik Agaram 49f7a91704 . 2021-05-23 07:55:09 -07:00
Kartik K. Agaram 7a04c8104d shell: reduce trace depth in sandbox
We'll gradually make this more dynamic.
2021-05-22 10:28:21 -07:00
Kartik K. Agaram 6934f78e97 . 2021-05-22 09:30:11 -07:00
Kartik Agaram cef24e3c85 . 2021-05-20 00:54:21 -07:00
Kartik K. Agaram 64d3e8e2e0 . 2021-05-19 23:32:16 -07:00
Kartik K. Agaram 119e661f20 a second place with lousy storage management 2021-05-19 23:23:49 -07:00
Kartik K. Agaram 4b57c101b7 more robust print-cell
It is used to print to the trace, and we shouldn't crash the whole computer
just because the trace ran out of space.
2021-05-19 23:14:27 -07:00
Kartik K. Agaram e2ab1b30b1 disallow null traces
We now use traces everywhere for error-checking. Null traces introduce
the possibility of changing a functions error response, and therefore its
semantics.
2021-05-19 20:56:37 -07:00
Kartik K. Agaram 6bbeadecaa . 2021-05-19 19:55:29 -07:00
Kartik K. Agaram f8c28e3a36 . 2021-05-19 17:30:25 -07:00
Kartik K. Agaram 831e2e0d64 . 2021-05-19 17:29:17 -07:00
Kartik K. Agaram ec2dab7801 shell: traces track a maximum depth to record 2021-05-19 01:26:25 -07:00
Kartik K. Agaram 9831a8cef9 shell: depth 0 as the check for errors 2021-05-19 01:21:02 -07:00
Kartik K. Agaram 3fc03a98e5 shell: start traces at depth 1 rather than 0
We're going to carve out depth 0 for errors.
2021-05-19 01:15:35 -07:00
Kartik K. Agaram 91b7b0be73 shell: clean up trace for macroexpand 2021-05-18 20:01:11 -07:00
Kartik K. Agaram 837926751a shell: add a lot of error-checking 2021-05-18 20:01:11 -07:00
Kartik Agaram 6934436de9 . 2021-05-18 13:09:30 -07:00
Kartik Agaram 5396e24cba . 2021-05-18 13:04:33 -07:00
Kartik K. Agaram b4c0b12542 . 2021-05-18 10:25:37 -07:00
Kartik K. Agaram fd57c48c60 start double-buffering
Amazing how much difference it makes even when the implementation is so
naive and slow.
2021-05-18 10:23:54 -07:00
Kartik Agaram 2952a29960 some tweaks for demo on a Mac 2021-05-17 22:21:07 -07:00
Kartik Agaram 06e429cdaf . 2021-05-17 22:07:51 -07:00
Kartik K. Agaram ad60a3dece preserve atemporal state when restarting time 2021-05-17 21:44:24 -07:00
Kartik K. Agaram a2fbef8dc4 clean up an ambiguous intersection 2021-05-17 21:42:16 -07:00
Kartik K. Agaram 2ba78a495a clean up an ambiguous intersection 2021-05-17 21:37:31 -07:00
Kartik K. Agaram 749735af02 done with Hestian Game of Life, I think
Definitely tedious. And now that I'm done, the middle zoom level seems
quite cluttered. And the zoom up to the full game is too steep, but I'm
not going to be creating any more zoom levels :/

The real question is what sort of library or framework would allow one
to autogenerate this sort of debug UI for arbitrary data structures. How
do you declare how you want a data structure rendered?
2021-05-17 21:28:47 -07:00
Kartik K. Agaram c8c7cb1236 nodes for intermediate zoom, take 2 2021-05-17 16:51:59 -07:00
Kartik K. Agaram 5ddadf4402 new strategy, same as the old strategy 2021-05-17 14:58:34 -07:00
Kartik K. Agaram 5443d4b834 attempt at standardizing constants 2021-05-17 13:55:40 -07:00
Kartik K. Agaram cdeb3d505d nodes for intermediate zoom 2021-05-16 23:20:30 -07:00
Kartik K. Agaram f0c7b0bee6 just one intermediate zoom level 2021-05-16 22:21:21 -07:00
Kartik K. Agaram c5a16a484d . 2021-05-16 22:02:28 -07:00
Kartik K. Agaram fb0f0748bc press '+' and '-' to zoom in and out respectively 2021-05-16 21:58:13 -07:00
Kartik K. Agaram 6a47fad86f . 2021-05-16 21:48:24 -07:00
Kartik K. Agaram 0ab5f6fb3a mu.subx: support bitwise not 2021-05-16 21:47:47 -07:00
Kartik K. Agaram 92984d557e press 'l' to loop, 'L' to stop looping 2021-05-16 21:29:38 -07:00
Kartik K. Agaram 3f916e6414 press '0' to reset all state 2021-05-16 21:24:20 -07:00
Kartik K. Agaram 28393b2cae bugfix 2021-05-16 21:14:26 -07:00
Kartik K. Agaram 02d1169266 spacebar plays/pauses 2021-05-16 19:48:30 -07:00
Kartik K. Agaram 7bd4660c46 wire up colors to actual state 2021-05-16 19:42:38 -07:00
Kartik K. Agaram 2beeee4d5d game of life working at lowest zoom 2021-05-16 19:41:29 -07:00
Kartik K. Agaram fbaa30b5f7 build out the lowest zoom 2021-05-16 19:40:49 -07:00