about summary refs log tree commit diff stats
path: root/apps/dquotes.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6597Kartik Agaram2020-06-291-2/+2
|
* 6596Kartik Agaram2020-06-291-4/+4
|
* 6507 - use syscall names everywhereKartik Agaram2020-06-101-2/+1
|
* dquotes.subx now workingKartik Agaram2020-05-181-6/+21
|
* 6089Kartik Agaram2020-03-061-2/+2
|
* 5924Kartik Agaram2020-01-271-26/+26
|
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-25/+25
| | | | | | | 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-7/+7
| | | | | | | | | | 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-10/+10
|
* 5804Kartik Agaram2019-12-081-37/+37
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5790Kartik Agaram2019-12-051-18/+18
| | | | | | Standardize conventions for labels within objects in the data segment. We're going to use this in a new tool.
* 5753Kartik Agaram2019-11-181-0/+9
| | | | | | | | | Binaries are now identical again. There's a little hack here that we should clean up at some point. But it requires more thought. Ordering compiler phases is hard. So far we're only at the start of the slippery slope into that abyss.
* 5715Kartik Agaram2019-10-261-3/+3
| | | | | | | 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-36/+18
| | | | Replace calculations of constants with labels.
* 5700Kartik Agaram2019-10-171-1/+1
|
* 5698Kartik Agaram2019-10-151-41/+41
| | | | Thanks Andrew Owen for reporting this typo.
* 5676Kartik Agaram2019-09-191-410/+0
|
* 5675 - move helpers from subx-common into layersKartik Agaram2019-09-191-55/+55
| | | | | | | | | | | | | | | | 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.
* 5668 - start reorg to permit syntax sugar in layersKartik Agaram2019-09-191-16/+2
| | | | | | | | | | | | | | | | | | | 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.
* 5661Kartik Agaram2019-09-151-1/+1
|
* 5615 - long strings in self-hosted translatorKartik Agaram2019-09-041-2/+27
| | | | | | My SubX translator phases assume lines are never longer than 512 bytes. However, dquotes.subx was generating lines longer than that by blowing up string literals by 4-5x.
* 5607Kartik Agaram2019-09-011-3/+3
|
* 5600Kartik Agaram2019-08-311-10/+12
|
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-673/+673
|
* 5590Kartik Agaram2019-08-251-1/+1
|
* 5589Kartik Agaram2019-08-251-1/+1
|
* 5586 - bugfix: no desugar inside string literalsKartik Agaram2019-08-251-431/+4
|
* lexing complex expressions inside '*(...)'Kartik Agaram2019-08-231-2/+2
|
* .Kartik Agaram2019-08-161-1/+1
|
* Merge branch 'master' into desugarKartik Agaram2019-07-311-1/+1
|\
| * 5499Kartik Agaram2019-07-311-1/+1
| |
* | desugar: clean up top-level `convert`Kartik Agaram2019-07-311-0/+1
|/ | | | | | | | | 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
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+2757