Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 5118 - convert int to string | Kartik Agaram | 2019-04-23 | 9 | -0/+285 |
| | |||||
* | 5117 | Kartik Agaram | 2019-04-23 | 1 | -0/+1 |
| | |||||
* | 5116 | Kartik Agaram | 2019-04-23 | 1 | -0/+1 |
| | |||||
* | 5115 | Kartik Agaram | 2019-04-22 | 2 | -1/+1 |
| | |||||
* | 5114 - helper for idiv instruction | Kartik Agaram | 2019-04-21 | 2 | -0/+40 |
| | |||||
* | 5113 - x86's integer division (idiv) instruction | Kartik Agaram | 2019-04-21 | 2 | -2/+94 |
| | |||||
* | 5112 | Kartik Agaram | 2019-04-19 | 2 | -1/+63 |
| | |||||
* | 5111 | Kartik Agaram | 2019-04-18 | 1 | -3/+3 |
| | |||||
* | 5110 | Kartik Agaram | 2019-04-18 | 1 | -2/+3 |
| | |||||
* | Add functionality to support labels as imm32 arguments to opcodes | nc | 2019-04-18 | 1 | -0/+13 |
| | |||||
* | 5108 | Kartik Agaram | 2019-04-18 | 2 | -10/+10 |
| | |||||
* | 5107 | Kartik Agaram | 2019-04-18 | 2 | -4/+281 |
| | |||||
* | 5106 | Kartik Agaram | 2019-04-17 | 3 | -2/+147 |
| | |||||
* | 5105 | Kartik Agaram | 2019-04-16 | 8 | -395/+207 |
| | | | | | Pull in a _different_ function than `next-word` (commit 5092) into a shared file between phases. Let's see how this goes. | ||||
* | 5104 | Kartik Agaram | 2019-04-16 | 2 | -18/+13 |
| | | | | Don't forget metadata for string literals. | ||||
* | 5103 | Kartik Agaram | 2019-04-16 | 2 | -61/+88 |
| | |||||
* | 5102 - tokenize string literals | Kartik Agaram | 2019-04-16 | 2 | -0/+582 |
| | | | | | | Current plan: $ cat files.subx ... |dquotes |assort |pack |survey |hex > a.out | ||||
* | 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 |
| |