Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 7737 | Kartik Agaram | 2021-02-13 | 36 | -2237/+5949 |
| | |||||
* | 7736 | Kartik K. Agaram | 2021-02-13 | 1 | -22/+34 |
| | | | | Game of Life with a larger grid. | ||||
* | 7735 - baremetal: game of life simulator | Kartik K. Agaram | 2021-02-13 | 1 | -0/+243 |
| | |||||
* | 7734 - baremetal/shell: break out of group | Kartik K. Agaram | 2021-02-13 | 1 | -2/+93 |
| | |||||
* | 7733 - baremetal/shell: conditional skips groups | Kartik K. Agaram | 2021-02-13 | 1 | -1/+83 |
| | |||||
* | 7732 - baremetal/shell: grouping words | Kartik K. Agaram | 2021-02-12 | 1 | -1/+95 |
| | | | | Now there's a neat resonance carrying over all 3 levels of Mu notation. | ||||
* | 7731 - baremetal/shell: conditional execution | Kartik K. Agaram | 2021-02-12 | 1 | -3/+69 |
| | |||||
* | 7730 - baremetal/shell: boolean values | Kartik K. Agaram | 2021-02-12 | 5 | -13/+229 |
| | | | | | In the process I found a bug in the Mu compiler. Limitations of just asserting the emitted code but not running it. | ||||
* | 7729 | Kartik K. Agaram | 2021-02-12 | 1 | -3/+3 |
| | |||||
* | 7728 | Kartik K. Agaram | 2021-02-12 | 1 | -0/+30 |
| | |||||
* | 7727 - baremetal/shell: 1+1 | Kartik K. Agaram | 2021-02-11 | 3 | -0/+35 |
| | |||||
* | 7726 | Kartik K. Agaram | 2021-02-11 | 3 | -7/+210 |
| | |||||
* | 7725 - baremetal/shell: start on evaluator | Kartik K. Agaram | 2021-02-11 | 2 | -0/+174 |
| | |||||
* | 7724 - baremetal: rendering array values | Kartik K. Agaram | 2021-02-11 | 5 | -0/+1644 |
| | |||||
* | 7723 - baremetal: rendering string values | Kartik K. Agaram | 2021-02-11 | 6 | -3/+370 |
| | |||||
* | 7722 | Kartik K. Agaram | 2021-02-11 | 1 | -0/+2 |
| | |||||
* | 7721 - baremetal: start rendering values | Kartik K. Agaram | 2021-02-11 | 1 | -0/+84 |
| | |||||
* | 7720 - baremetal: load more sectors again | Kartik K. Agaram | 2021-02-11 | 3 | -12/+28 |
| | |||||
* | 7719 - baremetal: print floats | Kartik K. Agaram | 2021-02-11 | 4 | -0/+646 |
| | |||||
* | 7718 | Kartik K. Agaram | 2021-02-11 | 1 | -4/+4 |
| | | | | Bugfix in clear-screen. | ||||
* | 7717 - baremetal: enable FPU (I think) | Kartik K. Agaram | 2021-02-11 | 2 | -5/+20 |
| | |||||
* | 7716 | Kartik K. Agaram | 2021-02-10 | 1 | -0/+8 |
| | |||||
* | 7715 | Kartik K. Agaram | 2021-02-10 | 1 | -2/+1 |
| | |||||
* | 7714 | Kartik K. Agaram | 2021-02-10 | 1 | -0/+8 |
| | |||||
* | 7713 | Kartik K. Agaram | 2021-02-10 | 5 | -14/+20 |
| | |||||
* | 7712 | Kartik K. Agaram | 2021-02-10 | 1 | -71/+0 |
| | |||||
* | 7711 - baremetal/shell: line data structure | Kartik K. Agaram | 2021-02-10 | 2 | -4/+176 |
| | | | | | | 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. | ||||
* | 7710 | Kartik K. Agaram | 2021-02-10 | 1 | -0/+58 |
| | | | | Include a file for commit 7708. | ||||
* | 7709 | Kartik K. Agaram | 2021-02-09 | 2 | -24/+28 |
| | | | | | | | Fix the jarringness in the previous commit. Gap buffers now always occupy the same width on screen regardless of where their cursor is. The price: we sometimes have more whitespace between words. But that is perhaps a good thing. | ||||
* | 7708 - baremetal/shell: word data structure | Kartik K. Agaram | 2021-02-09 | 2 | -1/+786 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not everything here is tested, but enough that I'm starting to feel confident. We see our first divergence with apps/tile. In apps/tile we render everything, then go back and figure out where to position the cursor. This relies on some low-level smarts and is also quite klunky and complex. In baremetal/shell I plan to do something simpler: maintain a tree of objects where each level knows which sub-object under it has the cursor. Now I can pass in the cursor object to each object, and if it detects that it has the cursor it can recursively figure out which sub-object has the cursor. The bottom-most objects (grapheme stacks) draw the cursor as they render themselves. Single-pass algorithm, draw the cursor as you render, no low-level smarts needed. But there's a divergence. What in apps/tile used to look like this, with a cursor ␣ at the end of the word 'abc': abc␣def ..now looks like this: abc␣ def ..with an extra space. This could cause some jarring 'dancing' as you move the cursor through a list of words. | ||||
* | 7707 | Kartik K. Agaram | 2021-02-09 | 1 | -0/+14 |
| | |||||
* | 7706 | Kartik K. Agaram | 2021-02-09 | 2 | -9/+30 |
| | |||||
* | 7705 | Kartik K. Agaram | 2021-02-09 | 1 | -6/+3 |
| | |||||
* | 7704 | Kartik K. Agaram | 2021-02-09 | 1 | -6/+6 |
| | |||||
* | 7703 | Kartik K. Agaram | 2021-02-09 | 1 | -0/+3 |
| | |||||
* | 7702 | Kartik K. Agaram | 2021-02-09 | 2 | -7/+7 |
| | |||||
* | 7701 | Kartik K. Agaram | 2021-02-09 | 3 | -9/+9 |
| | |||||
* | 7700 | Kartik Agaram | 2021-02-09 | 1 | -0/+0 |
| | |||||
* | 7699 | Kartik K. Agaram | 2021-02-08 | 2 | -11/+442 |
| | | | | Gap buffer with a more testable interface for rendering to screen. | ||||
* | 7698 - starting to test-drive baremetal shell | Kartik Agaram | 2021-02-07 | 4 | -5/+259 |
| | |||||
* | 7697 | Kartik Agaram | 2021-02-07 | 1 | -4/+6 |
| | |||||
* | 7696 | Kartik Agaram | 2021-02-07 | 1 | -1/+0 |
| | |||||
* | 7695 - baremetal: second bg assertion for spaces | Kartik Agaram | 2021-02-07 | 1 | -1/+60 |
| | | | | | | When I'm also checking graphemes I assume that spaces can be in other bg colors. However, if I want to closely check the bg color for a cell with a space in it (ahem, cursor), I have to check the color in isolation. | ||||
* | 7694 - baremetal: asserting bg color in tests | Kartik Agaram | 2021-02-07 | 2 | -7/+103 |
| | |||||
* | 7693 - baremetal: pass background color everywhere | Kartik Agaram | 2021-02-07 | 14 | -117/+137 |
| | |||||
* | 7692 | Kartik Agaram | 2021-02-07 | 3 | -6/+33 |
| | | | | | It's bad enough that metadata comments are restricted to integer literals; let's at least make them work on _all_ integer literals. | ||||
* | 7691 | Kartik Agaram | 2021-02-07 | 2 | -5/+21 |
| | |||||
* | 7690 | Kartik Agaram | 2021-02-07 | 51 | -662/+662 |
| | | | | Convert comments about magic constants into metadata. | ||||
* | 7689 - permit metadata on Mu literal integers | Kartik Agaram | 2021-02-06 | 2 | -0/+33 |
| | | | | | | | | | | | | | | Metadata is always ignored. It's purely for documentation purposes. But as long as Mu has no named constants it's starting to feel increasingly essential. I'm still not going to bother to add metadata to other parts of the language. Let's see if we need them. Even though it's a little warty that the rules vary throughout the stack: - bare SubX: metadata everywhere - SubX with syntax sugar: no metadata in calls or addressing-mode sigil-expressions - Mu: metadata only for literal integers | ||||
* | 7688 | Kartik Agaram | 2021-02-06 | 1 | -1/+1 |
| |