Kartik K. Agaram
c7c8eb0cb4
7760
...
Some settings in my vimrc, now that I plan to move closer to Lisp:
inoremap <buffer> [ (
inoremap <buffer> ] )
inoremap <buffer> ( [
inoremap <buffer> ) ]
2021-02-20 22:37:08 -08:00
Kartik K. Agaram
4a37291e2d
7759 - changing course; delete the postfix shell
...
It might be too ambitious for an initial Mu system, and I also want to
watch my novelty budget. I also have great doubts about the ability of
this live-updating postfix system to scale to interesting programs. Conditionals,
loops, multi-line functions, all this requires further work.
Instead, I'm going to recenter around Mu's original goals:
- saying no to most features
- encouraging/teaching testing
- traces as a unifying metaphor
In particular, instead of a live-updating system, the new debug loop will
be:
- generate a trace
- browse the trace
- modify the program
- generate a trace
- ...
The only persistence we'll need here is a way to track what the programmer
has drilled into in the trace. That might have some commonalities with
the old system of expanded words.
2021-02-20 22:14:09 -08:00
Kartik K. Agaram
bcb2190ec3
7758
...
Just some temporary files before I blow them away.
2021-02-20 21:51:33 -08:00
Kartik K. Agaram
446a6704cb
7757
2021-02-19 02:39:22 -08:00
Kartik Agaram
3b1686b610
7756
2021-02-18 08:58:37 -08:00
Kartik Agaram
abb3e174b3
7755
2021-02-18 00:15:51 -08:00
Kartik Agaram
517a01c95a
7754
2021-02-17 23:48:59 -08:00
Kartik K. Agaram
e848f3688f
7753
2021-02-15 13:27:02 -08:00
Kartik K. Agaram
6aaeadfee8
7752
2021-02-15 13:21:28 -08:00
Kartik K. Agaram
d83dce3b98
7751
2021-02-15 13:17:50 -08:00
Kartik K. Agaram
f365875fa4
7750
2021-02-15 13:11:22 -08:00
Kartik K. Agaram
b15f1b73e8
7749
...
Forget about support for quitting for now. Quit by rebooting the computer
or VM.
2021-02-15 13:08:19 -08:00
Kartik K. Agaram
d6e2ba80dd
7748
...
Bug in code-size check.
It costs 18 bytes in the boot sector to load 2 tracks of disk (63KB). At
that rate I can load 6 more tracks before I need to perform the drudgery
again of recalculating offsets.
2021-02-15 12:54:38 -08:00
Kartik K. Agaram
1ec98d402b
7747
2021-02-15 12:47:48 -08:00
Kartik Agaram
74ed21ab14
7746
2021-02-14 16:48:02 -08:00
Kartik Agaram
8cff1c04e3
7745
2021-02-14 16:29:19 -08:00
Kartik K. Agaram
247fb5951a
7744
2021-02-14 15:20:02 -08:00
Kartik K. Agaram
72f9fdbd16
7743
...
First bugfix in baremetal/shell. Already it's much easier to debug.
2021-02-14 15:09:16 -08:00
Kartik K. Agaram
1010b50bb8
7742 - baremetal/shell is alive
2021-02-14 14:41:35 -08:00
Kartik K. Agaram
4961a020b4
7741 - baremetal/shell: first run: single number
2021-02-14 14:30:46 -08:00
Kartik K. Agaram
1a9d3cb7ef
7740 - baremetal/shell: eval and render line
2021-02-14 13:20:37 -08:00
Kartik K. Agaram
90a8d404af
7739 - baremetal/shell: first draft of loop
...
This is quite new and speculative. I tried to list out some potential future
tests later when we add 'return'. We'll see how it goes.
2021-02-14 00:05:12 -08:00
Kartik Agaram
fdc9096dfd
7738
2021-02-13 20:19:11 -08:00
Kartik Agaram
535fe9ac96
7737
2021-02-13 18:41:43 -08:00
Kartik K. Agaram
9b5ead67ec
7736
...
Game of Life with a larger grid.
2021-02-13 17:50:45 -08:00
Kartik K. Agaram
7b0f543e9d
7735 - baremetal: game of life simulator
2021-02-13 17:34:04 -08:00
Kartik K. Agaram
159a15e019
7734 - baremetal/shell: break out of group
2021-02-13 00:24:40 -08:00
Kartik K. Agaram
09de4c08de
7733 - baremetal/shell: conditional skips groups
2021-02-13 00:08:22 -08:00
Kartik K. Agaram
c6c9ec5e9c
7732 - baremetal/shell: grouping words
...
Now there's a neat resonance carrying over all 3 levels of Mu notation.
2021-02-12 23:49:00 -08:00
Kartik K. Agaram
103cfd6f86
7731 - baremetal/shell: conditional execution
2021-02-12 23:49:00 -08:00
Kartik K. Agaram
378ffca74c
7730 - baremetal/shell: boolean values
...
In the process I found a bug in the Mu compiler. Limitations of just asserting
the emitted code but not running it.
2021-02-12 23:49:00 -08:00
Kartik K. Agaram
97a77434c5
7729
2021-02-12 22:04:36 -08:00
Kartik K. Agaram
be4b86e91b
7728
2021-02-12 21:59:35 -08:00
Kartik K. Agaram
2ffd995524
7727 - baremetal/shell: 1+1
2021-02-11 22:04:09 -08:00
Kartik K. Agaram
8b95a1be65
7726
2021-02-11 21:27:25 -08:00
Kartik K. Agaram
8bb22dcb0a
7725 - baremetal/shell: start on evaluator
2021-02-11 21:11:47 -08:00
Kartik K. Agaram
ead6c01fa4
7724 - baremetal: rendering array values
2021-02-11 20:59:39 -08:00
Kartik K. Agaram
d1bcd1421f
7723 - baremetal: rendering string values
2021-02-11 19:34:55 -08:00
Kartik K. Agaram
884c92984f
7722
2021-02-11 18:46:57 -08:00
Kartik K. Agaram
0039f81b31
7721 - baremetal: start rendering values
2021-02-11 01:21:50 -08:00
Kartik K. Agaram
c4bd8edae2
7720 - baremetal: load more sectors again
2021-02-11 01:14:30 -08:00
Kartik K. Agaram
e396b3a0a3
7719 - baremetal: print floats
2021-02-11 00:44:13 -08:00
Kartik K. Agaram
79e6d41bea
7718
...
Bugfix in clear-screen.
2021-02-11 00:37:32 -08:00
Kartik K. Agaram
64a1c14198
7717 - baremetal: enable FPU (I think)
2021-02-11 00:12:08 -08:00
Kartik K. Agaram
4d08e78ed4
7716
2021-02-10 23:51:27 -08:00
Kartik K. Agaram
edd20161c5
7715
2021-02-10 23:13:08 -08:00
Kartik K. Agaram
36e70d36e1
7714
2021-02-10 23:01:11 -08:00
Kartik K. Agaram
08c55cb2b7
7713
2021-02-10 22:34:08 -08:00
Kartik K. Agaram
2be221bce8
7712
2021-02-10 22:14:46 -08:00
Kartik K. Agaram
d4afe371f5
7711 - baremetal/shell: line data structure
...
Pretty thin; perhaps we should put cursor management in words. But we don't
need every node in the list of words to know which word in the list the
cursor is at.
2021-02-10 22:11:54 -08:00