Kartik Agaram
6030d7e2e5
4801
...
Reindent all SubX code to make some room for the new comment style.
2018-11-30 10:54:42 -08:00
Kartik Agaram
e5cbbea435
4780
2018-11-26 00:26:20 -08:00
Kartik Agaram
d9820d82f8
4767
2018-11-24 13:21:33 -08:00
Kartik Agaram
6ee77ba7bb
4760
2018-11-21 22:25:26 -08:00
Kartik Agaram
4e647f4f21
4759
2018-11-20 23:18:49 -08:00
Kartik Agaram
fa04aebdc2
4756
...
Long-standing and long-copied typo has been messing with our exit status
on test failures.
2018-11-19 23:34:20 -08:00
Kartik Agaram
b31455f81d
4747 - subx: 'read' primitive
2018-11-18 00:17:29 -08:00
Kartik Agaram
3d9108130f
4746
2018-11-17 23:36:32 -08:00
Kartik Agaram
267fd885b2
4745
2018-11-17 20:45:22 -08:00
Kartik Agaram
11a5fffade
4743
2018-11-12 22:00:51 -08:00
Kartik Agaram
dd63f4dcb4
4738
2018-10-30 22:36:52 -07:00
Kartik Agaram
f94442fe2d
4736
...
We'll use a common stream data structure for input and output streams.
Having separate types makes more sense in a more high-level language, where
we have type checking and where functions for handling the different types
are more concise. But in machine code the sweet spot is more toward fewer
types.
2018-10-29 16:34:47 -07:00
Kartik Agaram
3d94e2db0e
4735
2018-10-28 23:17:56 -07:00
Kartik Agaram
261b1b8056
4719 - testable interface wrapping around exit()
2018-10-24 22:21:59 -07:00
Kartik Agaram
b847538071
4711
...
Extract a helper for appending strings to raw buffers.
I'd been resisting this idea, but it actually turns out to be a pretty
clean abstraction in the end.
2018-10-17 22:31:39 -07:00
Kartik Agaram
4cc517e0de
4710
...
Start using write() instead of _write().. and we promptly find a typo when
dealing with real file descriptors.
2018-10-17 08:19:03 -07:00
Kartik Agaram
800320a70c
4708
2018-10-17 06:47:28 -07:00
Kartik Agaram
3d6450f216
4707 - subx: dependency-injected write() primitive
2018-10-16 23:44:31 -07:00