about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 6887Kartik Agaram2020-09-276-327/+327
| | | | | subx.md distinguishes between operands and arguments. Let's use that terminology more consistently in the sources.
* 6886 - floating-point divisionKartik Agaram2020-09-273-0/+55
|
* 6885 - starting on floating-point instructionsKartik Agaram2020-09-274-10/+115
| | | | | | | | | I spent some time deciding on the instructions. x87 is a stack ISA, so not a good fit for the rest of SubX. So we use SSE instead. They operate on 32-bit floats, which seems like a good fit. SSE has a bunch of instructions for operating on up to 4 floats at once. We'll ignore all that and just focus on so-called scalar instructions.
* 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-263-17/+81
| | | | First function call working in apps/tile!
* 6867Kartik Agaram2020-09-261-2/+5
| | | | Segfault fixed. This shouldn't have been so hard.
* 6866Kartik Agaram2020-09-261-0/+3
|
* 6865Kartik Agaram2020-09-262-1/+5
|
* 6864Kartik Agaram2020-09-261-1/+3
|
* 6863Kartik Agaram2020-09-262-1/+6
|
* 6862Kartik Agaram2020-09-261-0/+0
| | | | Fix CI.
* 6861 - tile: conventional replKartik Agaram2020-09-263-38/+119
|
* 6860Kartik Agaram2020-09-267-12/+152
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6859Kartik Agaram2020-09-251-0/+47
|
* 6858Kartik Agaram2020-09-251-0/+4
|
* 6857Kartik Agaram2020-09-252-9/+9
|
* 6856Kartik Agaram2020-09-251-5/+5
|
* 6855Kartik Agaram2020-09-253-50/+49
| | | | | 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
|
* 6850Kartik Agaram2020-09-241-7/+2
|
* 6849Kartik Agaram2020-09-241-8/+15
|
* 6848Kartik Agaram2020-09-241-7/+8
|
* 6847Kartik Agaram2020-09-231-20967/+21218
|
* 6846Kartik Agaram2020-09-232-0/+65
|
* 6845Kartik Agaram2020-09-232-34/+46
|
* 6844 - tile: initial data modelKartik Agaram2020-09-233-36/+104
| | | | I actually deleted a test here! Hard-core prototype mode.
* 6843Kartik Agaram2020-09-231-0/+5
| | | | Some keymappings to protect my pinky.
* 6842 - hackily load local Vim settingsKartik Agaram2020-09-233-0/+6
| | | | | | I have scripts to load vimrc.vim from the directory of the file being edited. This hack loads vimrc.vim from the top-level mu/ directory when I edit files in some common directories.
* 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-222-1/+43
| | | | | | 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.