about summary refs log tree commit diff stats
path: root/apps/tile/environment.mu
Commit message (Collapse)AuthorAgeFilesLines
* 6993Kartik Agaram2020-10-101-9/+4
|
* 6992Kartik Agaram2020-10-101-1/+1
| | | | | | Left arrow key out of an expanded word now working. Still to fix: left arrow key out of the first word in the first word.
* 6991 - tile: nested calls now expandingKartik Agaram2020-10-101-5/+13
| | | | | | | 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+`.
* 6989 - tile: arrow keys now seem to handle callsKartik Agaram2020-10-101-6/+15
|
* 6987 - left-arrow to jump to caller/calleeKartik Agaram2020-10-101-9/+72
| | | | | | | 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.
* 6986Kartik Agaram2020-10-091-1/+23
| | | | Cursor now stays on the right row as we bounce in and out of function calls.
* 6985 - tile: make calls read-onlyKartik Agaram2020-10-091-0/+8
|
* 6984Kartik Agaram2020-10-091-8/+13
|
* 6983 - tile: right-arrow can now move out of callsKartik Agaram2020-10-091-0/+15
|
* 6982 - right-arrow now moves into expanded callsKartik Agaram2020-10-091-7/+103
| | | | | | | | | | | | 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..
* 6977Kartik Agaram2020-10-091-14/+27
| | | | | 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-081-11/+58
| | | | Rather surprisingly, this transformation worked the first time!
* 6968Kartik Agaram2020-10-061-15/+20
| | | | | | | | | | | | 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-13/+46
| | | | | Function expand/contract still works, but the implementation is totally different under the hood.
* 6966Kartik Agaram2020-10-051-20/+15
|
* 6965Kartik Agaram2020-10-051-15/+15
|
* 6964 - tile: start tracking word index in fn bodyKartik Agaram2020-10-051-0/+10
|
* 6962Kartik Agaram2020-10-051-25/+21
| | | | | 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-011-1/+5
|
* 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.
* 6878 - tile: mock-up for expanding function callsKartik Agaram2020-09-261-8/+16
|
* 6877Kartik Agaram2020-09-261-2/+24
| | | | Track just whether to step inside or not.
* 6876Kartik Agaram2020-09-261-29/+2
| | | | Back to commit 6872.
* 6875Kartik Agaram2020-09-261-1/+28
| | | | | 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
|
* 6872Kartik Agaram2020-09-261-0/+2
| | | | Hackily show function definition.
* 6870Kartik Agaram2020-09-261-7/+7
| | | | | | Emit a stack of not ints but more complex objects containing the int payload. Function calls again segfaulting.
* 6861 - tile: conventional replKartik Agaram2020-09-261-22/+35
|
* 6860Kartik Agaram2020-09-261-5/+3
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6856Kartik Agaram2020-09-251-5/+5
|
* 6855Kartik Agaram2020-09-251-5/+5
| | | | | Get rid of cutesy justify thresholds. They didn't actually save me any trouble, and they won't generalize to other literals besides ints.
* 6852 - tile: placeholder for lexical scopesKartik Agaram2020-09-241-1/+1
|
* 6850Kartik Agaram2020-09-241-7/+2
|
* 6849Kartik Agaram2020-09-241-8/+15
|
* 6848Kartik Agaram2020-09-241-7/+8
|
* 6844 - tile: initial data modelKartik Agaram2020-09-231-13/+27
| | | | I actually deleted a test here! Hard-core prototype mode.
* 6841Kartik Agaram2020-09-221-0/+9
| | | | Initial sketch for a menu bar.
* 6840Kartik Agaram2020-09-221-8/+17
| | | | Extract "unmoving background" into a separate function.
* 6839Kartik Agaram2020-09-221-2/+1
| | | | Not sure what I was seeing. clear-screen is plenty stable.
* 6838Kartik Agaram2020-09-221-1/+2
| | | | | | Interestingly, erasing the screen partially looks better to me even though it's clearly slower. The divider never being redrawn provides a sense of stability.