about summary refs log tree commit diff stats
path: root/subx/apps/subx-common.subx
Commit message (Collapse)AuthorAgeFilesLines
* preserve truthiness of non-booleansKartik Agaram2019-07-081-12/+12
| | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1.
* .Kartik Agaram2019-07-081-6/+16
| | | | style tweaks
* .Kartik Agaram2019-07-081-42/+5
| | | | DRY out compute-width and compute-width-from-slice.
* .Kartik Agaram2019-07-081-60/+60
| | | | move a function around
* .Kartik Agaram2019-07-081-15/+0
| | | | Delete some empty lines.
* build `num-bytes`Kartik Agaram2019-07-071-2/+62
|
* .Kartik Agaram2019-07-071-246/+246
| | | | reorg in subx-common.subx
* move `is-label?` to `subx-common`Kartik Agaram2019-07-071-0/+83
|
* cleanup in compute-offset and fix bug in compute-widthnc2019-07-071-15/+2
|
* updates to survey - part of compute-offsets implementednc2019-07-031-0/+246
|
* unsigned comparison for addresses in more placesKartik Agaram2019-07-011-2/+2
|
* .Kartik Agaram2019-07-011-2/+2
|
* initial draft of solution for 'compute-addresses'Kartik Agaram2019-06-281-9/+256
| | | | No trace statements yet, so we don't know if it works.
* .Kartik Agaram2019-06-281-41/+41
|
* .Kartik Agaram2019-06-091-7/+7
|
* implement compute-widthnc2019-06-081-2/+357
|
* added tests for compute-widthnc2019-06-081-0/+112
|
* .Kartik Agaram2019-05-271-115/+107
| | | | | | '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/+274
|
* standardize function namesKartik Agaram2019-05-021-3/+3
| | | | | Operations on buffered-file now always include the word 'buffered'. More verbose, but hopefully this highlights holes in the library.
* 5105Kartik Agaram2019-04-161-0/+198
| | | | | 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-251/+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.
* 5058Kartik Agaram2019-04-051-0/+251