Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 6522 - redo support for 'byte' | Kartik Agaram | 2020-06-15 | 2 | -13/+81 |
| | | | | | | | | | | | Before: bytes can't live on the stack, so size(byte) == 1 just for array elements. After: bytes mostly can't live on the stack except for function args (which seem too useful to disallow), so size(byte) == 4 except there's now a new primitive called element-size for array elements where size(byte) == 1. Now apps/browse.subx starts working again. | ||||
* | 6521 - new primitive: array size in bytes | Kartik Agaram | 2020-06-14 | 2 | -0/+17 |
| | |||||
* | 6520 - new app: parse-int | Kartik Agaram | 2020-06-14 | 16 | -8/+290 |
| | | | | | | Several bugs fixed in the process, and expectation of further bugs is growing. I'd somehow started assuming I don't need to have separate cases for rm32 as a register vs mem. That's not right. We might need more reg-reg Primitives. | ||||
* | 6519 | Kartik Agaram | 2020-06-13 | 1 | -1/+47 |
| | | | | More fucking amateur hour. | ||||
* | 6518 - extra args through a whole swathe of places | Kartik Agaram | 2020-06-13 | 2 | -7/+54 |
| | | | | | | | | Most unbelievably, I'd forgotten to pass the output 'out' arg to 'lookup-var' long before the recent additions of 'err' and 'ed' args. But things continued to work because an earlier call just happened to leave the arg at just the right place on the stack. So we only caught all these places when we had to provide error messages. | ||||
* | 6517 | Kartik Agaram | 2020-06-13 | 1 | -14034/+14335 |
| | |||||
* | 6516 - operations on bytes | Kartik Agaram | 2020-06-13 | 4 | -11/+228 |
| | | | | | | Byte-oriented addressing is only supported in a couple of instructions in SubX. As a result, variables of type 'byte' can't live on the stack, or in registers 'esi' and 'edi'. | ||||
* | 6515 - error if 'get' on unknown field | Kartik Agaram | 2020-06-12 | 2 | -2/+117 |
| | | | | We can't yet say in the error message precisely where the 'get' occurs. | ||||
* | 6514 | Kartik Agaram | 2020-06-12 | 1 | -3/+3 |
| | |||||
* | 6513 | Kartik Agaram | 2020-06-12 | 67 | -25070/+25441 |
| | |||||
* | 6512 | Kartik Agaram | 2020-06-12 | 1 | -14762/+14758 |
| | |||||
* | 6511 - start of error-checking | Kartik Agaram | 2020-06-12 | 2 | -17/+84 |
| | | | | | We now raise an error if a variable is declared on the stack with an initializer. And there are unit tests for this functionality. | ||||
* | 6510 | Kartik Agaram | 2020-06-11 | 8 | -8/+8 |
| | |||||
* | 6509 - mu.subx: exit-descriptors everywhere | Kartik Agaram | 2020-06-11 | 2 | -323/+285 |
| | |||||
* | 6508 - support null exit-descriptor | Kartik Agaram | 2020-06-10 | 17 | -30/+19 |
| | |||||
* | 6507 - use syscall names everywhere | Kartik Agaram | 2020-06-10 | 54 | -213/+108 |
| | |||||
* | 6506 | Kartik Agaram | 2020-06-10 | 1 | -3/+0 |
| | |||||
* | 6505 | Kartik Agaram | 2020-06-09 | 1 | -1/+1 |
| | |||||
* | 6504 | Kartik Agaram | 2020-06-08 | 1 | -0/+1 |
| | |||||
* | 6503 | Kartik Agaram | 2020-06-08 | 3 | -12/+4 |
| | |||||
* | 6502 | Kartik Agaram | 2020-06-07 | 3 | -14753/+15233 |
| | |||||
* | 6501 | Kartik Agaram | 2020-06-07 | 2 | -2/+2 |
| | | | | Bugfix in support for CRLF line-endings. | ||||
* | 6500 | Kartik Agaram | 2020-06-07 | 3 | -174/+174 |
| | | | | Minor formatting tweaks. | ||||
* | 6499 | Kartik Agaram | 2020-06-07 | 1 | -2/+2 |
| | |||||
* | 6498 | Kartik Agaram | 2020-06-06 | 2 | -116/+116 |
| | | | | | Switch bullet lists in Markdown files away from `*`; it's ambiguous with emphasis. | ||||
* | 6497 | Kartik Agaram | 2020-06-06 | 1 | -19/+29 |
| | |||||
* | 6496 | Kartik Agaram | 2020-06-06 | 5 | -1/+474 |
| | |||||
* | 6495 | Kartik Agaram | 2020-06-06 | 2 | -89/+91 |
| | |||||
* | 6494 | Kartik Agaram | 2020-06-06 | 4 | -0/+471 |
| | |||||
* | 6493 - browse: '#'s inside lines aren't headings | Kartik Agaram | 2020-06-06 | 4 | -11/+18 |
| | |||||
* | 6492 | Kartik Agaram | 2020-06-06 | 1 | -2/+0 |
| | |||||
* | 6491 | Kartik Agaram | 2020-06-06 | 4 | -0/+466 |
| | |||||
* | 6490 - browse: some manual tests | Kartik Agaram | 2020-06-06 | 2 | -0/+16293 |
| | |||||
* | 6489 - browse app: headers | Kartik Agaram | 2020-06-06 | 2 | -2/+94 |
| | | | | | Again quite ugly. There's an increasing amount of state here, particularly the interplay between headers and soft newlines. | ||||
* | 6488 | Kartik Agaram | 2020-06-05 | 4 | -0/+377 |
| | |||||
* | 6487 - browse: support soft newlines | Kartik Agaram | 2020-06-05 | 3 | -6/+55 |
| | | | | | I'm not bothering with this for bold regions just yet. Might need rethinking, given how ugly this is. | ||||
* | 6486 | Kartik Agaram | 2020-06-05 | 4 | -0/+332 |
| | |||||
* | 6485 | Kartik Agaram | 2020-06-05 | 1 | -5/+9 |
| | |||||
* | 6484 | Kartik Agaram | 2020-06-05 | 1 | -16/+6 |
| | | | | Ooh, it's nice and composable if we just never render the delimiters. Perfect. | ||||
* | 6483 - finally, bold markup in the paginator | Kartik Agaram | 2020-06-05 | 1 | -1/+75 |
| | | | | | | The state machines are still not composing perfectly. The initial asterisk gets added in one, and the trailing asterisk in another. I suppose "always render the terminator" is fairly regular. | ||||
* | 6482 | Kartik Agaram | 2020-06-05 | 4 | -0/+261 |
| | |||||
* | 6481 | Kartik Agaram | 2020-06-05 | 4 | -0/+0 |
| | |||||
* | 6480 | Kartik Agaram | 2020-06-05 | 2 | -6/+9 |
| | |||||
* | 6479 | Kartik Agaram | 2020-06-05 | 2 | -1/+59 |
| | | | | | Fix a stray copy-paste when deciding whether to emit spills for registers (commit 6464). | ||||
* | 6478 | Kartik Agaram | 2020-06-05 | 1 | -1/+1 |
| | | | | Fix CI. | ||||
* | 6477 | Kartik Agaram | 2020-06-05 | 2 | -36/+157 |
| | | | | | | | I had a little "optimization" to avoid creating nested blocks if "they weren't needed". Except, of course, they were. Lose the optimization. Sometimes we create multiple jumps when a single one would suffice. Ignore that for now. | ||||
* | 6476 | Kartik Agaram | 2020-06-05 | 4 | -0/+258 |
| | |||||
* | 6475 | Kartik Agaram | 2020-06-05 | 4 | -0/+258 |
| | |||||
* | 6474 | Kartik Agaram | 2020-06-05 | 16 | -44/+44 |
| | |||||
* | 6473 | Kartik Agaram | 2020-06-05 | 4 | -0/+238 |
| |