about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-18 07:11:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-18 07:11:36 -0700
commitc22dbbea3960ffbcf983f6ac2d1b0daf9d294461 (patch)
tree16afc1ff9fdff8223bb2181d4f4344e39062d026 /README.md
parent8c47da082b63b6aa6aafd45e1f8f7edd4459e555 (diff)
downloadmu-c22dbbea3960ffbcf983f6ac2d1b0daf9d294461.tar.gz
make code in Readme easier to copy
Thanks Sumeet Agarwal for the suggestion.
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 3e53f3fe..f623ed95 100644
--- a/README.md
+++ b/README.md
@@ -10,10 +10,10 @@ Running the code you want to run, and nothing else.
 Here's the Mu computer running [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).
 
 ```sh
-$ git clone https://github.com/akkartik/mu
-$ cd mu
-$ ./translate life.mu  # emit a bootable code.img
-$ qemu-system-i386 code.img
+git clone https://github.com/akkartik/mu
+cd mu
+./translate life.mu  # emit a bootable code.img
+qemu-system-i386 code.img
 ```
 
 <img alt='screenshot of Game of Life running on the Mu computer' src='html/baremetal-life.png'>
@@ -94,7 +94,7 @@ Mu programs build natively either on Linux or on Windows using [WSL 2](https://d
 For Macs and other Unix-like systems, use the (much slower) emulator:
 
 ```sh
-$ ./translate_emulated ex2.mu  # ~2 mins to emit code.img
+./translate_emulated ex2.mu  # ~2 mins to emit code.img
 ```
 
 Mu programs can be written for two very different environments:
@@ -203,9 +203,9 @@ If you're still reading, here are some more things to check out:
   for a postfix language that I might work on again one day:
 
   ```sh
-  $ cd linux
-  $ ./translate tile/*.mu
-  $ ./a.elf screen
+  cd linux
+  ./translate tile/*.mu
+  ./a.elf screen
   ```
 
 - [A summary](mu_instructions) of how the Mu compiler translates statements