Commit Graph

7881 Commits

Author SHA1 Message Date
Kartik K. Agaram 9586db164c make the library reference easier to find 2021-03-09 00:41:26 -08:00
Kartik K. Agaram a77643c66a . 2021-03-09 00:24:03 -08:00
Kartik K. Agaram cec5ef31b3 update vocabulary documentation
Top-level and linux/ now have separate vocabulary.md files.
2021-03-08 23:50:35 -08:00
Kartik K. Agaram 6508ab51cc . 2021-03-08 21:24:45 -08:00
Kartik K. Agaram fe72699390 . 2021-03-08 21:14:06 -08:00
Kartik K. Agaram 38ab33a18d . 2021-03-08 21:04:38 -08:00
Kartik K. Agaram 3ef3d46d72 . 2021-03-08 21:04:03 -08:00
Kartik K. Agaram 2e58ffd653 . 2021-03-08 21:03:15 -08:00
Kartik K. Agaram 0810c7b77e readme for the Mu shell 2021-03-08 20:57:11 -08:00
Kartik K. Agaram aaf2941bfe . 2021-03-08 18:05:36 -08:00
Kartik K. Agaram d124be9cb6 strip spaces when tokenizing
Thanks Max Bernstein for reporting this.
2021-03-08 17:54:07 -08:00
Kartik K. Agaram e58980b4c8 get rid of ctrl-d/ctrl-u when browsing trace
Also clean up the menu. Mode-specific stuff goes after Tab.
2021-03-08 16:27:41 -08:00
Kartik Agaram de349209ad
Merge pull request #46 from tekknolagi/main
Add j/k keybindings for navigating trace
2021-03-08 16:12:27 -08:00
Max Bernstein 96e75f1070 Add j/k keybindings for navigating trace
These are familiar for Vim users.
2021-03-08 15:40:49 -08:00
Kartik K. Agaram de7713d974 7867 2021-03-07 21:05:45 -08:00
Kartik Agaram 1a1a1671ed 7866 2021-03-07 19:46:21 -08:00
Kartik Agaram e5b8721ca4 7865 2021-03-07 19:29:54 -08:00
Kartik K. Agaram 65e22a3628 7864 - shell: clean up the trace some more 2021-03-07 14:18:24 -08:00
Kartik K. Agaram d2b7e3f44f 7863 - shell: anonymous fn calls 2021-03-07 11:05:03 -08:00
Kartik K. Agaram 5b50feaeee 7862 - shell: more informative traces for eval
Also a bugfix in dealing with streams in cells that is becoming part of
a pattern.
2021-03-07 10:55:11 -08:00
Kartik K. Agaram 410782c79e 7861 - shell: anonymous fn calls without args
((fn () (+ 1 1)))
2021-03-07 08:53:31 -08:00
Kartik K. Agaram 477e58f0b2 7860 2021-03-06 23:38:46 -08:00
Kartik K. Agaram 8f01e2d553 7859 2021-03-06 23:15:27 -08:00
Kartik K. Agaram 7fef31d272 7858 - shell: anonymous fn expressions 2021-03-06 23:03:23 -08:00
Kartik K. Agaram bcde6be528 7857 - shell: first function call 2021-03-05 15:18:46 -08:00
Kartik K. Agaram e4fc67ee44 7856 - shell: primitive functions 2021-03-05 09:30:15 -08:00
Kartik K. Agaram d3b508b16c 7855 2021-03-05 09:02:56 -08:00
Kartik K. Agaram 2454f72c8a 7854 - shell: symbol lookup 2021-03-05 06:19:21 -08:00
Kartik K. Agaram 275a652402 7853 2021-03-05 06:07:50 -08:00
Kartik K. Agaram 3417a0b32a 7852 2021-03-05 05:42:27 -08:00
Kartik K. Agaram 091a4e4001 7851 - shell snapshot: symbol lookup 2021-03-05 05:28:28 -08:00
Kartik K. Agaram 7baa80a2fb 7850 2021-03-04 22:16:03 -08:00
Kartik K. Agaram e5ff0c39a6 7849 - shell: literal numbers 2021-03-04 22:05:39 -08:00
Kartik K. Agaram 57c3617ef6 7848 2021-03-04 00:27:57 -08:00
Kartik K. Agaram b964fa586f 7847 2021-03-04 00:24:24 -08:00
Kartik K. Agaram 2d306e2a98 7846 2021-03-04 00:11:23 -08:00
Kartik K. Agaram baaf53aba4 7845 2021-03-03 23:29:58 -08:00
Kartik K. Agaram cd24db08f0 7844 2021-03-03 23:28:46 -08:00
Kartik K. Agaram 3b81d74813 7843 - clean up README after directory reorg 2021-03-03 23:24:33 -08:00
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