Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -3/+3 | |
| | ||||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -5/+5 | |
| | ||||||
* | preserve truthiness of non-booleans | Kartik Agaram | 2019-07-08 | 5 | -12/+12 | |
| | | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1. | |||||
* | . | Kartik Agaram | 2019-07-08 | 4 | -6/+16 | |
| | | | | style tweaks | |||||
* | . | Kartik Agaram | 2019-07-08 | 2 | -42/+5 | |
| | | | | DRY out compute-width and compute-width-from-slice. | |||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -60/+60 | |
| | | | | move a function around | |||||
* | . | Kartik Agaram | 2019-07-08 | 1 | -15/+0 | |
| | | | | Delete some empty lines. | |||||
* | build `num-bytes` | Kartik Agaram | 2019-07-07 | 3 | -2/+565 | |
| | ||||||
* | . | Kartik Agaram | 2019-07-07 | 4 | -246/+246 | |
| | | | | reorg in subx-common.subx | |||||
* | move `is-label?` to `subx-common` | Kartik Agaram | 2019-07-07 | 11 | -83/+83 | |
| | ||||||
* | 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 | 2 | -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 | 2 | -27/+13 | |
| | ||||||
* | more progress in compute-offset | nc | 2019-07-04 | 2 | -30/+59 | |
| | ||||||
* | implement segment section in compute-offsets | nc | 2019-07-04 | 1 | -3/+112 | |
| | ||||||
* | . | Kartik Agaram | 2019-07-04 | 2 | -2/+2 | |
| | | | | | | Fix a couple of syntax errors. survey.subx still failing tests. | |||||
* | Merge branch 'master' into survey | Kartik Agaram | 2019-07-03 | 11 | -236/+913 | |
|\ | | | | | | | | | | | High time we pulled in the final changes to dquotes. In the process we fix one recently introduced duplicate symbol. | |||||
| * | 5221 | Kartik Agaram | 2019-05-22 | 1 | -0/+11 | |
| | | | | | | | | Explore using a second register for pointer dereferencing. | |||||
| * | 5219 | Kartik Agaram | 2019-05-22 | 2 | -10/+26 | |
| | | | | | | | | | | After fixing bugs, checking alloc_ids now requires 9 instructions rather than 6. | |||||
| * | 5218 | Kartik Agaram | 2019-05-22 | 10 | -2/+2 | |
| | | ||||||
| * | 5217 | Kartik Agaram | 2019-05-22 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | Couple of typos in handle.subx. We didn't notice because a missing /r32 field gets turned into 0/EAX anyway, and because ECX happens to have the same value as EAX in the specific test caller. But it's still not running as expected, now that I'm looking closely. | |||||
| * | 5216 | Kartik Agaram | 2019-05-22 | 1 | -2/+3 | |
| | | ||||||
| * | 5213 | Kartik Agaram | 2019-05-20 | 1 | -1/+1 | |
| | | ||||||
| * | 5212 | Kartik Agaram | 2019-05-20 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'dquotes-3' | Kartik Agaram | 2019-05-20 | 2 | -181/+830 | |
| |\ | ||||||
| | * | clean up a redundant primitive | Kartik Agaram | 2019-05-20 | 2 | -84/+4 | |
| | | | ||||||
| | * | . | Kartik Agaram | 2019-05-20 | 2 | -6/+6 | |
| | | | ||||||
| | * | dquotes now done | Kartik Agaram | 2019-05-20 | 2 | -41/+162 | |
| | | | | | | | | | | | | | | | We need yet another helper for computing the lengths of strings, while checking for escape sequences. | |||||
| | * | standardize the loop in skip-string-in-slice | Kartik Agaram | 2019-05-20 | 2 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | We're going to be cloning it for the length computation. Anytime we do something non-standard it's invariably short-lived. | |||||
| | * | support string literals in emit-string-literal-data | Kartik Agaram | 2019-05-20 | 2 | -11/+19 | |
| | | | | | | | | | | | | As expected, almost all tests now passing. | |||||
| | * | support string literals in emit-metadata | Kartik Agaram | 2019-05-20 | 2 | -10/+31 | |
| | | | ||||||
| | * | move local variable up following conventions | Kartik Agaram | 2019-05-19 | 2 | -6/+11 | |
| | | | | | | | | | | | | | | | More importantly, don't mix reclaiming locals with discarding args after a call. | |||||
| | * | convention: source arg in ESI | Kartik Agaram | 2019-05-19 | 2 | -8/+15 | |
| | | | | | | | | | | | | I _think_ we'll need to use it below. But may be wrong. | |||||
| | * | handle words with just metadata | Kartik Agaram | 2019-05-19 | 2 | -3/+66 | |
| | | | | | | | | | | | | | | | Kind of a pathological case, but makes our loop follow a standard format, and provides some error checking at low cost. | |||||
| | * | minor style tweaks for emit-metadata | Kartik Agaram | 2019-05-19 | 2 | -40/+27 | |
| | | | ||||||
| | * | minor style cleanup | Kartik Agaram | 2019-05-18 | 1 | -20/+7 | |
| | | | ||||||
| | * | skip-string: fix a bug in computing in->read | Kartik Agaram | 2019-05-18 | 2 | -4/+48 | |
| | | | | | | | | | | | | I was missing a test to catch this. | |||||
| | * | minor style cleanup | Kartik Agaram | 2019-05-18 | 2 | -34/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I like to be able to jump between functions and tests using '}' in Vim :) We also shouldn't put the wrong argument types in the tabular columns. Just make it obvious they're not in use when instructions don't have a ModR/M byte. End-of-line comments are really only useful for instructions with a ModR/M byte. | |||||
| | * | add a bounds check | Kartik Agaram | 2019-05-18 | 2 | -1/+38 | |
| | | | ||||||
| | * | implement skip-string-in-slice and reimplement skip-string in terms of ↵ | nc | 2019-05-18 | 1 | -37/+75 | |
| | | | | | | | | | | | | skip-string-in-slice | |||||
| | * | implemented skip-string | nc | 2019-05-18 | 1 | -0/+51 | |
| | | | ||||||
| | * | another failing test | Kartik Agaram | 2019-05-17 | 2 | -0/+90 | |
| | | | | | | | | | | | | This one should make `emit-metadata` string-aware. | |||||
| | * | dquotes: failing tests for parsing string literals | Kartik Agaram | 2019-05-16 | 2 | -0/+284 | |
| | | | | | | | | | | | | Plan: https://github.com/akkartik/mu/commit/d4a244268841e8e912c98f4587095b701aa5c292#commitcomment-33558279 | |||||
* | | | . | Kartik Agaram | 2019-07-03 | 3 | -248/+0 | |
| | | | | | | | | | | | | Get 'assort.subx' working again. | |||||
* | | | add todo for section thats not quite complete | nc | 2019-07-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | add is-label block | nc | 2019-07-03 | 2 | -3/+46 | |
| | | | ||||||
* | | | updates to survey - part of compute-offsets implemented | nc | 2019-07-03 | 3 | -247/+382 | |
| | | |