Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | . | Kartik K. Agaram | 2021-04-17 | 1 | -0/+13 |
| | |||||
* | loosening a few more buffers | Kartik K. Agaram | 2021-04-17 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mu computer now has more code in it: ( (globals . ( (hline1 . (fn () (screen y lo hi) (if (>= lo hi) () ((fn () (pixel screen lo y 12) (hline1 screen y (+ lo 1) hi)))))) (vline1 . (fn () (screen x lo hi) (if (>= lo hi) () ((fn () (pixel screen x lo 12) (vline1 screen x (+ lo 1) hi)))))) (hline . (fn () (screen y) (hline1 screen y 0 (width screen)))) (vline . (fn () (screen y) (vline1 screen y 0 (height screen)))) (andf . (fn (a b) (if a (if b 1 ()) ()))) (brline . (fn (screen x0 y0 x1 y1) ((fn (dx dy sx sy) ((fn (err) (brline1 screen x0 y0 x1 y1 dx dy sx sy err)) (+ dx dy))) (abs (- x1 x0)) (- 0 (abs (- y1 y0))) (sgn (- x1 x0)) (sgn (- y1 y0))))) (brline1 . (fn (screen x y xmax ymax dx dy sx sy err) (pixel screen x y 12) (if (andf (= x xmax) (= y ymax)) () ((fn (e2) (brline1 screen (if (>= e2 dy) (+ x sx) x) (if (<= e2 dx) (+ y sy) y) xmax ymax dx dy sx sy (+ err (+ (if (>= e2 dy) dy 0) (if (<= e2 dx) dx 0))))) (* err 2))))) )) (sandbox . (brline screen 1 1 5 5)) ) | ||||
* | new primitives: abs, sgn | Kartik K. Agaram | 2021-04-16 | 1 | -1/+100 |
| | |||||
* | open question: animations in the fake screen | Kartik K. Agaram | 2021-04-15 | 1 | -0/+38 |
| | | | | Right now we just render the state of the screen at the end of an evaluation. | ||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -17/+17 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -2/+6 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -1/+2 |
| | |||||
* | shell: primitives for screen size | Kartik K. Agaram | 2021-04-15 | 1 | -2/+180 |
| | |||||
* | shell: restore bindings after restart | Kartik K. Agaram | 2021-04-15 | 1 | -0/+37 |
| | |||||
* | shell: start persisting global bindings | Kartik K. Agaram | 2021-04-15 | 1 | -1/+35 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -1/+1 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -0/+4 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -0/+1 |
| | |||||
* | shell: primitives for comparison, cursor movement | Kartik K. Agaram | 2021-04-14 | 1 | -10/+439 |
| | |||||
* | shell: more detailed description of primitives | Kartik K. Agaram | 2021-04-14 | 1 | -12/+44 |
| | |||||
* | shell: pixel graphics | Kartik K. Agaram | 2021-04-13 | 1 | -0/+86 |
| | |||||
* | shell: none of our primitives need to be closures | Kartik K. Agaram | 2021-04-10 | 1 | -51/+27 |
| | |||||
* | shell: streams that you can append graphemes to | Kartik K. Agaram | 2021-04-10 | 1 | -0/+72 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-10 | 1 | -1/+6 |
| | |||||
* | shell: fake keyboard | Kartik K. Agaram | 2021-04-10 | 1 | -1/+57 |
| | |||||
* | shell: UI now showing fake keyboard | Kartik K. Agaram | 2021-04-10 | 1 | -1/+11 |
| | | | | But we don't actually support fake keyboards anywhere yet. | ||||
* | shell: move fake screen to sandbox | Kartik K. Agaram | 2021-04-10 | 1 | -46/+15 |
| | |||||
* | shell: tweaks for fake screens | Kartik K. Agaram | 2021-04-10 | 1 | -0/+28 |
| | | | | | - make them more discoverable - clear them between commands | ||||
* | shell: render fake screens | Kartik K. Agaram | 2021-04-10 | 1 | -25/+45 |
| | | | | 'print' turns out to not be working yet. | ||||
* | shell: start of 'print' primitive | Kartik K. Agaram | 2021-04-10 | 1 | -4/+66 |
| | |||||
* | shell: structural equality check | Kartik K. Agaram | 2021-04-09 | 1 | -0/+44 |
| | | | | Mu can now compute (factorial 5) | ||||
* | shell: render primitives at the bottom | Kartik K. Agaram | 2021-04-08 | 1 | -2/+44 |
| | |||||
* | shell: start rendering globals | Kartik K. Agaram | 2021-04-08 | 1 | -1/+31 |
| | |||||
* | shell: create space to display globals | Kartik K. Agaram | 2021-04-08 | 1 | -0/+4 |
| | |||||
* | shell: 'set' for defining globals | Kartik K. Agaram | 2021-04-06 | 1 | -0/+15 |
| | | | | Currently stateful, but still good for things. | ||||
* | shell: now we can start adding primitives | Kartik K. Agaram | 2021-04-06 | 1 | -0/+307 |
| | |||||
* | shell: look up globals | Kartik K. Agaram | 2021-04-06 | 1 | -0/+41 |
| | |||||
* | shell: extensible array of globals | Kartik K. Agaram | 2021-04-05 | 1 | -0/+105 |
I'm not bothering with full dynamic scope for now. |