about summary refs log tree commit diff stats
path: root/apps/crenshaw2-1b.subx
Commit message (Collapse)AuthorAgeFilesLines
* 7842 - new directory organizationKartik K. Agaram2021-03-031-750/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Baremetal is now the default build target and therefore has its sources at the top-level. Baremetal programs build using the phase-2 Mu toolchain that requires a Linux kernel. This phase-2 codebase which used to be at the top-level is now under the linux/ directory. Finally, the phase-2 toolchain, while self-hosting, has a way to bootstrap from a C implementation, which is now stored in linux/bootstrap. The bootstrap C implementation uses some literate programming tools that are now in linux/bootstrap/tools. So the whole thing has gotten inverted. Each directory should build one artifact and include the main sources (along with standard library). Tools used for building it are relegated to sub-directories, even though those tools are often useful in their own right, and have had lots of interesting programs written using them. A couple of things have gotten dropped in this process: - I had old ways to run on just a Linux kernel, or with a Soso kernel. No more. - I had some old tooling for running a single test at the cursor. I haven't used that lately. Maybe I'll bring it back one day. The reorg isn't done yet. Still to do: - redo documentation everywhere. All the README files, all other markdown, particularly vocabulary.md. - clean up how-to-run comments at the start of programs everywhere - rethink what to do with the html/ directory. Do we even want to keep supporting it? In spite of these shortcomings, all the scripts at the top-level, linux/ and linux/bootstrap are working. The names of the scripts also feel reasonable. This is a good milestone to take stock at.
* 7441Kartik Agaram2020-12-281-1/+1
|
* 6508 - support null exit-descriptorKartik Agaram2020-06-101-8/+2
|
* 6507 - use syscall names everywhereKartik Agaram2020-06-101-2/+1
|
* 6182 - start of support for safe handlesKartik Agaram2020-04-031-6/+6
| | | | | | | | | | | | | | So far it's unclear how to do this in a series of small commits. Still nibbling around the edges. In this commit we standardize some terminology: The length of an array or stream is denominated in the high-level elements. The _size_ is denominated in bytes. The thing we encode into the type is always the size, not the length. There's still an open question of what to do about the Mu `length` operator. I'd like to modify it to provide the length. Currently it provides the size. If I can't fix that I'll rename it.
* 6089Kartik Agaram2020-03-061-6/+6
|
* 5924Kartik Agaram2020-01-271-11/+11
|
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-7/+7
| | | | | | | 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-6/+6
| | | | | | | | | | 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-15/+15
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5790Kartik Agaram2019-12-051-8/+8
| | | | | | 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
|
* 5714Kartik Agaram2019-10-251-16/+8
| | | | Replace calculations of constants with labels.
* 5700Kartik Agaram2019-10-171-4/+4
|
* 5698Kartik Agaram2019-10-151-11/+11
| | | | Thanks Andrew Owen for reporting this typo.
* 5673 - standardize a few knobsKartik Agaram2019-09-191-2/+2
|
* 5661Kartik Agaram2019-09-151-2/+2
|
* 5607Kartik Agaram2019-09-011-3/+3
|
* 5600Kartik Agaram2019-08-311-8/+11
|
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-237/+237
|
* 5589Kartik Agaram2019-08-251-1/+1
|
* standardize test input/output/error streamsKartik Agaram2019-08-131-23/+0
|
* 5499Kartik Agaram2019-07-311-1/+1
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+785