about summary refs log tree commit diff stats
path: root/subx/060read.subx
Commit message (Collapse)AuthorAgeFilesLines
* start using the new carry flagKartik Agaram2019-05-131-1/+1
| | | | | Skimping on tests; the code changes seem pretty trivial. Will this fix CI?!
* 5074Kartik Agaram2019-04-101-2/+87
| | | | | | | | | | | | | Fail early when writing to a fake file runs out of space. Makes debugging tests easier. Reads from files, on the other hand, are only buffering to a temporary stream, so it makes sense to silently stop when they run out of space. In the process I uncovered a testing bug in pack.subx: I was missing a trailing space in the expected result, but the test still passed because the space was getting truncated. Being principled about aborting on overflow by default will help avoid such issues.
* 5073Kartik Agaram2019-04-101-2/+2
|
* 4981 - no, go back to 3 phasesKartik Agaram2019-02-181-7/+0
| | | | | | | | | | | | | Considering how much trouble a merge phase would be (commit 4978), it seems simpler to just add the extra syntax for controlling the entry point of the generated ELF binary. But I wouldn't have noticed this if I hadn't taken the time to write out the commit messages of 4976 and 4978. Even if we happened to already have linked list primitives built, this may still be a good idea considering that I'm saving quite a lot of code in duplicated entrypoints.
* 4973Kartik Agaram2019-02-151-4/+4
| | | | | Support immediate operands in the data segment in all the ways we support them in the code segment.
* 4954Kartik Agaram2019-02-101-21/+21
|
* 4951Kartik Agaram2019-02-031-12/+8
| | | | Cleaner way to compare streams in tests.
* 4950Kartik Agaram2019-02-031-0/+366