about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 5850 - driver script for translating Mu programsKartik Agaram2020-01-013-0/+69
|
* 5849 - more integration testing of function callsKartik Agaram2020-01-012-7/+98
| | | | | | | | | | | | | | | | I can now run this program: fn main -> result/ebx: int { result <- do-add 3 4 } fn do-add a: int, b: int -> result/ebx: int { result <- copy a result <- add b } We still can't define local variables, but can write any programs involving ints by passing in enough arguments for temporaries.
* 5848Kartik Agaram2020-01-011-5/+5
|
* 5847 - literal inputsKartik Agaram2019-12-3116-1/+308
|
* 5846Kartik Agaram2019-12-301-10/+10
|
* 5845Kartik Agaram2019-12-301-0/+3
|
* 5844Kartik Agaram2019-12-301-3/+3
| | | | | Let's start putting r32 first in compare instructions that need it. Ordering there is quite subtle and of great import.
* 5843Kartik Agaram2019-12-291-1/+1
|
* 5842Kartik Agaram2019-12-291-0/+44
| | | | | | Extremely crappy syntax highlighting for Emacs. I just can't wrap my head around elisp, and I'm inclined to blame elisp. Checking this off my todo list and moving on.
* 5841 - rudimentary syntax highlighting for geditKartik Agaram2019-12-281-0/+29
|
* 5840 - syntax highlighting for nano (!!)Kartik Agaram2019-12-281-0/+16
|
* 5839 - colors for comments and string literalsKartik Agaram2019-12-282-1/+32
|
* 5838 - syntax highlighting for atomKartik Agaram2019-12-284-0/+63
|
* 5837 - better colors for trace browserKartik Agaram2019-12-281-10/+25
|
* 5836Kartik Agaram2019-12-281-1/+1
|
* 5835Kartik Agaram2019-12-2819-3787/+4858
|
* 5834Kartik Agaram2019-12-272-3/+4
| | | | Bugfix.
* 5833Kartik Agaram2019-12-271-1/+1
|
* 5832 - support for function outputsKartik Agaram2019-12-272-14/+138
| | | | | | | | | | | We haven't implemented it yet, but there's now a design for how we check whether a function has written its output correctly. Functions must write to each output at the top level at least once, and never overwrite an output register in the top-level once it's been defined. This is conservative (it can be perfectly reasonable for functions to write the output, reuse the register for a temporary, and then write the output again) but easy to check.
* 5831Kartik Agaram2019-12-272-27/+38
|
* 5830Kartik Agaram2019-12-262-1/+5
| | | | | Bugfix: statements defining a new register variable require an initializer instruction.
* 5829Kartik Agaram2019-12-261-5/+15
|
* 5828 - copy (mov) instructionsKartik Agaram2019-12-262-22/+144
|
* 5827 - give primitives one more bit of metadataKartik Agaram2019-12-262-4/+59
| | | | | Copy (mov) instructions are unlike instructions we've encoded so far, in that their destination is not read.
* 5826 - done with basic binary opsKartik Agaram2019-12-262-0/+197
|
* 5825 - code-generation for add opcodesKartik Agaram2019-12-262-26/+158
|
* 5824 - code-generation for all inc/dec opcodesKartik Agaram2019-12-262-2/+199
|
* 5823Kartik Agaram2019-12-222-0/+55
|
* 5822Kartik Agaram2019-12-222-3/+3
|
* 5821 - now translating function argumentsKartik Agaram2019-12-223-111/+157
| | | | See test-convert-function-with-arg-and-body.
* 5820Kartik Agaram2019-12-221-38/+177
| | | | | | | | | | | One test failing. It took enough debugging just to get to the expected failure that it seems worth saving this snapshot. Saw some signs that I have to remember to zero-out allocated memory. We need a scalable solution for this. I think parse-var-with-type needs to be rewritten. Just added a test and a hacky fix for now.
* 5819Kartik Agaram2019-12-223-3/+3
| | | | Minor tweaks to stop wasting horizontal space in the trace.
* 5818Kartik Agaram2019-12-224-16/+16
|
* 5817Kartik Agaram2019-12-221-1/+4
|
* 5816 - browse_trace bug fixedKartik Agaram2019-12-211-0/+1
|
* 5815Kartik Agaram2019-12-211-4/+4
|
* 5814Kartik Agaram2019-12-211-25/+25
|
* 5813Kartik Agaram2019-12-211-2/+1
|
* 5812 - debugging an ancient niggle in browse_traceKartik Agaram2019-12-211-6/+5
| | | | | | | | The problem: when I hit 'G' to go to the bottom of the trace, if the bottom is visible on screen, the screen scrolls so the bottom of the trace is the bottom-most line on screen. But the cursor moves to where the trace used to end rather than the new location of the bottom of the trace (the bottom of the screen).
* 5811Kartik Agaram2019-12-211-2/+2
|
* 5810Kartik Agaram2019-12-093-24/+25
|
* 5809Kartik Agaram2019-12-093-8/+9
|
* 5808Kartik Agaram2019-12-092-89/+0
|
* 5807Kartik Agaram2019-12-099-599/+673
|
* 5806Kartik Agaram2019-12-0979-16594/+16610
|
* 5805Kartik Agaram2019-12-081-0/+12
|
* 5804Kartik Agaram2019-12-0868-1078/+1122
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5803Kartik Agaram2019-12-0715-27/+7
|
* 5802Kartik Agaram2019-12-071-1/+1
| | | | Fix CI.
* 5801 - move `tangle` to `tools/` dirKartik Agaram2019-12-0711-1096/+1087
|