about summary refs log tree commit diff stats
path: root/subx/071read-line.subx
Commit message (Collapse)AuthorAgeFilesLines
* 5408Kartik Agaram2019-07-161-0/+171
| | | | | | | | | | | | Bugfix ten: type error in `convert`. I was calling `rewind-stream` on a `buffered-file`. examples/ex1 is now just one nibble off the canonical. I *have* found one missing feature in the self-hosted translator, though: dquotes doesn't support newlines in strings, even though the C++ version does. dquotes parses them right, but the value initialized in the data segment is wrong.
* .Kartik Agaram2019-06-121-7/+0
| | | | | Now that we don't have to edit code to run a single test, delete that commented out fragment everywhere.
* standardize function namesKartik Agaram2019-05-021-20/+20
| | | | | Operations on buffered-file now always include the word 'buffered'. More verbose, but hopefully this highlights holes in the library.
* 5090Kartik Agaram2019-04-131-27/+2
| | | | | | | Start using the new newline escape in string literals everywhere. I could use it more aggressively, but it makes tests harder to read. So only one line of text per string for now.
* 5059Kartik Agaram2019-04-051-2/+2
|
* 5009Kartik Agaram2019-03-201-1/+1
|
* 4996 - back on pack.subxKartik Agaram2019-03-081-72/+22
| | | | | | | | | Yet another redrawing of responsibilities between convert and its helpers. In the process I discovered a bug in `write-stream-buffered` which ended up taking me through a detour to extract `browse_trace` into its own tool. It turns out just having long buffers is enough to need browse_trace. Simple operations like clearing a stream swamp a flat view of the trace.
* 4983Kartik Agaram2019-02-221-12/+13
| | | | | | | Standardize name for 'end of file' sentinel. `eof` seems like an ordinary variable, and `EOF` looks too much like a register (particularly in code like `if (EAX == EOF)`), so we'll go with `Eof`. Consistent capitalization for globals, and constants are globals too.
* 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.
* 4961Kartik Agaram2019-02-141-4/+4
|
* 4954Kartik Agaram2019-02-101-18/+18
|
* 4952Kartik Agaram2019-02-051-7/+4
|
* 4951Kartik Agaram2019-02-031-7/+6
| | | | Cleaner way to compare streams in tests.
* 4950Kartik Agaram2019-02-031-0/+312