Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 5102 | Kartik Agaram | 2019-04-16 | 7 | -11/+11 | |
| | ||||||
* | 5101 | Kartik Agaram | 2019-04-16 | 1 | -1/+1 | |
| | ||||||
* | 5100 | Kartik Agaram | 2019-04-16 | 1 | -1/+1 | |
| | ||||||
* | 5099 | Kartik Agaram | 2019-04-16 | 1 | -4/+4 | |
| | ||||||
* | 5098 | Kartik Agaram | 2019-04-16 | 1 | -6/+6 | |
| | ||||||
* | 5097 | Kartik Agaram | 2019-04-16 | 2 | -8/+10 | |
| | ||||||
* | 5096 | Kartik Agaram | 2019-04-16 | 1 | -2/+2 | |
| | ||||||
* | 5095 | Kartik Agaram | 2019-04-16 | 1 | -1/+1 | |
| | ||||||
* | 5094 | Kartik Agaram | 2019-04-16 | 1 | -2/+25 | |
| | | | | Split off a couple of tests so we can name desired behaviors. | |||||
* | 5093 | Kartik Agaram | 2019-04-16 | 1 | -3/+3 | |
| | | | | Bugfix in string escapes. | |||||
* | 5092 | Kartik Agaram | 2019-04-15 | 6 | -253/+492 | |
| | | | | | | | 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. | |||||
* | 5091 | Kartik Agaram | 2019-04-13 | 1 | -3/+6 | |
| | ||||||
* | 5090 | Kartik Agaram | 2019-04-13 | 15 | -911/+162 | |
| | | | | | | | 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. | |||||
* | 5089 | Kartik Agaram | 2019-04-13 | 2 | -8/+8 | |
| | | | | Fix CI; unfortunately it runs C++98. | |||||
* | Add support for escape sequences in string literals fixed traces so they can ↵ | nc | 2019-04-13 | 4 | -12/+39 | |
| | | | | handle newlines | |||||
* | 5087 | Kartik Agaram | 2019-04-12 | 2 | -1/+2 | |
| | | | | | | | | 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()? | |||||
* | 5086 | Kartik Agaram | 2019-04-12 | 1 | -0/+8 | |
| | ||||||
* | 5085 - 'assort' phase done! | Kartik Agaram | 2019-04-12 | 4 | -408/+510 | |
| | | | | | | | | | | | | | | | | | 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. | |||||
* | 5084 | Kartik Agaram | 2019-04-11 | 7 | -9/+9 | |
| | ||||||
* | 5083 | Kartik Agaram | 2019-04-11 | 1 | -1/+2 | |
| | ||||||
* | 5082 | Kartik Agaram | 2019-04-11 | 1 | -2/+3 | |
| | ||||||
* | 5080 | Kartik Agaram | 2019-04-11 | 6 | -110/+78 | |
| | ||||||
* | 5078 | Kartik Agaram | 2019-04-11 | 1 | -4/+4 | |
| | ||||||
* | 5076 | Kartik Agaram | 2019-04-10 | 1 | -0/+0 | |
| | ||||||
* | 5075 | Kartik Agaram | 2019-04-10 | 1 | -0/+0 | |
| | ||||||
* | 5074 | Kartik Agaram | 2019-04-10 | 12 | -125/+290 | |
| | | | | | | | | | | | | | 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. | |||||
* | 5073 | Kartik Agaram | 2019-04-10 | 1 | -2/+2 | |
| | ||||||
* | 5072 | Kartik Agaram | 2019-04-10 | 1 | -15/+1 | |
| | ||||||
* | 5071 | Kartik Agaram | 2019-04-10 | 1 | -12/+15 | |
| | ||||||
* | 5070 | Kartik Agaram | 2019-04-10 | 1 | -1/+1 | |
| | ||||||
* | 5069 | Kartik Agaram | 2019-04-10 | 1 | -7/+7 | |
| | ||||||
* | 5068 | Kartik Agaram | 2019-04-10 | 1 | -1/+1 | |
| | | | | Temporary title for HN submission. | |||||
* | 5067 | Kartik Agaram | 2019-04-10 | 1 | -11/+11 | |
| | ||||||
* | 5066 | Kartik Agaram | 2019-04-10 | 1 | -253/+223 | |
| | ||||||
* | 5064 | Kartik Agaram | 2019-04-07 | 1 | -3/+2 | |
| | ||||||
* | 5063 | Kartik Agaram | 2019-04-07 | 1 | -69/+0 | |
| | ||||||
* | 5062 | Kartik Agaram | 2019-04-06 | 2 | -391/+460 | |
| | ||||||
* | 5061 | Kartik Agaram | 2019-04-06 | 1 | -1/+1 | |
| | ||||||
* | 5060 | Kartik Agaram | 2019-04-06 | 10 | -13/+273 | |
| | ||||||
* | 5059 | Kartik Agaram | 2019-04-05 | 17 | -43/+43 | |
| | ||||||
* | 5058 | Kartik Agaram | 2019-04-05 | 4 | -246/+252 | |
| | ||||||
* | 5057 | Kartik Agaram | 2019-04-05 | 1 | -1/+35 | |
| | ||||||
* | 5056 | Kartik Agaram | 2019-04-05 | 7 | -2/+144 | |
| | ||||||
* | 5055 - new phase: merge fragment of segments | Kartik Agaram | 2019-04-04 | 1 | -0/+1102 | |
| | ||||||
* | 5054 | Kartik Agaram | 2019-04-03 | 2 | -4/+3 | |
| | ||||||
* | 5053 | Kartik Agaram | 2019-04-03 | 9 | -154/+266 | |
| | | | | | | write-stream-buffered isn't a clean abstraction. Ignoring the 'read' index of a stream is a hack. It's just saving us the trouble of a rewind-stream. So make it a helper of pack.subx rather than part of the standard library. | |||||
* | 5052 | Kartik Agaram | 2019-04-02 | 2 | -99/+127 | |
| | ||||||
* | 5051 - done compiling SIB operands | Kartik Agaram | 2019-04-02 | 2 | -3/+671 | |
| | | | | Done with pack.subx?! | |||||
* | 5050 - compile ModR/M operands | Kartik Agaram | 2019-04-02 | 3 | -3/+809 | |
| | ||||||
* | 5049 | Kartik Agaram | 2019-04-02 | 1 | -100/+196 | |
| |