From f5465e1220d73e237c51897b7d1211ec53b0dc04 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 7 Sep 2015 10:37:27 -0700 Subject: 2177 --- edit/Readme.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 edit/Readme.md (limited to 'edit/Readme.md') diff --git a/edit/Readme.md b/edit/Readme.md new file mode 100644 index 00000000..30b27d9b --- /dev/null +++ b/edit/Readme.md @@ -0,0 +1,33 @@ +Environment for learning programming using mu: http://akkartik.name/post/mu + +Run it from the mu directory: + + ```shell + $ ./mu edit + ``` + +This will load all the `.mu` files in this directory and then run the editor. +Press ctrl-c to quit. Press F4 to save your work (if a lesson/ directory +exists) and to run the contents of the sandbox editor on the right. + +You can also run the tests for the environment: + + ```shell + $ ./mu test edit + ``` + +You can also load the files more explicitly by enumerating them all: + + ```shell + $ ./mu edit/*.mu + ``` + +This is handy if you want to run simpler versions of the editor so you can +stage your learning. + + ```shell + $ ./mu edit/00[12]*.mu # run a simple editor rather than the full environment + ``` + +To see how the various 'layers' are organized, peek inside the individual +`.mu` files. -- cgit 1.4.1-2-gfad0