about summary refs log tree commit diff stats
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* .Kartik Agaram2019-08-161-2/+2
|
* sketch of a plan to implement indirect modeKartik Agaram2019-08-162-2/+60
|
* desugar: code-generate *regKartik Agaram2019-08-162-1/+244
|
* plan for supporting indirect modeKartik Agaram2019-08-162-22/+28
| | | | | | | | | | | It may superficially seem like there's a simpler approach: - emit '3/mod' or '0/mod' depending on whether the character is '%' or '*' - increment the start of word-slice - look up the register and emit the appropriate /rm32 But that won't work for 1/mod or 2/mod. We're doing a little bit of upfront planning.
* .Kartik Agaram2019-08-161-4/+4
|
* .Kartik Agaram2019-08-161-1/+1
|
* add desugar to CIKartik Agaram2019-08-131-0/+0
|
* done implementing all variants of 'get'Kartik Agaram2019-08-1310-0/+0
|
* done with get-or-stopKartik Agaram2019-08-1310-0/+0
|
* half-done testing get-or-stopKartik Agaram2019-08-1310-0/+0
| | | | | | Probably not needed for desugar; I'm just working through what we may replace the calls to 'get-slice' with if and when we decide to start focusing error messages and so writing tests for them.
* standardize test input/output/error streamsKartik Agaram2019-08-1314-170/+0
|
* .Kartik Agaram2019-08-1310-0/+0
|
* get desugar working on the commandlineKartik Agaram2019-08-133-7/+54
|
* .Kartik Agaram2019-08-1311-0/+0
|
* new variant: maybe-get-sliceKartik Agaram2019-08-1311-0/+0
|
* new variant: maybe-get returns null on failureKartik Agaram2019-08-1211-0/+0
|
* better error message when get abortsKartik Agaram2019-08-1213-9/+13
|
* extract table functions into their own layerKartik Agaram2019-08-115-921/+0
|
* table-based register conversionKartik Agaram2019-08-012-148/+176
| | | | | | | Requires a change to the C++ translator: support string literals in all segments, not just the code segment. (The self-hosted translator already had this.)
* .Kartik Agaram2019-08-012-26/+28
| | | | | First step to cleaning up `desugar-register`: extract the common '%' to register literals.
* desugar: code-generate %regKartik Agaram2019-07-312-25/+25
| | | | | We're no longer just emitting the register code. We emit all arguments with appropriate metadata.
* .Kartik Agaram2019-07-311-1/+8
|
* Merge branch 'master' into desugarKartik Agaram2019-07-3110-11/+11
|\
| * 5499Kartik Agaram2019-07-3110-11/+11
| |
* | desugar: clean up top-level `convert`Kartik Agaram2019-07-314-43/+84
| | | | | | | | | | | | | | | | | | Model it on `dquotes` rather than `pack`, since it needs almost zero state across words. Manual testing: $ echo 'ab %eax' |subx run apps/desugar ab 0
* | Merge branch 'master' into desugarKartik Agaram2019-07-281-0/+378
|/
* 5485 - promote SubX to top-levelKartik Agaram2019-07-2722-0/+21254