Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 6431 - Mu function blocks can double as loops | Kartik Agaram | 2020-05-29 | 1 | -7/+5 |
| | |||||
* | 6430 | Kartik Agaram | 2020-05-29 | 1 | -4/+3 |
| | | | | | Perhaps the lack of safety just forces us to make smaller functions, like Forth. | ||||
* | 6429 | Kartik Agaram | 2020-05-29 | 1 | -0/+35 |
| | | | | | Baby steps. I managed to mess up even this tiny refactoring of print-file.mu. Wish output registers were already checked in calls. | ||||
* | 6428 | Kartik Agaram | 2020-05-29 | 1 | -1/+1 |
| | |||||
* | 6426 | Kartik Agaram | 2020-05-28 | 1 | -0/+6 |
| | |||||
* | 6424 | Kartik Agaram | 2020-05-28 | 2 | -0/+0 |
| | |||||
* | 6423 - done with sample app 'print-file' | Kartik Agaram | 2020-05-28 | 2 | -6/+10 |
| | | | | | | | | | | | Observations: - the orchestration from 'in' to 'addr-in' to '_in-addr' to 'in-addr' is quite painful. Once to turn a handle into its address, once to turn a handle into the address of its payload, and a third time to switch a variable out of the overloaded 'eax' variable to make room for read-byte-buffered. - I'm starting to use SubX as an escape hatch for features missing in Mu: - access to syscalls (which pass args in registers) - access to global variables | ||||
* | 6422 - size-of for handles | Kartik Agaram | 2020-05-28 | 3 | -2/+17 |
| | |||||
* | 6421 | Kartik Agaram | 2020-05-28 | 1 | -0/+0 |
| | |||||
* | 6420 | Kartik Agaram | 2020-05-28 | 1 | -2/+5 |
| | | | | | | | Starting to feel the need for more static checks, like when I must use a register, or when a variable has been clobbered. The good news: I thought I'd found a bug in apps/mu, but I hadn't. | ||||
* | 6419 - new primitive for opening files | Kartik Agaram | 2020-05-28 | 1 | -0/+0 |
| | |||||
* | 6418 | Kartik Agaram | 2020-05-28 | 1 | -2/+14 |
| | |||||
* | 6417 | Kartik Agaram | 2020-05-28 | 1 | -0/+8 |
| | |||||
* | 6415 | Kartik Agaram | 2020-05-27 | 1 | -0/+0 |
| | |||||
* | 6413 | Kartik Agaram | 2020-05-27 | 1 | -0/+0 |
| | | | | Fix CI. | ||||
* | 6410 - primitives for raw keyboard input | Kartik Agaram | 2020-05-27 | 1 | -0/+9 |
| | |||||
* | 6409 - primitives for text-mode UIs | Kartik Agaram | 2020-05-27 | 27 | -0/+20 |
| | |||||
* | 6406 - primitive 'copy-handle' | Kartik Agaram | 2020-05-25 | 13 | -0/+0 |
| | |||||
* | 6394 - a catastrophic bug | Kartik Agaram | 2020-05-24 | 2 | -1/+1 |
| | | | | | | | How did new-literal ever work?! Somehow we had eax silently being clobbered without affecting behavior over like 5 apps. Unsafe languages suck. Anyways, factorial.mu is now part of CI. | ||||
* | 6393 - start running .mu apps in CI | Kartik Agaram | 2020-05-24 | 2 | -3/+3 |
| | |||||
* | 6392 - 'length' instruction done in all complexity | Kartik Agaram | 2020-05-24 | 3 | -4/+321 |
| | |||||
* | 6391 | Kartik Agaram | 2020-05-24 | 2 | -45/+86 |
| | |||||
* | 6390 - return `length` in elements | Kartik Agaram | 2020-05-24 | 2 | -22/+88 |
| | |||||
* | 6388 - fix regression #1 | Kartik Agaram | 2020-05-24 | 2 | -19/+118 |
| | |||||
* | 6387 | Kartik Agaram | 2020-05-23 | 2 | -19/+69 |
| | |||||
* | 6382 - re-enable mu.subx in CI | Kartik Agaram | 2020-05-22 | 11 | -21/+21 |
| | | | | | | | | | | | I thought I'd done this in the previous commit, but I hadn't. And, what's more, there was a bug that seemed pretty tough for a time. Turns out my self-hosted translator doesn't support '.' comment tokens in data segments. Hopefully I'm past the valley of the shadow of death now. "I HAVE NO TOOLS BECAUSE I’VE DESTROYED MY TOOLS WITH MY TOOLS." -- James Mickens (https://www.usenix.org/system/files/1311_05-08_mickens.pdf) | ||||
* | update binaries | Kartik Agaram | 2020-05-22 | 13 | -0/+0 |
| | | | | CI should start passing again now. | ||||
* | increase some buffer sizes | Kartik Agaram | 2020-05-22 | 1 | -2/+2 |
| | | | | We can now natively translate mu.subx again. | ||||
* | mu.subx is now using handles everywhere | Kartik Agaram | 2020-05-22 | 1 | -5/+8 |
| | | | | X-( :-)) | ||||
* | mu.subx: 4 failing tests remaining | Kartik Agaram | 2020-05-22 | 1 | -11/+37 |
| | |||||
* | mu.subx: 6 failing tests remaining | Kartik Agaram | 2020-05-22 | 1 | -97/+313 |
| | |||||
* | mu.subx: 7 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -10/+14 |
| | | | | Just for user-defined types. | ||||
* | mu.subx: 9 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -29/+40 |
| | |||||
* | mu.subx: 11 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -30/+40 |
| | |||||
* | mu.subx: 13 failing tests remaining | Kartik Agaram | 2020-05-21 | 1 | -11/+13 |
| | |||||
* | mu.subx: 2 new tests | Kartik Agaram | 2020-05-20 | 1 | -0/+97 |
| | |||||
* | mu.subx: 15 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -9/+10 |
| | | | | The remaining tests are all for user-defined types and arrays. | ||||
* | mu.subx: 17 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -17/+18 |
| | |||||
* | - | Kartik Agaram | 2020-05-20 | 1 | -6/+4 |
| | |||||
* | mu.subx: 21 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -5/+5 |
| | |||||
* | mu.subx: 24 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -49/+54 |
| | |||||
* | mu.subx: 25 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -6/+21 |
| | | | | | | | | | | | | | | | | | This was again hard to debug, because: - the mapping between recursive calls to emit-subx-stmt-list and the nested blocks of code in the output kept blowing my stack, and - I kept expecting the problem to be there, or in the data attached to variables. But it was in the `emit-cleanup-code-until-depth` for the previous/inner block, in code I thought I'd already fixed (`clean-up-blocks`) that accidentally worked for previous tests. Part of the problem here is that my library for the stack sucks. It's only for 4-byte elements, but I'm using it for 8-byte elements (handles). Which leads to double-pushes and double-pops and -- here -- an insidiously wrong call to `top`. Anyways: halfway there! | ||||
* | mu.subx: 26 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -9/+11 |
| | |||||
* | mu.subx: 28 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -10/+35 |
| | | | | | This bug was a bear to track down, but there's been a concomitant payoff: 6 tests starting to pass. | ||||
* | mu.subx: 34 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -36/+49 |
| | |||||
* | - | Kartik Agaram | 2020-05-20 | 1 | -4/+4 |
| | |||||
* | mu.subx: 37 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -11/+13 |
| | |||||
* | mu.subx: 39 failing tests remaining | Kartik Agaram | 2020-05-20 | 1 | -31/+31 |
| | |||||
* | mu.subx: start tracking remaining failing tests | Kartik Agaram | 2020-05-20 | 1 | -40/+40 |
| | | | | We're now passing CI again. | ||||
* | mu.subx: 10/50 top-level tests passing | Kartik Agaram | 2020-05-18 | 1 | -2/+3 |
| |