Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | . | Kartik K. Agaram | 2021-05-07 | 1 | -6/+6 |
| | |||||
* | no, we need hline1 for fill_rect | Kartik K. Agaram | 2021-05-07 | 1 | -8/+10 |
| | |||||
* | clean up hline and vline | Kartik K. Agaram | 2021-05-07 | 1 | -10/+10 |
| | |||||
* | starting to implement first macros | Kartik K. Agaram | 2021-05-07 | 4 | -0/+20 |
| | | | | | | | | | | | | | | | Another commit, another bugfix. Some snippets from my currently exploding todo list: - always investigate lookup errors immediately. Beyond the root cause, they should never happen at the moment, while we aren't reclaiming memory. we should always return a more precise error message. Usually involving null pointer checks. - on abort, print out stack trace - emit mapping of labels to addresses during survey - store a mapping of symbols somewhere in the code image - stop allocating 1KB per token; expand space for tokens as needed | ||||
* | give up on nested backquotes for now | Kartik K. Agaram | 2021-05-07 | 2 | -7/+82 |
| | |||||
* | macros almost done | Kartik K. Agaram | 2021-05-06 | 1 | -23/+69 |
| | | | | Just one case left: macros within unquote. | ||||
* | some more cases | Kartik K. Agaram | 2021-05-06 | 1 | -11/+60 |
| | |||||
* | first passing test for macroexpand | Kartik K. Agaram | 2021-05-06 | 6 | -41/+249 |
| | | | | | | | | In the process I spent a long time tracking down a stray TODO in 108write.subx that I thought would abort but didn't since the switch to baremetal. Then after I reintroduced that assertion I had to go track down a bunch of buffer sizes. Stream sizes continue to be a huge mess. | ||||
* | . | Kartik K. Agaram | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | more paranoia in shell/globals.mu | Kartik K. Agaram | 2021-05-06 | 1 | -0/+48 |
| | |||||
* | shell: macroexpand outermost call | Kartik K. Agaram | 2021-05-06 | 2 | -1/+65 |
| | |||||
* | literal macros | Kartik K. Agaram | 2021-05-06 | 1 | -0/+28 |
| | | | | | | | | | | | Current plan: - some way to define macros. For now: (def f (litmac litfn () (a b) `(+ ,a , b))) - macroexpand will expand calls by passing them through the cdr (f 3 4) macroexpand: ((litfn () (a b) `(+ ,a ,b)) 3 4) => (+ 3 4) eval: (+ 3 4) => 7 | ||||
* | . | Kartik K. Agaram | 2021-05-06 | 1 | -2/+15 |
| | |||||
* | back to macros; switch macroexpand to operate in place | Kartik K. Agaram | 2021-05-06 | 2 | -20/+9 |
| | |||||
* | belatedly migrate stale example definitions | Kartik K. Agaram | 2021-05-06 | 4 | -93/+99 |
| | | | | | Also bare-bones syntax highlighting for .limg files. Doesn't work when .limg file is first file opened with Vim. | ||||
* | . | Kartik K. Agaram | 2021-05-06 | 1 | -4/+21 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-04 | 2 | -0/+41 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-04 | 2 | -3/+25 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-04 | 1 | -1/+1 |
| | |||||
* | shell: start implementing macros | Kartik K. Agaram | 2021-05-04 | 2 | -1/+7 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-04 | 1 | -6/+6 |
| | |||||
* | shell: unquote splice | Kartik K. Agaram | 2021-05-04 | 2 | -1/+121 |
| | |||||
* | shell: unquote | Kartik K. Agaram | 2021-05-04 | 1 | -2/+78 |
| | |||||
* | shell: start evaluating backquote | Kartik K. Agaram | 2021-05-03 | 1 | -0/+146 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-03 | 1 | -0/+1 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-03 | 1 | -63/+63 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-03 | 1 | -0/+21 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | reading and printing backquotes and unquotes | Kartik K. Agaram | 2021-05-03 | 3 | -26/+255 |
| | |||||
* | printing quoted expressions | Kartik K. Agaram | 2021-05-02 | 1 | -0/+14 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-02 | 1 | -5/+5 |
| | |||||
* | . | Kartik Agaram | 2021-05-02 | 1 | -1/+44 |
| | |||||
* | . | Kartik Agaram | 2021-05-01 | 21 | -6684/+7950 |
| | |||||
* | tool: compute nearby colors in default palette | Kartik K. Agaram | 2021-05-01 | 2 | -1/+235 |
| | |||||
* | primitive: convert r/g/b to h/s/l | Kartik K. Agaram | 2021-05-01 | 1 | -0/+234 |
| | |||||
* | primitive: read r/g/b for color | Kartik K. Agaram | 2021-05-01 | 2 | -0/+329 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-01 | 2 | -4/+4 |
| | | | | Clean up menus. | ||||
* | cleaner rendering of fake screens and keyboards | Kartik K. Agaram | 2021-05-01 | 2 | -117/+10 |
| | | | | | | I don't understand why a second line in the keyboard is visible now where it wasn't before. That whole aspect has unclear desires. What exactly do I want to happen on newlines? | ||||
* | . | Kartik K. Agaram | 2021-05-01 | 2 | -50/+64 |
| | | | | Use sandbox background in the top line on the right. | ||||
* | . | Kartik K. Agaram | 2021-05-01 | 2 | -4/+4 |
| | | | | Clean up trace colors. | ||||
* | move color scheme closer to Solarized dark | Kartik K. Agaram | 2021-05-01 | 8 | -143/+143 |
| | | | | | | | | | | | | | sed -i 's,0x12/bg=almost-black,0xdc/bg=green-bg,g' shell/*.mu sed -i 's, 0/bg, 0xc5/bg=blue-bg,g' shell/*.mu sed -i 's, 7/fg=trace, 0x38/fg=trace,g' shell/*.mu sed -i 's, 7/bg=grey, 0x5c/bg=black,g' shell/*.mu Still a few issues. Thanks Adrian Cochrane and Zach DeCook. https://floss.social/@alcinnz/106152068473019933 https://social.librem.one/@zachdecook/106159988837603417 | ||||
* | support color comparison in the palette doc | Kartik Agaram | 2021-05-01 | 1 | -257/+265 |
| | | | | It's intended to be used with a browser's inspector. | ||||
* | shell: squeeze menu | Kartik K. Agaram | 2021-04-30 | 1 | -11/+13 |
| | |||||
* | shell: allow 'def' to overwrite | Kartik K. Agaram | 2021-04-29 | 2 | -14/+7 |
| | |||||
* | shell: comments | Kartik K. Agaram | 2021-04-29 | 1 | -0/+47 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-29 | 1 | -1/+0 |
| | |||||
* | adjust fake screen aspect ratio for verisimilitude | Kartik K. Agaram | 2021-04-29 | 1 | -1/+1 |
| | |||||
* | keep the temporary progress screen off the keyboard | Kartik K. Agaram | 2021-04-29 | 1 | -1/+1 |
| | |||||
* | make pixel borders of screen clear | Kartik K. Agaram | 2021-04-29 | 1 | -16/+20 |
| | |||||
* | make matching parens pop again | Kartik K. Agaram | 2021-04-29 | 1 | -1/+1 |
| |