about summary refs log tree commit diff stats
path: root/apps/braces.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6014Kartik Agaram2020-02-171-2/+2
|
* 5926Kartik Agaram2020-01-271-12/+12
|
* 5924Kartik Agaram2020-01-271-9/+9
|
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-9/+9
| | | | | | | 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-4/+4
| | | | | | | | | | 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.
* 5880Kartik Agaram2020-01-101-1/+1
|
* 5876 - address -> addrKartik Agaram2020-01-031-2/+2
|
* 5804Kartik Agaram2019-12-081-10/+10
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5790Kartik Agaram2019-12-051-6/+6
| | | | | | Standardize conventions for labels within objects in the data segment. We're going to use this in a new tool.
* 5782 - fix a widespread bug with Heap-sizeKartik Agaram2019-11-301-1/+1
|
* 5715Kartik Agaram2019-10-261-4/+4
| | | | | | | Clean up pseudocode to match planned syntax for the type- and memory-safe level-2 Mu language. http://akkartik.name/post/mu-2019-2 is already out of date.
* 5714Kartik Agaram2019-10-251-24/+6
| | | | Replace calculations of constants with labels.
* 5700Kartik Agaram2019-10-171-1/+1
|
* 5698Kartik Agaram2019-10-151-9/+9
| | | | Thanks Andrew Owen for reporting this typo.
* 5687Kartik Agaram2019-09-231-274/+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.
* 5679 - braces seem doneKartik Agaram2019-09-201-14/+331
|
* 5678Kartik Agaram2019-09-191-12/+12
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-1/+1
| | | | | | | | | | | | | | | | 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.
* 5667Kartik Agaram2019-09-191-2/+0
|
* 5666 - start of sugar for structured control flowKartik Agaram2019-09-191-0/+337