about summary refs log tree commit diff stats
path: root/apps/crenshaw2-1
Commit message (Collapse)AuthorAgeFilesLines
* 5804Kartik Agaram2019-12-081-0/+0
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5803Kartik Agaram2019-12-071-0/+0
|
* 5792Kartik Agaram2019-12-051-0/+0
| | | | | Fix a bug in one test: it checks eax when the component under test returns nothing. It's been just accidentally passing all these months.
* 5782 - fix a widespread bug with Heap-sizeKartik Agaram2019-11-301-0/+0
|
* 5778Kartik Agaram2019-11-291-0/+0
|
* 5769 - support uppercase hex in SubXKartik Agaram2019-11-281-0/+0
|
* 5752Kartik Agaram2019-11-181-0/+0
| | | | | | | Support binary operations with reg/mem and reg operands. Everything is passing. However, the self-hosting translator now generates some discrepancies compared to the C++ translator :(
* 5714Kartik Agaram2019-10-251-0/+0
| | | | Replace calculations of constants with labels.
* 5687Kartik Agaram2019-09-231-0/+0
| | | | | | | | | Move stack operations to a layer of their own. It was some short-term pain to take out the syntax sugar from it, but we need access to this layer from braces, which can't depend on sugar since it's part of sugar. Just simpler to keep one clear line and not have to build sometimes with some sugar but not others.
* 5676Kartik Agaram2019-09-191-0/+0
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-0/+0
| | | | | | | | | | | | | | | | This undoes 5672 in favor of a new plan: Layers 000 - 099 are for running without syntax sugar. We use them for building syntax-sugar passes. Layers 100 and up are for running with all syntax sugar. The layers are arranged in approximate order so more phases rely on earlier layers than later ones. I plan to not use intermediate syntax sugar (just sigils without calls, or sigils and calls without braces) anywhere except in the specific passes implementing them.
* 5673 - standardize a few knobsKartik Agaram2019-09-191-0/+0
|
* 5672 - move hex out of appsKartik Agaram2019-09-191-0/+0
|
* 5669Kartik Agaram2019-09-191-0/+0
|
* 5668 - start reorg to permit syntax sugar in layersKartik Agaram2019-09-191-0/+0
| | | | | | | | | | | | | | | | | | | Right now we always build the library before any apps. Apps are where our syntax sugar translators (sigils, calls, braces) live. So we can't use sugar in the standard library. New idea: move all code for SubX phases into the top-level. Perhaps we should also just build a single file rather than pipeline stages. But for now we'll build each phase by building up to some specific layer. This will simplify test_apps and move lots of one-off logic to a more standard form in test_layers. I'm also going to reorg existing layers so that we introduce each phase at a point where it mostly only gets the helpers it needs. This commit itself is just cleaning up some common strings. Using explicit names for them streamlines binaries a bit.
* 5647 - experimental support for swapping OSKartik Agaram2019-09-111-0/+0
|
* 5630Kartik Agaram2019-09-061-0/+0
|
* 5623Kartik Agaram2019-09-041-0/+0
|
* 5616Kartik Agaram2019-09-041-0/+0
|
* 5608 - write int to streamKartik Agaram2019-09-021-0/+0
|
* 5600Kartik Agaram2019-08-311-0/+0
|
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-0/+0
|
* 5591Kartik Agaram2019-08-261-0/+0
|
* build out all variants for skipping whitespaceKartik Agaram2019-08-241-0/+0
| | | | skip {whitespace, non-whitespace} x {from stream, from slice}
* done implementing all variants of 'get'Kartik Agaram2019-08-131-0/+0
|
* done with get-or-stopKartik Agaram2019-08-131-0/+0
|
* half-done testing get-or-stopKartik Agaram2019-08-131-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-131-0/+0
|
* .Kartik Agaram2019-08-131-0/+0
|
* .Kartik Agaram2019-08-131-0/+0
|
* new variant: maybe-get-sliceKartik Agaram2019-08-131-0/+0
|
* new variant: maybe-get returns null on failureKartik Agaram2019-08-121-0/+0
|
* better error message when get abortsKartik Agaram2019-08-121-0/+0
|
* extract table functions into their own layerKartik Agaram2019-08-111-0/+0
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+0