Commit Graph

7742 Commits

Author SHA1 Message Date
Kartik K. Agaram 71e4f38129 7842 - new directory organization
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.
2021-03-03 22:21:03 -08:00
Kartik Agaram c6b928be29 7841 2021-03-03 11:04:07 -08:00
Kartik K. Agaram 249bef13d8 7840 2021-03-01 23:49:53 -08:00
Kartik K. Agaram 89b7ea80a5 7839 2021-03-01 23:43:25 -08:00
Kartik K. Agaram 124be197a0 7838 2021-03-01 23:27:07 -08:00
Kartik K. Agaram 0749772be1 7837 - printing s-expressions 2021-03-01 23:25:22 -08:00
Kartik K. Agaram 0517cfd573 7836 2021-03-01 23:24:36 -08:00
Kartik K. Agaram ce64fef18f 7835 2021-03-01 22:41:13 -08:00
Kartik Agaram cfeb71c898 7834 2021-03-01 14:59:37 -08:00
Kartik Agaram 5f8d065d5d 7833 2021-02-28 21:29:47 -08:00
Kartik K. Agaram b8f5ef8df5 7832 2021-02-28 20:37:57 -08:00
Kartik K. Agaram 31a5c8f685 7831 2021-02-28 20:34:58 -08:00
Kartik K. Agaram 6b50dddd30 7830 2021-02-28 20:04:40 -08:00
Kartik K. Agaram 4c978c648b 7829 2021-02-28 19:12:16 -08:00
Kartik K. Agaram 06407bf0f3 7828 2021-02-28 19:11:41 -08:00
Kartik K. Agaram 755c02c4e6 7827 2021-02-28 18:47:34 -08:00
Kartik K. Agaram 3ce9511621 7826 2021-02-28 18:44:20 -08:00
Kartik K. Agaram e759d88d94 7825 2021-02-28 18:08:58 -08:00
Kartik K. Agaram 48d439d10e 7824 2021-02-28 15:28:17 -08:00
Kartik K. Agaram b89c158e3e 7823 2021-02-28 15:13:59 -08:00
Kartik K. Agaram 1211a47e0b 7822 2021-02-28 13:04:14 -08:00
Kartik K. Agaram 31a31570b6 7821 - baremetal/shell: parse numbers 2021-02-27 13:24:22 -08:00
Kartik K. Agaram da164c5154 7820 - baremetal/shell: don't show labels in trace 2021-02-27 13:16:33 -08:00
Kartik K. Agaram cb66df2e97 7819 2021-02-27 13:05:07 -08:00
Kartik K. Agaram 03178cde6f 7818 - baremetal/shell: parse numbers 2021-02-27 07:21:29 -08:00
Kartik K. Agaram a9e0cb7cc9 7817
Detour: writing float to stream.
In the process I found a bug at the SubX layer X-(
2021-02-27 06:55:41 -08:00
Kartik K. Agaram c782d38f0b 7816 2021-02-26 22:14:36 -08:00
Kartik K. Agaram c4f43035b0 7815 2021-02-26 22:11:57 -08:00
Kartik K. Agaram d3ec20aa03 7814 2021-02-26 22:11:12 -08:00
Kartik K. Agaram 4d0fd93cb0 7813 2021-02-26 22:08:26 -08:00
Kartik K. Agaram 8493c6da9e 7812 2021-02-26 22:04:30 -08:00
Kartik K. Agaram 7f496b840a 7811 2021-02-26 21:29:41 -08:00
Kartik K. Agaram 9b09ecfd82 7810 2021-02-26 21:29:39 -08:00
Kartik K. Agaram 882cab69f7 7809 2021-02-26 21:26:19 -08:00
Kartik K. Agaram a65ea6e4a7 7808 2021-02-26 21:26:09 -08:00
Kartik K. Agaram f4bf14b338 7807 2021-02-26 21:19:11 -08:00
Kartik K. Agaram f95fdafa5b 7806 2021-02-26 21:13:54 -08:00
Kartik K. Agaram 07eb5584c7 7805 2021-02-25 22:15:59 -08:00
Kartik K. Agaram a7b335a04e 7804 2021-02-25 21:52:25 -08:00
Kartik K. Agaram 03e8ad5dd9 7803 2021-02-25 21:31:39 -08:00
Kartik K. Agaram 7eb8152108 7802
Better tracing of the tokenization phase.
2021-02-24 23:03:31 -08:00
Kartik K. Agaram 640896da21 7801 - baremetal/shell: expanding trace 2021-02-24 22:37:13 -08:00
Kartik K. Agaram 56dd4530cc 7800 2021-02-24 10:51:06 -08:00
Kartik K. Agaram abf3eb86b6 7799 2021-02-24 10:50:35 -08:00
Kartik K. Agaram 4eb50e412b 7798 2021-02-24 09:35:32 -08:00
Kartik K. Agaram 8fbdfe2240 7797 2021-02-23 09:10:35 -08:00
Kartik K. Agaram 7d34b82a59 7796 2021-02-23 08:58:43 -08:00
Kartik K. Agaram 8cf66cb2a2 7795 2021-02-23 08:27:26 -08:00
Kartik K. Agaram a230aca7fa 7794 2021-02-23 08:22:46 -08:00
Kartik K. Agaram 2812e20608 7793 - baremetal/shell: menu 2021-02-22 23:59:35 -08:00