about summary refs log tree commit diff stats
path: root/apps/tile/word.mu
Commit message (Collapse)AuthorAgeFilesLines
* 7341 - tile: function editing doneKartik Agaram2020-12-061-13/+0
| | | | | A tiny modicum of reuse amidst all this copypasta: I'm able to reuse the same function that renders lines without stacks in the sandbox.
* 7340 - tile: function editing almost doneKartik Agaram2020-12-061-1/+2
| | | | | Still a bug in cursor positioning. It's always shown at the start of the function body.
* 7309 - tile: parsing strings into wordsKartik Agaram2020-11-301-1/+28
|
* 7245 - tile: right-align functionsKartik Agaram2020-11-151-0/+18
|
* 7242Kartik Agaram2020-11-151-1/+1
|
* 7181 - type checks for 'address' instructionKartik Agaram2020-11-051-2/+2
|
* 7165Kartik Agaram2020-11-031-1/+1
| | | | | All tasks of https://github.com/akkartik/mu/issues/45#issuecomment-719990879 should now be complete.
* 7159 - explicitly use 'return' everywhereKartik Agaram2020-11-021-34/+42
| | | | https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 2.
* 7098 - tile: string valuesKartik Agaram2020-10-251-0/+7
| | | | Strings can contain spaces.
* tile: process space in middle of wordKartik Agaram2020-10-241-0/+7
|
* tile: process space at start of wordKartik Agaram2020-10-241-2/+75
| | | | | | This was very difficult to debug. We still need to process space in the middle of a word.
* 7086Kartik Agaram2020-10-201-11/+66
| | | | | Expanding words now seems to be working. I was forgetting to update 'prev' pointers in a few places.
* 7085Kartik Agaram2020-10-201-28/+28
|
* 7083Kartik Agaram2020-10-201-0/+28
| | | | | Defining functions mostly working. But we still need to fix the cursor afterwards.
* 7081Kartik Agaram2020-10-201-0/+21
| | | | | Defining new functions seems to be working. _However_, we aren't yet detecting duplicates. `x x *` leads to a declaration of `x x f`.
* 7080Kartik Agaram2020-10-201-0/+8
| | | | | Constructing new functions with ctrl-d is now working right. But the call seems exactly flipped.
* 7079Kartik Agaram2020-10-191-0/+26
|
* 7077 - tile: render function listKartik Agaram2020-10-191-0/+26
|
* 7053Kartik Agaram2020-10-171-0/+59
| | | | | Rename seems to now be working. State still isn't rendered right, so we can't be sure.
* 7034Kartik Agaram2020-10-151-3/+6
| | | | | Finally following up on commit 7020. Ctrl-a and ctrl-e now work, but word-wise motions are still showing some funkiness.
* 7017Kartik Agaram2020-10-131-14/+14
|
* 6860Kartik Agaram2020-09-261-0/+7
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6857Kartik Agaram2020-09-251-0/+9
|
* 6853 - tile: initialize a test function definitionKartik Agaram2020-09-241-0/+1
|
* 6845Kartik Agaram2020-09-231-27/+30
|
* 6821 - highlight words clobbered by the next wordKartik Agaram2020-09-201-0/+6
| | | | Another suggestion from the Future of Software forum.
* 6816 - tile: inserting new wordsKartik Agaram2020-09-191-8/+26
|
* 6814 - tile: backspace deletes char or wordKartik Agaram2020-09-191-0/+24
|
* 6812 - tile: render cursor locationKartik Agaram2020-09-191-0/+6
|
* 6811 - tile: left-cursor movementKartik Agaram2020-09-191-0/+36
| | | | | Displayed cursor position is not yet correct, but insertions happen at the right cursor position.
* 6807 - tile: render intermediate stack stateKartik Agaram2020-09-191-0/+6
|
* 6806 - tile: place-holder for bottom of stackKartik Agaram2020-09-191-0/+6
|
* 6805Kartik Agaram2020-09-191-13/+13
|
* 6804 - tile: render all wordsKartik Agaram2020-09-191-3/+20
|
* 6801 - snapshot: RPN structured editorKartik Agaram2020-09-191-0/+95
There's some worrisome memory corruption here between the call to max-stack-depth and the callee picking up its args. All this code is incredibly ugly as I start to wrestle with the challenges of structured editors. I keep wanting to keep business logic separate from rendering, but there are feedback loops from wanting to know where to render the cursor. And I haven't even started trying to avoid full-screen renders yet. That'll complect things even more. For now the data path for every iteration of the render loop is: process key compute max depth needed (or any other global information needed for rendering) render