Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 6448 - markdown for bold | Kartik Agaram | 2020-05-30 | 1 | -2/+39 |
| | |||||
* | 6447 | Kartik Agaram | 2020-05-30 | 4 | -2/+30 |
| | |||||
* | 6446 | Kartik Agaram | 2020-05-30 | 2 | -6/+1 |
| | |||||
* | 6442 | Kartik Agaram | 2020-05-30 | 2 | -1/+0 |
| | |||||
* | 6441 | Kartik Agaram | 2020-05-29 | 1 | -0/+0 |
| | | | | Just always flush Stdout when printing numbers. | ||||
* | 6440 | Kartik Agaram | 2020-05-29 | 1 | -0/+0 |
| | | | | | Minor reordering; the hacky flush-stdout is now only needed if we ever call print-int32-to-screen. | ||||
* | 6439 | Kartik Agaram | 2020-05-29 | 1 | -2/+0 |
| | | | | | Make print-byte less error-prone to use. Now none of our screen primitives are buffered. | ||||
* | 6438 - multiple pages on screen | Kartik Agaram | 2020-05-29 | 1 | -7/+28 |
| | | | | At the moment the number of pages is hard-coded to my screen width. | ||||
* | 6437 - check screen/window dimensions | Kartik Agaram | 2020-05-29 | 1 | -6/+11 |
| | | | | | | | | This was why I was trying to use a different output register: a second function to call. And I managed to mess it up again, changing the output of load-file, but not how it was computed in the body. | ||||
* | 6436 | Kartik Agaram | 2020-05-29 | 1 | -2/+0 |
| | |||||
* | 6435 | Kartik Agaram | 2020-05-29 | 1 | -2/+13 |
| | |||||
* | 6434 | Kartik Agaram | 2020-05-29 | 1 | -3/+3 |
| | |||||
* | 6433 - render newlines correctly | Kartik Agaram | 2020-05-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | There were three confounding issues to get past before this seemed to be working right: - row/col count from 1 rather than 0 - I was thinking in decimal rather than hex - print-byte buffers to stdout, but print-string does not. I didn't think this mattered, but it does matter to flush the current line before moving cursor again. Only one of these issues was a bug in the code. The first two were bugs in my mental model that necessitated no changes to code to be corrected. | ||||
* | 6432 - paginator starting to take shape | Kartik Agaram | 2020-05-29 | 1 | -2/+56 |
| | |||||
* | 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 |
| |