about summary refs log tree commit diff stats
path: root/067parse-hex.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6085Kartik Agaram2020-03-061-17/+78
| | | | Support parsing ints from strings rather than slices.
* 6083Kartik Agaram2020-03-061-38/+38
|
* 6014Kartik Agaram2020-02-171-1/+1
|
* 5924Kartik Agaram2020-01-271-24/+24
|
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-21/+21
| | | | | | | Signed and unsigned don't quite capture the essence of what the different combinations of x86 flags are doing for SubX. The crucial distinction is that one set of comparison operators is for integers and the second is for addresses.
* 5883 - drop the `ref` keywordKartik Agaram2020-01-121-14/+14
| | | | | | | | | | When I created it I was conflating two things: a) needing to refer to just the start, rather than the whole, and b) counting indirections. Both are kinda ill-posed. Now Mu will have just `addr` and `handle` types. Normal types will translate implicitly to `addr` types, while `handle` will always require explicit handling.
* 5876 - address -> addrKartik Agaram2020-01-031-4/+4
|
* 5804Kartik Agaram2019-12-081-25/+27
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5790Kartik Agaram2019-12-051-2/+2
| | | | | | Standardize conventions for labels within objects in the data segment. We're going to use this in a new tool.
* 5770Kartik Agaram2019-11-281-1/+1
|
* 5769 - support uppercase hex in SubXKartik Agaram2019-11-281-8/+12
|
* 5714Kartik Agaram2019-10-251-4/+2
| | | | Replace calculations of constants with labels.
* 5698Kartik Agaram2019-10-151-34/+34
| | | | Thanks Andrew Owen for reporting this typo.
* 5668 - start reorg to permit syntax sugar in layersKartik Agaram2019-09-191-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-440/+440
|
* desugar: parsing seems completeKartik Agaram2019-08-251-2/+2
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+874