Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix two hangs in trace-scan | Kartik Agaram | 2019-06-17 | 1 | -6/+27 |
| | | | | | 1. skip-next-line should skip newline 2. trace-scan was falling into an infinite loop on non-matching lines | ||||
* | move test data to bottom of file | Kartik Agaram | 2019-06-17 | 1 | -28/+30 |
| | |||||
* | bugfix to opcode 8f; it requires subops | Kartik Agaram | 2019-06-17 | 1 | -2/+1 |
| | |||||
* | support `CFLAGS=-g ./run_one_test.sh ...` | Kartik Agaram | 2019-06-17 | 1 | -2/+3 |
| | |||||
* | . | Kartik Agaram | 2019-06-16 | 1 | -0/+1 |
| | | | | | | | | This missing line was giving the illusion that all was well when running a single test at a time. Now trace-scan still hangs, but it hangs reliably. And it's clear what the logic error is. | ||||
* | fix bug in skip-next-line | nc | 2019-06-15 | 1 | -1/+2 |
| | |||||
* | implement next-line-matches? | nc | 2019-06-15 | 1 | -8/+133 |
| | |||||
* | implement skip-next-line | nc | 2019-06-15 | 1 | -9/+88 |
| | |||||
* | pseudocode skeletons for all functions | Kartik Agaram | 2019-06-13 | 2 | -7/+152 |
| | |||||
* | . | Kartik Agaram | 2019-06-13 | 1 | -1/+36 |
| | |||||
* | flesh out survey tests | Kartik Agaram | 2019-06-12 | 2 | -15/+219 |
| | |||||
* | . | Kartik Agaram | 2019-06-12 | 1 | -1/+8 |
| | | | | Fix a bug when running tests singly in the 'SubX standard library'. | ||||
* | . | Kartik Agaram | 2019-06-12 | 19 | -114/+0 |
| | | | | | Now that we don't have to edit code to run a single test, delete that commented out fragment everywhere. | ||||
* | . | Kartik Agaram | 2019-06-11 | 1 | -0/+1 |
| | |||||
* | rerun most recent test if cursor not in a test | Kartik Agaram | 2019-06-11 | 2 | -1/+15 |
| | |||||
* | fork vimrc for Mu and SubX | Kartik Agaram | 2019-06-11 | 2 | -65/+93 |
| | | | | | I checked if we needed to bring back anything since commit 3976, but the only difference is dropping the :(scenario) DSL. | ||||
* | only open the trace if test fails | Kartik Agaram | 2019-06-11 | 1 | -2/+16 |
| | |||||
* | new Vim convenience macro | Kartik Agaram | 2019-06-11 | 3 | -0/+40 |
| | | | | Runs test under cursor and opens its trace. | ||||
* | . | Kartik Agaram | 2019-06-11 | 4 | -100/+0 |
| | |||||
* | . | Kartik Agaram | 2019-06-09 | 1 | -7/+7 |
| | |||||
* | . | Kartik Agaram | 2019-06-08 | 1 | -3/+3 |
| | |||||
* | . | Kartik Agaram | 2019-06-08 | 1 | -1/+1 |
| | |||||
* | fix stale docs | Kartik Agaram | 2019-06-08 | 1 | -11/+5 |
| | |||||
* | snapshot of trace primitives | Kartik Agaram | 2019-06-08 | 1 | -0/+346 |
| | |||||
* | . | Kartik Agaram | 2019-06-08 | 9 | -73/+61 |
| | |||||
* | Fix stale `initialize-trace-stream` | Kartik Agaram | 2019-06-08 | 10 | -8/+287 |
| | |||||
* | . | Kartik Agaram | 2019-06-08 | 2 | -0/+0 |
| | |||||
* | . | Kartik Agaram | 2019-06-08 | 9 | -22/+17 |
| | | | | Simplify `string-equal`. | ||||
* | implement compute-width | nc | 2019-06-08 | 2 | -270/+357 |
| | |||||
* | added tests for compute-width | nc | 2019-06-08 | 1 | -0/+112 |
| | |||||
* | start fleshing out trace support some more | Kartik Agaram | 2019-06-05 | 8 | -5/+23 |
| | | | | | I think the path to readable tests for survey.subx passes through white-box tests. | ||||
* | . | Kartik Agaram | 2019-05-27 | 12 | -136/+143 |
| | | | | | | '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 | 6 | -385/+278 |
| | |||||
* | new primitive: check-array-equal | Kartik Agaram | 2019-05-26 | 8 | -0/+68 |
| | |||||
* | new primitive: parse-array-of-ints | Kartik Agaram | 2019-05-25 | 14 | -8/+355 |
| | | | | | | | | | | Mostly for tests. For every new type we want to compare in a test, we're now going to start using some primitive that can parse its value from string. In this manner we can get syntax for literals in machine code. Open question: parsing aggregates of aggregates. Like an array of structs. This is the first time we allocate from the heap in standard library tests. So we now need to start initializing the heap in all our apps. | ||||
* | . | Kartik Agaram | 2019-05-25 | 11 | -18/+17 |
| | | | | | hoist 'Heap' variable into the std library in anticipation of the parse-array-of-ints primitive. | ||||
* | new primitive: array-equal? | Kartik Agaram | 2019-05-25 | 8 | -0/+247 |
| | |||||
* | new primitive for tests: check-string-equal | Kartik Agaram | 2019-05-25 | 8 | -0/+53 |
| | |||||
* | . | Kartik Agaram | 2019-05-25 | 2 | -1/+2 |
| | |||||
* | . | Kartik Agaram | 2019-05-24 | 1 | -7/+6 |
| | |||||
* | . | Kartik Agaram | 2019-05-20 | 1 | -0/+0 |
| | |||||
* | . | Kartik Agaram | 2019-05-19 | 1 | -0/+6 |
| | | | | add lengths to data blobs | ||||
* | initial skeleton for survey.subx | Kartik Agaram | 2019-05-18 | 2 | -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. | ||||
* | 5189 | Kartik Agaram | 2019-05-18 | 7 | -0/+0 |
| | | | | Fix CI. | ||||
* | 5188 | Kartik Agaram | 2019-05-18 | 2 | -12/+9 |
| | | | | Clean up some unused constants. | ||||
* | 5187 | Kartik Agaram | 2019-05-18 | 3 | -2/+3 |
| | | | | CI should have been failing for a few days. Now fixed. | ||||
* | Merge pull request #33 from akkartik/new-segment-header | Kartik Agaram | 2019-05-18 | 42 | -609/+560 |
|\ | | | | | New syntax for segment headers | ||||
| * | switch to new syntax for segment headers in C++ | Kartik Agaram | 2019-05-18 | 36 | -514/+481 |
| | | |||||
| * | support the new segment syntax in assort.subx | Kartik Agaram | 2019-05-17 | 2 | -51/+35 |
| | | | | | | | | | | | | | | | | | | | | | | Now all implemented phases of the SubX translator in SubX support the new syntax: ✓ hex.subx (no changes required) survey.subx (not yet started) ✓ pack.subx (fixed here) ✓ assort.subx ✓ dquotes.subx (has failing tests for other reasons) | ||||
| * | another phase that supports the new segment syntax | Kartik Agaram | 2019-05-17 | 2 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | Current state: ✓ hex.subx (no changes required) survey.subx ✓ pack.subx (fixed here) assort.subx ✓ dquotes.subx (has failing tests for other reasons) |