about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-09 20:53:02 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-10 10:35:17 -0800
commit0bcfe6e5cf11b27223eb5563315550ab5036f6c6 (patch)
treed480846ecb5328fd09bfde0303bd73add685423a
parenta5010b1b378243ee309ad775df39e7d519e26960 (diff)
downloadmu-0bcfe6e5cf11b27223eb5563315550ab5036f6c6.tar.gz
5880
-rw-r--r--apps/braces.subx2
-rw-r--r--apps/calls.subx2
-rw-r--r--apps/dquotes.subx2
-rw-r--r--apps/factorial2.subx2
-rw-r--r--apps/factorial3.subx2
-rw-r--r--apps/factorial4.subx2
-rw-r--r--apps/mu.subx2
-rw-r--r--apps/mulisp.subx2
-rwxr-xr-xrun_one_test2
9 files changed, 9 insertions, 9 deletions
diff --git a/apps/braces.subx b/apps/braces.subx
index 44e931a7..264f0893 100644
--- a/apps/braces.subx
+++ b/apps/braces.subx
@@ -1,7 +1,7 @@
 # Structured control flow using break/loop rather than jump.
 #
 # To run (on Linux):
-#   $ ./ntranslate init.linux 0*.subx apps/subx-params.subx apps/braces.subx
+#   $ ./translate_subx init.linux 0*.subx apps/subx-params.subx apps/braces.subx
 #   $ mv a.elf apps/braces
 #
 # Example 1:
diff --git a/apps/calls.subx b/apps/calls.subx
index a4615297..f1bc0cd9 100644
--- a/apps/calls.subx
+++ b/apps/calls.subx
@@ -1,7 +1,7 @@
 # Function calls in a single line.
 #
 # To run (on Linux):
-#   $ ./ntranslate init.linux 0*.subx apps/subx-params.subx apps/calls.subx
+#   $ ./translate_subx init.linux 0*.subx apps/subx-params.subx apps/calls.subx
 #   $ mv a.elf apps/calls
 #
 # Example 1:
diff --git a/apps/dquotes.subx b/apps/dquotes.subx
index 3f3fa452..adade39a 100644
--- a/apps/dquotes.subx
+++ b/apps/dquotes.subx
@@ -91,7 +91,7 @@ subx-dquotes:  # in : (addr buffered-file), out : (addr buffered-file)
     #      # TODO: When it was originally written dquotes ran before assort, so
     #      # it assumes lots of segment headers, and emits a new segment of its
     #      # own. We've since had to reorder the phases (see the explanation
-    #      # for a.assort2 in ntranslate). We could clean up a.assort2 if we
+    #      # for a.assort2 in translate_subx). We could clean up a.assort2 if we
     #      # conditionally emit the previous line. But this would require
     #      # teaching dquotes to parse segment headers, so maybe that's not
     #      # best..
diff --git a/apps/factorial2.subx b/apps/factorial2.subx
index e512521a..f6578f1b 100644
--- a/apps/factorial2.subx
+++ b/apps/factorial2.subx
@@ -4,7 +4,7 @@
 #   rm32 operands
 #
 # To run:
-#   $ ./ntranslate init.linux 0*.subx apps/factorial.subx -o apps/factorial
+#   $ ./translate_subx init.linux 0*.subx apps/factorial.subx -o apps/factorial
 #   $ ./subx run apps/factorial
 # Expected result:
 #   $ echo $?
diff --git a/apps/factorial3.subx b/apps/factorial3.subx
index 7a8cee8c..17a8cbbb 100644
--- a/apps/factorial3.subx
+++ b/apps/factorial3.subx
@@ -5,7 +5,7 @@
 #   function calls
 #
 # To run:
-#   $ ./ntranslate init.linux 0*.subx apps/factorial.subx -o apps/factorial
+#   $ ./translate_subx init.linux 0*.subx apps/factorial.subx -o apps/factorial
 #   $ ./subx run apps/factorial
 # Expected result:
 #   $ echo $?
diff --git a/apps/factorial4.subx b/apps/factorial4.subx
index 1881c79d..99d7bff4 100644
--- a/apps/factorial4.subx
+++ b/apps/factorial4.subx
@@ -6,7 +6,7 @@
 #   control flow
 #
 # To run:
-#   $ ./ntranslate init.linux 0*.subx apps/factorial.subx -o apps/factorial
+#   $ ./translate_subx init.linux 0*.subx apps/factorial.subx -o apps/factorial
 #   $ ./subx run apps/factorial
 # Expected result:
 #   $ echo $?
diff --git a/apps/mu.subx b/apps/mu.subx
index 972c8489..fa3c345e 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -2,7 +2,7 @@
 # http://akkartik.name/post/mu-2019-2
 #
 # To run:
-#   $ ./ntranslate init.linux 0*.subx apps/mu.subx
+#   $ ./translate_subx init.linux 0*.subx apps/mu.subx
 
 # == Goals
 # 1. Be memory safe. It should be impossible to corrupt the heap, or to create
diff --git a/apps/mulisp.subx b/apps/mulisp.subx
index d9fbb594..252b0583 100644
--- a/apps/mulisp.subx
+++ b/apps/mulisp.subx
@@ -1,7 +1,7 @@
 # Toy lisp interpreter. Incomplete.
 #
 # To run:
-#   $ ./ntranslate init.linux 0*.subx apps/mulisp.subx
+#   $ ./translate_subx init.linux 0*.subx apps/mulisp.subx
 #   $ ./a.elf
 #   42
 #   => 42
diff --git a/run_one_test b/run_one_test
index a67cfffa..f5aed24b 100755
--- a/run_one_test
+++ b/run_one_test
@@ -19,5 +19,5 @@ fi
 
 set -e
 
-./debug_translate init.linux $(echo $FILES) /tmp/run_one_test.subx
+./translate_subx_debug init.linux $(echo $FILES) /tmp/run_one_test.subx
 CFLAGS=$CFLAGS ./bootstrap --debug --trace run a.elf