about summary refs log tree commit diff stats
path: root/subx/apps/survey
Commit message (Collapse)AuthorAgeFilesLines
...
* build `num-bytes`Kartik Agaram2019-07-071-0/+0
|
* move `is-label?` to `subx-common`Kartik Agaram2019-07-071-0/+0
|
* new failing test: emit-segmentsKartik Agaram2019-07-071-0/+0
| | | | Now the only piece I plan to not write tests for is emit-headers.
* more progress in compute-offsetnc2019-07-041-0/+0
|
* .Kartik Agaram2019-07-041-0/+0
| | | | | | Fix a couple of syntax errors. survey.subx still failing tests.
* add is-label blocknc2019-07-031-0/+0
|
* subx/survey: now computing label addressesKartik Agaram2019-07-021-0/+0
|
* .Kartik Agaram2019-07-021-0/+0
| | | | | subx/survey/compute-addresses: Now computing segment starting addresses correctly.
* .Kartik Agaram2019-07-021-0/+0
|
* .Kartik Agaram2019-07-011-0/+0
| | | | Now tracing segment names correctly.
* .Kartik Agaram2019-07-011-0/+0
|
* .Kartik Agaram2019-07-011-0/+0
| | | | | | 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 tracesKartik Agaram2019-07-011-0/+0
| | | | | | | | | | | | | | 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.
* .Kartik Agaram2019-07-011-0/+0
|
* unsigned comparison for addresses in more placesKartik Agaram2019-07-011-0/+0
|
* initial draft of solution for 'compute-addresses'Kartik Agaram2019-06-281-0/+0
| | | | No trace statements yet, so we don't know if it works.
* .Kartik Agaram2019-06-281-0/+0
|
* .Kartik Agaram2019-06-281-0/+0
| | | | | 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 functionsKartik Agaram2019-06-131-0/+0
|
* flesh out survey testsKartik Agaram2019-06-121-0/+0
|
* .Kartik Agaram2019-06-081-0/+0
|
* Fix stale `initialize-trace-stream`Kartik Agaram2019-06-081-0/+0
|
* .Kartik Agaram2019-06-081-0/+0
| | | | Simplify `string-equal`.
* .Kartik Agaram2019-05-271-0/+0
| | | | | | '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 Agaram2019-05-261-0/+0
|
* .Kartik Agaram2019-05-201-0/+0
|
* initial skeleton for survey.subxKartik Agaram2019-05-181-0/+0
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.