about summary refs log tree commit diff stats
path: root/subx/apps/assort
Commit message (Collapse)AuthorAgeFilesLines
* 5153Kartik Agaram2019-05-111-0/+0
|
* 5151 - use mmap everywhere we need a heapKartik Agaram2019-05-101-0/+0
| | | | | All tests passing now. Things are very explicit; before a program can `allocate` memory, it has to first obtain a segment from the OS using `new-segment`.
* 5145Kartik Agaram2019-05-041-0/+0
|
* 5135Kartik Agaram2019-05-041-0/+0
|
* 5118 - convert int to stringKartik Agaram2019-04-231-0/+0
|
* 5115Kartik Agaram2019-04-221-0/+0
|
* 5105Kartik Agaram2019-04-161-0/+0
| | | | | Pull in a _different_ function than `next-word` (commit 5092) into a shared file between phases. Let's see how this goes.
* 5092Kartik Agaram2019-04-151-0/+0
| | | | | | | Realization: 'next-word' can't be reused in converting string literals, because it has to understand string literals. Let's just keep each phase self-contained.
* 5090Kartik Agaram2019-04-131-0/+0
| | | | | | | 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.
* 5087Kartik Agaram2019-04-121-0/+0
| | | | | | | | Fix CI. For some reason allocating 4KB natively on Linux triggers a segfault. Temporarily reducing segment size to 256 bytes; that's large enough for the test. But it's not a long-term solution. Maybe I need to grow the heap with sbrk()?
* 5085 - 'assort' phase done!Kartik Agaram2019-04-121-0/+0
| | | | | | | | | | | | | | | | | Current plan for SubX translator: $ cat files.subx ... |assort |pack |survey |hex > a.out Higher-level notations will be inserted at the start of the pipeline. The first (and needed for bootstrapping) is for string literals. $ cat files.subx ... |string-literals |assort |pack |survey |hex > a.out Alternatively, we should check how often we use string literals and just convert them by hand. They're used all over in tests, and converting them would make tests hard (even harder) to read.
* 5080Kartik Agaram2019-04-111-0/+0
|
* 5076Kartik Agaram2019-04-101-0/+0
|
* 5075Kartik Agaram2019-04-101-0/+0
|
* 5062Kartik Agaram2019-04-061-0/+0
|
* 5060Kartik Agaram2019-04-061-0/+0