about summary refs log tree commit diff stats
path: root/apps/tile/data.mu
Commit message (Collapse)AuthorAgeFilesLines
* 7066 - tile: some more primitives for testingKartik Agaram2020-10-191-0/+87
| | | | | Lesson learned: functions store args in _reverse_ order. Since evaluation is very frequent, it's worth optimizing for it.
* 7063 - tile: scaffolding for defining functionsKartik Agaram2020-10-181-0/+1
|
* 7059Kartik Agaram2020-10-181-2/+16
| | | | | Cursor now in the right place after rename. But stack still doesn't show the value of a name.
* 7046 - start of flow for naming wordsKartik Agaram2020-10-171-0/+1
| | | | | Names don't stick yet, but we have a scaffolding for printing a dialog and accepting input.
* 7020Kartik Agaram2020-10-141-30/+49
| | | | | | | | | snapshot: migrating call-path to store word handles rather than word indexes. ctrl-a and ctrl-e are segfaulting. There are likely other problems. The major new change here is that allocating a call-path-element no longer initializes it.
* 7010Kartik Agaram2020-10-121-1/+42
| | | | A new example that better demonstrates the value of named arguments.
* 7000 - tile: previous-word also bumps up to callerKartik Agaram2020-10-111-0/+2
|
* 6991 - tile: nested calls now expandingKartik Agaram2020-10-101-0/+41
| | | | | | | I just needed to remove an obsolete guardrail in render-line. Still seeing some bugs with left-arrow when playing around with the full expansion of `1 2+`.
* 6990Kartik Agaram2020-10-101-54/+82
| | | | | Bring back definitions for 1+ and 2+. Expanding nested calls still doesn't work.
* 6987 - left-arrow to jump to caller/calleeKartik Agaram2020-10-101-66/+102
| | | | | | | Starting to work. I'm still seeing problems in lines with multiple expanded calls, but perhaps that's a rendering issue. The code is absolutely ghastly.
* 6977Kartik Agaram2020-10-091-0/+23
| | | | | Snapshot. We've gotten arrow keys navigating, but segfault when getting to the second word in an expanded function call body.
* 6972 - tile: stop persisting cursor-wordKartik Agaram2020-10-081-15/+36
| | | | Rather surprisingly, this transformation worked the first time!
* 6969Kartik Agaram2020-10-061-6/+5
| | | | Fix and cleanup.
* 6968Kartik Agaram2020-10-061-22/+124
| | | | | | | | | | | | Snapshot that requires a check in the Mu compiler. Currently I don't spill a register if it could possibly be over-written by a function output within. However, find-in-call-path is a good example of where this constraint is too lenient and results in unsafe code. The variable `curr` gets clobbered during loop update by the variable `match?`. What's the answer? Perhaps we should ban all conditional updates to function outputs? That'd be dashed inconvenient.
* 6967Kartik Agaram2020-10-051-2/+70
| | | | | Function expand/contract still works, but the implementation is totally different under the hood.
* 6966Kartik Agaram2020-10-051-15/+0
|
* 6965Kartik Agaram2020-10-051-4/+4
|
* 6962Kartik Agaram2020-10-051-6/+7
| | | | | Slowly hoist cursor-word from environment to sandbox. This isn't its final destination.
* 6922Kartik Agaram2020-10-011-1/+55
|
* 6884Kartik Agaram2020-09-271-2/+2
|
* 6877Kartik Agaram2020-09-261-0/+2
| | | | Track just whether to step inside or not.
* 6876Kartik Agaram2020-09-261-3/+0
| | | | Back to commit 6872.
* 6875Kartik Agaram2020-09-261-0/+1
| | | | | Snapshot. Caching subsidiary stacks is a dead end; they're just the final iteration. We need to render all iterations.
* 6873Kartik Agaram2020-09-261-0/+2
| | | | Now saving the subsidiary stack.
* 6870Kartik Agaram2020-09-261-1/+1
| | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting.
* 6869Kartik Agaram2020-09-261-5/+5
|
* 6857Kartik Agaram2020-09-251-9/+0
|
* 6854Kartik Agaram2020-09-251-4/+4
|
* 6853 - tile: initialize a test function definitionKartik Agaram2020-09-241-1/+55
|
* 6852 - tile: placeholder for lexical scopesKartik Agaram2020-09-241-0/+10
|
* 6851Kartik Agaram2020-09-241-3/+10
|
* 6845Kartik Agaram2020-09-231-7/+16
|
* 6844 - tile: initial data modelKartik Agaram2020-09-231-0/+73
I actually deleted a test here! Hard-core prototype mode.