Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | made first compute-offset test pass | nc | 2019-07-07 | 1 | -27/+58 |
| | |||||
* | remove segfaults in survey.subx | nc | 2019-07-07 | 1 | -8/+8 |
| | |||||
* | new failing test: emit-segments | Kartik Agaram | 2019-07-07 | 1 | -1/+254 |
| | | | | Now the only piece I plan to not write tests for is emit-headers. | ||||
* | . | Kartik Agaram | 2019-07-07 | 1 | -7/+8 |
| | |||||
* | move phase 3 out of helpers | Kartik Agaram | 2019-07-07 | 1 | -117/+117 |
| | |||||
* | cleanup in compute-offset and fix bug in compute-width | nc | 2019-07-07 | 1 | -12/+11 |
| | |||||
* | more progress in compute-offset | nc | 2019-07-04 | 1 | -30/+59 |
| | |||||
* | implement segment section in compute-offsets | nc | 2019-07-04 | 1 | -3/+112 |
| | |||||
* | . | Kartik Agaram | 2019-07-04 | 1 | -2/+2 |
| | | | | | | Fix a couple of syntax errors. survey.subx still failing tests. | ||||
* | add todo for section thats not quite complete | nc | 2019-07-03 | 1 | -1/+1 |
| | |||||
* | add is-label block | nc | 2019-07-03 | 1 | -3/+46 |
| | |||||
* | updates to survey - part of compute-offsets implemented | nc | 2019-07-03 | 1 | -1/+136 |
| | |||||
* | subx/survey: now computing label addresses | Kartik Agaram | 2019-07-02 | 1 | -47/+65 |
| | |||||
* | . | Kartik Agaram | 2019-07-02 | 1 | -12/+31 |
| | | | | | subx/survey/compute-addresses: Now computing segment starting addresses correctly. | ||||
* | . | Kartik Agaram | 2019-07-02 | 1 | -5/+5 |
| | |||||
* | . | Kartik Agaram | 2019-07-02 | 1 | -4/+8 |
| | |||||
* | error in pseudocode for compute-offsets | Kartik Agaram | 2019-07-02 | 1 | -1/+3 |
| | |||||
* | . | Kartik Agaram | 2019-07-01 | 1 | -33/+46 |
| | | | | Now tracing segment names correctly. | ||||
* | . | Kartik Agaram | 2019-07-01 | 1 | -0/+27 |
| | |||||
* | . | Kartik Agaram | 2019-07-01 | 1 | -0/+24 |
| | |||||
* | . | Kartik Agaram | 2019-07-01 | 1 | -14/+15 |
| | | | | | | Make `compute-addresses` less clever. Stop striding from the middle of one row to the next. This way we'll also obviate the need for indexing backwards from a pointer in the next commit. | ||||
* | some primitives for emitting traces | Kartik Agaram | 2019-07-01 | 1 | -1/+447 |
| | | | | | | | | | | | | | | Kinda hacky, but might scale enough for machine code. This was really hard to debug. Single tests passed, but when I ran all tests I got breakage because tests long before (from the 056trace layer) were not cleaning up properly. My instinct was to call clear-stream on Trace-stream, which was wrong (the trace didn't have the wrong contents, it was literally a bad object). It was also wrong in a counter-productive way: calling clear-stream on a real Trace stream (which is the size of a page of memory) takes a long time in emulated mode. | ||||
* | add test data | nc | 2019-06-29 | 1 | -1/+10 |
| | |||||
* | Implement is-label? | nc | 2019-06-29 | 1 | -0/+75 |
| | |||||
* | . | Kartik Agaram | 2019-06-28 | 1 | -0/+1 |
| | |||||
* | initial draft of solution for 'compute-addresses' | Kartik Agaram | 2019-06-28 | 1 | -4/+73 |
| | | | | No trace statements yet, so we don't know if it works. | ||||
* | . | Kartik Agaram | 2019-06-28 | 1 | -12/+155 |
| | | | | | Flesh out final test some more. We also now have a new family of primitives for writing non-strings to input streams in tests. | ||||
* | pseudocode skeletons for all functions | Kartik Agaram | 2019-06-13 | 1 | -7/+152 |
| | |||||
* | . | Kartik Agaram | 2019-06-13 | 1 | -1/+36 |
| | |||||
* | flesh out survey tests | Kartik Agaram | 2019-06-12 | 1 | -15/+219 |
| | |||||
* | . | Kartik Agaram | 2019-06-12 | 1 | -5/+0 |
| | | | | | Now that we don't have to edit code to run a single test, delete that commented out fragment everywhere. | ||||
* | Fix stale `initialize-trace-stream` | Kartik Agaram | 2019-06-08 | 1 | -5/+278 |
| | |||||
* | . | Kartik Agaram | 2019-05-27 | 1 | -1/+1 |
| | | | | | | 'get-or-insert-stream' is now the more generic 'get-or-insert' that can handle tables of any value type. But callers have to be careful to cast values to the right type. | ||||
* | . | Kartik Agaram | 2019-05-26 | 1 | -110/+0 |
| | |||||
* | . | Kartik Agaram | 2019-05-25 | 1 | -6/+0 |
| | | | | | hoist 'Heap' variable into the std library in anticipation of the parse-array-of-ints primitive. | ||||
* | . | Kartik Agaram | 2019-05-19 | 1 | -0/+6 |
| | | | | add lengths to data blobs | ||||
* | initial skeleton for survey.subx | Kartik Agaram | 2019-05-18 | 1 | -0/+297 |
Start of the final phase needed to implement SubX in SubX: $ cat files.subx ... |dquotes |assort |pack |survey |hex > a.elf survey.subx is responsible for assigning addresses to labels and segments. |