about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-08-19 23:45:04 -0700
committerKartik Agaram <vc@akkartik.com>2019-08-19 23:45:04 -0700
commit668700fd2c48d0380d2e2d1f32faa217ab658fb1 (patch)
tree76628be845b8d1575bff18f342c45c200a918804
parentf7fd97ce4e252156fd943b89230b5b55c35c6447 (diff)
downloadmu-668700fd2c48d0380d2e2d1f32faa217ab658fb1.tar.gz
5521
-rw-r--r--examples/ex1.subx2
-rw-r--r--examples/ex10.subx2
-rw-r--r--examples/ex11.subx2
-rw-r--r--examples/ex12.subx2
-rw-r--r--examples/ex2.subx2
-rw-r--r--examples/ex3.subx2
-rw-r--r--examples/ex4.subx2
-rw-r--r--examples/ex5.subx2
-rw-r--r--examples/ex6.subx2
-rw-r--r--examples/ex7.subx2
-rw-r--r--examples/ex8.subx2
-rw-r--r--examples/ex9.subx2
12 files changed, 12 insertions, 12 deletions
diff --git a/examples/ex1.subx b/examples/ex1.subx
index 0aca40f8..f6e362c7 100644
--- a/examples/ex1.subx
+++ b/examples/ex1.subx
@@ -1,7 +1,7 @@
 # First program: same as https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
 # Just return 42.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex1.2.subx -o examples/ex1
 #   $ ./subx run examples/ex1
 # Expected result:
diff --git a/examples/ex10.subx b/examples/ex10.subx
index 51cc0a8c..29188962 100644
--- a/examples/ex10.subx
+++ b/examples/ex10.subx
@@ -1,6 +1,6 @@
 # String comparison: return 1 iff the two args passed in at the commandline are equal.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex10.subx -o examples/ex10
 #   $ ./subx run examples/ex10 abc abd
 # Expected result:
diff --git a/examples/ex11.subx b/examples/ex11.subx
index ba75c1d3..2c0f8627 100644
--- a/examples/ex11.subx
+++ b/examples/ex11.subx
@@ -5,7 +5,7 @@
 # kernel in a few places. This layer implements a function for comparing
 # a null-terminated 'kernel string' with a length-prefixed 'SubX string'.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex11.subx -o examples/ex11
 #   $ ./subx run examples/ex11  # runs a series of tests
 #   ......  # all tests pass
diff --git a/examples/ex12.subx b/examples/ex12.subx
index 358da1d3..4d1d53d0 100644
--- a/examples/ex12.subx
+++ b/examples/ex12.subx
@@ -1,7 +1,7 @@
 # Example showing mmap syscall.
 # Create a new segment using mmap, save the address, write to it.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex12.subx -o examples/ex12
 #   $ ./subx run examples/ex12
 # You shouldn't get a segmentation fault.
diff --git a/examples/ex2.subx b/examples/ex2.subx
index 025eb0fa..e9738d9f 100644
--- a/examples/ex2.subx
+++ b/examples/ex2.subx
@@ -1,6 +1,6 @@
 # Add 1 and 1, and return the result in the exit code.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex2.subx -o examples/ex2
 #   $ ./subx run examples/ex2
 # Expected result:
diff --git a/examples/ex3.subx b/examples/ex3.subx
index 1d52e87f..08283884 100644
--- a/examples/ex3.subx
+++ b/examples/ex3.subx
@@ -1,6 +1,6 @@
 # Add the first 10 numbers, and return the result in the exit code.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex3.subx -o examples/ex3
 #   $ ./subx run examples/ex3
 # Expected result:
diff --git a/examples/ex4.subx b/examples/ex4.subx
index 31c1c10c..aebb2013 100644
--- a/examples/ex4.subx
+++ b/examples/ex4.subx
@@ -1,6 +1,6 @@
 # Read a character from stdin, save it to a global, write it to stdout.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex4.subx -o examples/ex4
 #   $ ./subx run examples/ex4
 
diff --git a/examples/ex5.subx b/examples/ex5.subx
index 6f5b1d90..97c5111e 100644
--- a/examples/ex5.subx
+++ b/examples/ex5.subx
@@ -1,6 +1,6 @@
 # Read a character from stdin, save it to a local on the stack, write it to stdout.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex5.subx -o examples/ex5
 #   $ ./subx run examples/ex5
 
diff --git a/examples/ex6.subx b/examples/ex6.subx
index a90f11df..67df6574 100644
--- a/examples/ex6.subx
+++ b/examples/ex6.subx
@@ -1,6 +1,6 @@
 # Print out a (global variable) string to stdout.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex6.subx -o examples/ex6
 #   $ ./subx run examples/ex6
 #   Hello, world!
diff --git a/examples/ex7.subx b/examples/ex7.subx
index d3b33f23..1d716c08 100644
--- a/examples/ex7.subx
+++ b/examples/ex7.subx
@@ -4,7 +4,7 @@
 # it for reading, read a character from it, close it, delete it, and return
 # the character read.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex7.subx -o examples/ex7
 #   $ ./subx run examples/ex7
 # Expected result:
diff --git a/examples/ex8.subx b/examples/ex8.subx
index 9d7255e1..fdffb97f 100644
--- a/examples/ex8.subx
+++ b/examples/ex8.subx
@@ -1,6 +1,6 @@
 # Example reading commandline arguments: compute length of first arg.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex8.subx -o examples/ex8
 #   $ ./subx run examples/ex8 abc de fghi
 # Expected result:
diff --git a/examples/ex9.subx b/examples/ex9.subx
index e3318b05..a580c749 100644
--- a/examples/ex9.subx
+++ b/examples/ex9.subx
@@ -3,7 +3,7 @@
 # Show difference between ascii codes of first letter of first arg and first
 # letter of second arg.
 #
-# To run (from the subx directory):
+# To run:
 #   $ ./subx translate examples/ex9.subx -o examples/ex9
 #   $ ./subx run examples/ex9 z x
 # Expected result: