about summary refs log tree commit diff stats
path: root/prototypes/README.md
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-31 23:43:49 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-31 23:43:49 -0700
commit9cc69d69c6cd83ed4aa367b4a08ca379cae45805 (patch)
treeb469fd1bf0b3e46258cd835f82da72ee3d26e310 /prototypes/README.md
parent2f16a74783d830caf2cc01bd67996317195c94c9 (diff)
downloadmu-9cc69d69c6cd83ed4aa367b4a08ca379cae45805.tar.gz
6456 - new directory for live-blogging prototypes
I don't have layers yet in Mu. But I can still create lots of versions
of a program.
Diffstat (limited to 'prototypes/README.md')
-rw-r--r--prototypes/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/prototypes/README.md b/prototypes/README.md
new file mode 100644
index 00000000..28d3b298
--- /dev/null
+++ b/prototypes/README.md
@@ -0,0 +1,23 @@
+# Prototypes
+
+Each directory here is a series of prototypes for a single app.
+
+To build prototype #n of app X under this directory:
+
+```
+$ ./translate_mu prototypes/__X__/__n__.mu
+```
+
+Now try running it with some text file:
+
+```
+$ ./a.elf __text_file__
+```
+
+Sub-directories are prototypes with multiple files. Build them like this:
+
+```
+$ ./translate_mu prototypes/__X__/__n__/*.mu
+```
+
+Run them as before.