about summary refs log tree commit diff stats
path: root/apps/tile/rpn.mu
Commit message (Collapse)AuthorAgeFilesLines
* 7066 - tile: some more primitives for testingKartik Agaram2020-10-191-0/+2
| | | | | Lesson learned: functions store args in _reverse_ order. Since evaluation is very frequent, it's worth optimizing for it.
* 7058Kartik Agaram2020-10-181-0/+3
| | | | | Snapshot; things seem to be working besides ctrl-r, but we aren't yet rendering only the final line.
* 7057 - tile: back to namesKartik Agaram2020-10-181-5/+44
| | | | We can now create new bindings for names while evaluating lines.
* 6965Kartik Agaram2020-10-051-5/+5
|
* 6879Kartik Agaram2020-09-261-14/+18
| | | | Extract a new function.
* 6876Kartik Agaram2020-09-261-21/+8
| | | | Back to commit 6872.
* 6873Kartik Agaram2020-09-261-8/+21
| | | | Now saving the subsidiary stack.
* 6871Kartik Agaram2020-09-261-2/+2
| | | | Segfault now fixed. Everything seems to be working again.
* 6870Kartik Agaram2020-09-261-29/+29
| | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting.
* 6868Kartik Agaram2020-09-261-14/+42
| | | | First function call working in apps/tile!
* 6867Kartik Agaram2020-09-261-2/+5
| | | | Segfault fixed. This shouldn't have been so hard.
* 6860Kartik Agaram2020-09-261-2/+71
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6853 - tile: initialize a test function definitionKartik Agaram2020-09-241-0/+3
|
* 6852 - tile: placeholder for lexical scopesKartik Agaram2020-09-241-1/+1
|
* 6844 - tile: initial data modelKartik Agaram2020-09-231-23/+4
| | | | I actually deleted a test here! Hard-core prototype mode.
* 6815 - tile: get actual calculations workingKartik Agaram2020-09-191-30/+32
|
* 6807 - tile: render intermediate stack stateKartik Agaram2020-09-191-44/+78
|
* 6803 - RPN: typing a single word now worksKartik Agaram2020-09-191-5/+8
|
* 6801 - snapshot: RPN structured editorKartik Agaram2020-09-191-0/+94
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