about summary refs log tree commit diff stats
path: root/apps/tile
Commit message (Collapse)AuthorAgeFilesLines
* 6982 - right-arrow now moves into expanded callsKartik Agaram2020-10-092-8/+124
| | | | | | | | | | | | Rendering is still ugly. Cursor isn't on the right row. But the hard part is behind us. This was a stupid mistake in function-body, and it happened because I've been getting lazy and passing (addr handle) objects when I should be passing in "constant" addr objects. I'm not sure why I was so resistant to debugging by print here. I spent 3 days waffling about with this bug.
* 6981Kartik Agaram2020-10-091-16/+14
| | | | Tile: simplify the contract for render-column.
* 6980Kartik Agaram2020-10-091-3/+2
| | | | Changing tack..
* 6979Kartik Agaram2020-10-092-3/+3
| | | | | Use the fake-screen infrastructure we already have for non-interactive mode.
* 6978Kartik Agaram2020-10-091-0/+36
| | | | | | We don't have tests yet in the tile prototype, mostly because we don't yet feel confident about what desired behavior should be. But it's still helpful to have a non-interactive mode for tracking down segfaults.
* 6977Kartik Agaram2020-10-092-14/+50
| | | | | Snapshot. We've gotten arrow keys navigating, but segfault when getting to the second word in an expanded function call body.
* 6976Kartik Agaram2020-10-091-4/+4
|
* 6975Kartik Agaram2020-10-091-1/+1
|
* 6974Kartik Agaram2020-10-081-10/+10
|
* 6972 - tile: stop persisting cursor-wordKartik Agaram2020-10-082-26/+94
| | | | Rather surprisingly, this transformation worked the first time!
* 6969Kartik Agaram2020-10-062-24/+5
| | | | Fix and cleanup.
* 6968Kartik Agaram2020-10-063-37/+162
| | | | | | | | | | | | 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-052-15/+116
| | | | | Function expand/contract still works, but the implementation is totally different under the hood.
* 6966Kartik Agaram2020-10-052-35/+15
|
* 6965Kartik Agaram2020-10-053-24/+24
|
* 6964 - tile: start tracking word index in fn bodyKartik Agaram2020-10-051-0/+10
|
* 6963 - tile: more idiomatic conventional replKartik Agaram2020-10-051-37/+35
|
* 6962Kartik Agaram2020-10-053-38/+34
| | | | | Slowly hoist cursor-word from environment to sandbox. This isn't its final destination.
* 6961Kartik Agaram2020-10-051-4/+6
|
* 6925 - tile: don't try to print escape sequencesKartik Agaram2020-10-011-0/+39
|
* 6922Kartik Agaram2020-10-012-2/+60
|
* 6884Kartik Agaram2020-09-271-2/+2
|
* 6883Kartik Agaram2020-09-261-2/+2
|
* 6882Kartik Agaram2020-09-261-8/+0
|
* 6881 - tile: function calls can now be expandedKartik Agaram2020-09-261-7/+20
|
* 6880Kartik Agaram2020-09-261-2/+25
| | | | | We need the state of the stack at the call-site. But rendering is already working surprisingly well.
* 6879Kartik Agaram2020-09-261-14/+18
| | | | Extract a new function.
* 6878 - tile: mock-up for expanding function callsKartik Agaram2020-09-261-8/+16
|
* 6877Kartik Agaram2020-09-262-2/+26
| | | | Track just whether to step inside or not.
* 6876Kartik Agaram2020-09-263-53/+10
| | | | Back to commit 6872.
* 6875Kartik Agaram2020-09-262-1/+29
| | | | | Snapshot. Caching subsidiary stacks is a dead end; they're just the final iteration. We need to render all iterations.
* 6874Kartik Agaram2020-09-261-1/+1
|
* 6873Kartik Agaram2020-09-262-8/+23
| | | | Now saving the subsidiary stack.
* 6872Kartik Agaram2020-09-261-0/+2
| | | | Hackily show function definition.
* 6871Kartik Agaram2020-09-262-2/+3
| | | | Segfault now fixed. Everything seems to be working again.
* 6870Kartik Agaram2020-09-266-65/+103
| | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting.
* 6869Kartik Agaram2020-09-261-5/+5
|
* 6868Kartik Agaram2020-09-262-16/+79
| | | | First function call working in apps/tile!
* 6867Kartik Agaram2020-09-261-2/+5
| | | | Segfault fixed. This shouldn't have been so hard.
* 6865Kartik Agaram2020-09-261-0/+4
|
* 6861 - tile: conventional replKartik Agaram2020-09-263-38/+119
|
* 6860Kartik Agaram2020-09-265-12/+93
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6859Kartik Agaram2020-09-251-0/+47
|
* 6857Kartik Agaram2020-09-252-9/+9
|
* 6856Kartik Agaram2020-09-251-5/+5
|
* 6855Kartik Agaram2020-09-252-9/+9
| | | | | Get rid of cutesy justify thresholds. They didn't actually save me any trouble, and they won't generalize to other literals besides ints.
* 6854Kartik Agaram2020-09-252-4/+75
|
* 6853 - tile: initialize a test function definitionKartik Agaram2020-09-243-1/+59
|
* 6852 - tile: placeholder for lexical scopesKartik Agaram2020-09-243-2/+12
|
* 6851Kartik Agaram2020-09-241-3/+10
|