about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-15 00:29:52 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-15 00:29:52 -0700
commitf39eaf81fa6cbc831b8021736c7f71b7d9587de7 (patch)
tree3ba0ea4b7a73990dd0594f2a4188e6e4af74c4ae
parent5e4c6714b8b1c81a6b788b2d71049f6cabeb8e7c (diff)
downloadmu-f39eaf81fa6cbc831b8021736c7f71b7d9587de7.tar.gz
5661
-rw-r--r--apps/assort.subx2
-rw-r--r--apps/calls.subx2
-rw-r--r--apps/crenshaw2-1.subx4
-rw-r--r--apps/crenshaw2-1b.subx4
-rw-r--r--apps/dquotes.subx2
-rw-r--r--apps/factorial.subx2
-rw-r--r--apps/handle.subx2
-rw-r--r--apps/hex.subx2
-rw-r--r--apps/mulisp.subx2
-rw-r--r--apps/pack.subx2
-rw-r--r--apps/random.subx2
-rw-r--r--apps/sigils.subx2
-rw-r--r--apps/survey.subx4
-rw-r--r--apps/tests.subx2
-rw-r--r--html/apps/assort.subx.html2
-rw-r--r--html/apps/calls.subx.html2
-rw-r--r--html/apps/crenshaw2-1.subx.html4
-rw-r--r--html/apps/crenshaw2-1b.subx.html4
-rw-r--r--html/apps/dquotes.subx.html2
-rw-r--r--html/apps/factorial.subx.html2
-rw-r--r--html/apps/handle.subx.html2
-rw-r--r--html/apps/hex.subx.html2
-rw-r--r--html/apps/mulisp.subx.html2
-rw-r--r--html/apps/pack.subx.html2
-rw-r--r--html/apps/random.subx.html2
-rw-r--r--html/apps/sigils.subx.html2
-rw-r--r--html/apps/survey.subx.html4
-rw-r--r--html/apps/tests.subx.html2
28 files changed, 34 insertions, 34 deletions
diff --git a/apps/assort.subx b/apps/assort.subx
index 57ed1eb2..71aee164 100644
--- a/apps/assort.subx
+++ b/apps/assort.subx
@@ -7,7 +7,7 @@
 # because we don't know if they refer to the line above or the line below.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/assort.subx  -o apps/assort
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/assort.subx  -o apps/assort
 #   $ cat x
 #   == code
 #   abc
diff --git a/apps/calls.subx b/apps/calls.subx
index a7e3bd57..f0be2286 100644
--- a/apps/calls.subx
+++ b/apps/calls.subx
@@ -1,7 +1,7 @@
 # Function calls in a single line.
 #
 # To run (on Linux):
-#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/calls.subx
+#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/calls.subx
 #   $ mv a.elf apps/calls
 #   $ chmod +x apps/calls
 #
diff --git a/apps/crenshaw2-1.subx b/apps/crenshaw2-1.subx
index 5d1c9c0c..42d8571a 100644
--- a/apps/crenshaw2-1.subx
+++ b/apps/crenshaw2-1.subx
@@ -3,7 +3,7 @@
 # except that we support hex digits.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1
+#   $ ./subx translate init.linux 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1
 #   $ echo '3'  |./subx run apps/crenshaw2-1
 # Expected output:
 #   # syscall(exit, 3)
@@ -13,7 +13,7 @@
 #
 # To run the generated output:
 #   $ echo '3'  |./subx run apps/crenshaw2-1 > z1.subx
-#   $ ./subx translate z1.subx -o z1
+#   $ ./subx translate init.linux z1.subx -o z1
 #   $ ./subx run z1
 #   $ echo $?
 #   3
diff --git a/apps/crenshaw2-1b.subx b/apps/crenshaw2-1b.subx
index 908ca942..9679bdab 100644
--- a/apps/crenshaw2-1b.subx
+++ b/apps/crenshaw2-1b.subx
@@ -3,7 +3,7 @@
 # except that we support hex numbers of multiple digits.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b
+#   $ ./subx translate init.linux 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b
 #   $ echo '1a'  |./subx run apps/crenshaw2-1b
 # Expected output:
 #   # syscall(exit, 1a)
@@ -13,7 +13,7 @@
 #
 # To run the generated output:
 #   $ echo '1a'  |./subx run apps/crenshaw2-1b > z1.subx
-#   $ ./subx translate z1.subx -o z1
+#   $ ./subx translate init.linux z1.subx -o z1
 #   $ ./subx run z1
 #   $ echo $?
 #   26  # 0x1a in decimal
diff --git a/apps/dquotes.subx b/apps/dquotes.subx
index 2fe9f9c3..6e5882b9 100644
--- a/apps/dquotes.subx
+++ b/apps/dquotes.subx
@@ -2,7 +2,7 @@
 # Replace them with references to new variables in the data segment.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/dquotes.subx  -o apps/dquotes
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/dquotes.subx  -o apps/dquotes
 #   $ cat x
 #   == code
 #   ab "cd ef"/imm32
diff --git a/apps/factorial.subx b/apps/factorial.subx
index 23cb8294..4701615b 100644
--- a/apps/factorial.subx
+++ b/apps/factorial.subx
@@ -1,7 +1,7 @@
 ## compute the factorial of 5, and return the result in the exit code
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/factorial.subx -o apps/factorial
+#   $ ./subx translate init.linux 0*.subx apps/factorial.subx -o apps/factorial
 #   $ ./subx run apps/factorial
 # Expected result:
 #   $ echo $?
diff --git a/apps/handle.subx b/apps/handle.subx
index 94e3d5b5..b5c98422 100644
--- a/apps/handle.subx
+++ b/apps/handle.subx
@@ -13,7 +13,7 @@
 #   offset 4: address
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/handle.subx -o apps/handle
+#   $ ./subx translate init.linux 0*.subx apps/handle.subx -o apps/handle
 #   $ ./subx run apps/handle
 # Expected result is a successful lookup followed by a hard abort:
 #   lookup succeeded
diff --git a/apps/hex.subx b/apps/hex.subx
index 57b112ab..ad09a3c3 100644
--- a/apps/hex.subx
+++ b/apps/hex.subx
@@ -3,7 +3,7 @@
 # comments between '#' and newline.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex
 #   $ echo '80 81 82  # comment'  |./subx run apps/hex  |xxd -
 # Expected output:
 #   00000000: 8081 82
diff --git a/apps/mulisp.subx b/apps/mulisp.subx
index d57a14a5..59e1f561 100644
--- a/apps/mulisp.subx
+++ b/apps/mulisp.subx
@@ -1,7 +1,7 @@
 # Toy lisp interpreter
 #
 # To run:
-#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/mulisp.subx
+#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/mulisp.subx
 #   $ ./a.elf
 #   42
 #   => 42
diff --git a/apps/pack.subx b/apps/pack.subx
index 36896669..f4caceba 100644
--- a/apps/pack.subx
+++ b/apps/pack.subx
@@ -3,7 +3,7 @@
 # uses are left untouched.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack
 #   $ echo '05/add-to-eax 0x20/imm32'  |./subx run apps/pack
 # Expected output:
 #   05 20 00 00 00  # 05/add-to-eax 0x20/imm32
diff --git a/apps/random.subx b/apps/random.subx
index beae5819..535b89e4 100644
--- a/apps/random.subx
+++ b/apps/random.subx
@@ -1,7 +1,7 @@
 # Repeatedly read 32-bit numbers from /dev/random, print them to stdout.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/random.subx -o apps/random
+#   $ ./subx translate init.linux 0*.subx apps/random.subx -o apps/random
 #   $ ./subx run apps/random
 
 == code 0x09000000
diff --git a/apps/sigils.subx b/apps/sigils.subx
index 1e2d27b7..e495483e 100644
--- a/apps/sigils.subx
+++ b/apps/sigils.subx
@@ -2,7 +2,7 @@
 # other related arguments.
 #
 # To run:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils
 #
 # We currently support the following notations:
 #
diff --git a/apps/survey.subx b/apps/survey.subx
index 2738da38..e685d436 100644
--- a/apps/survey.subx
+++ b/apps/survey.subx
@@ -5,7 +5,7 @@
 #   b) add segment headers with addresses and offsets correctly filled in
 #
 # To build:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey
 #
 # The expected input is a stream of bytes with segment headers, comments and
 # some interspersed labels.
@@ -1994,7 +1994,7 @@ emit-segments:  # in : (address stream), out : (address buffered-file), segments
     #           abort
     #         if has-metadata?(word-slice, "imm8")
     #           abort
-    #         emit(out, info->address, 4)  # global variables always translate to absolute addresses
+    #         emit(out, info->address, 4)  # global variables always translate init.linux to absolute addresses
     #       # code segment cases
     #       else if has-metadata?(word-slice, "imm8")
     #         abort  # label should never go to imm8
diff --git a/apps/tests.subx b/apps/tests.subx
index 92447067..cb6bd034 100644
--- a/apps/tests.subx
+++ b/apps/tests.subx
@@ -2,7 +2,7 @@
 # all functions starting with 'test-'.
 #
 # To build:
-#   $ ./subx translate 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests
+#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests
 
 == code
 #   instruction                     effective address                                                   register    displacement    immediate
diff --git a/html/apps/assort.subx.html b/html/apps/assort.subx.html
index 80e53122..4e7ca431 100644
--- a/html/apps/assort.subx.html
+++ b/html/apps/assort.subx.html
@@ -69,7 +69,7 @@ if ('onhashchange' in window) {
 <span id="L7" class="LineNr">  7 </span><span class="subxComment"># because we don't know if they refer to the line above or the line below.</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment">#</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment"># To run:</span>
-<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/assort.subx  -o apps/assort</span>
+<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/assort.subx  -o apps/assort</span>
 <span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   $ cat x</span>
 <span id="L12" class="LineNr"> 12 </span><span class="subxComment">#   == code</span>
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#   abc</span>
diff --git a/html/apps/calls.subx.html b/html/apps/calls.subx.html
index 707593ec..0840478d 100644
--- a/html/apps/calls.subx.html
+++ b/html/apps/calls.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">   1 </span><span class="subxComment"># Function calls in a single line.</span>
 <span id="L2" class="LineNr">   2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># To run (on Linux):</span>
-<span id="L4" class="LineNr">   4 </span><span class="subxComment">#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/calls.subx</span>
+<span id="L4" class="LineNr">   4 </span><span class="subxComment">#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/calls.subx</span>
 <span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ mv a.elf apps/calls</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ chmod +x apps/calls</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#</span>
diff --git a/html/apps/crenshaw2-1.subx.html b/html/apps/crenshaw2-1.subx.html
index 088f2973..c43092d9 100644
--- a/html/apps/crenshaw2-1.subx.html
+++ b/html/apps/crenshaw2-1.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># except that we support hex digits.</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment"># To run:</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1</span>
+<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo '3'  |./subx run apps/crenshaw2-1</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment">#   # syscall(exit, 3)</span>
@@ -74,7 +74,7 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#</span>
 <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># To run the generated output:</span>
 <span id="L15" class="LineNr"> 15 </span><span class="subxComment">#   $ echo '3'  |./subx run apps/crenshaw2-1 &gt; z1.subx</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate z1.subx -o z1</span>
+<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate init.linux z1.subx -o z1</span>
 <span id="L17" class="LineNr"> 17 </span><span class="subxComment">#   $ ./subx run z1</span>
 <span id="L18" class="LineNr"> 18 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L19" class="LineNr"> 19 </span><span class="subxComment">#   3</span>
diff --git a/html/apps/crenshaw2-1b.subx.html b/html/apps/crenshaw2-1b.subx.html
index 4918134a..ee008c8a 100644
--- a/html/apps/crenshaw2-1b.subx.html
+++ b/html/apps/crenshaw2-1b.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># except that we support hex numbers of multiple digits.</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment"># To run:</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b</span>
+<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo '1a'  |./subx run apps/crenshaw2-1b</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment">#   # syscall(exit, 1a)</span>
@@ -74,7 +74,7 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#</span>
 <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># To run the generated output:</span>
 <span id="L15" class="LineNr"> 15 </span><span class="subxComment">#   $ echo '1a'  |./subx run apps/crenshaw2-1b &gt; z1.subx</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate z1.subx -o z1</span>
+<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate init.linux z1.subx -o z1</span>
 <span id="L17" class="LineNr"> 17 </span><span class="subxComment">#   $ ./subx run z1</span>
 <span id="L18" class="LineNr"> 18 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L19" class="LineNr"> 19 </span><span class="subxComment">#   26  # 0x1a in decimal</span>
diff --git a/html/apps/dquotes.subx.html b/html/apps/dquotes.subx.html
index 64ca241a..4cbe96b2 100644
--- a/html/apps/dquotes.subx.html
+++ b/html/apps/dquotes.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr">   2 </span><span class="subxComment"># Replace them with references to new variables in the data segment.</span>
 <span id="L3" class="LineNr">   3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr">   4 </span><span class="subxComment"># To run:</span>
-<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/dquotes.subx  -o apps/dquotes</span>
+<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/dquotes.subx  -o apps/dquotes</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ cat x</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#   == code</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment">#   ab &quot;cd ef&quot;/imm32</span>
diff --git a/html/apps/factorial.subx.html b/html/apps/factorial.subx.html
index 1c8d35b7..a5750aef 100644
--- a/html/apps/factorial.subx.html
+++ b/html/apps/factorial.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">  1 </span><span class="subxComment">## compute the factorial of 5, and return the result in the exit code</span>
 <span id="L2" class="LineNr">  2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># To run:</span>
-<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/factorial.subx -o apps/factorial</span>
+<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/factorial.subx -o apps/factorial</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx run apps/factorial</span>
 <span id="L6" class="LineNr">  6 </span><span class="subxComment"># Expected result:</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo $?</span>
diff --git a/html/apps/handle.subx.html b/html/apps/handle.subx.html
index e6a85e29..b7a0dfdf 100644
--- a/html/apps/handle.subx.html
+++ b/html/apps/handle.subx.html
@@ -76,7 +76,7 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#   offset 4: address</span>
 <span id="L14" class="LineNr"> 14 </span><span class="subxComment">#</span>
 <span id="L15" class="LineNr"> 15 </span><span class="subxComment"># To run:</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/handle.subx -o apps/handle</span>
+<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/handle.subx -o apps/handle</span>
 <span id="L17" class="LineNr"> 17 </span><span class="subxComment">#   $ ./subx run apps/handle</span>
 <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># Expected result is a successful lookup followed by a hard abort:</span>
 <span id="L19" class="LineNr"> 19 </span><span class="subxComment">#   lookup succeeded</span>
diff --git a/html/apps/hex.subx.html b/html/apps/hex.subx.html
index d8a455e4..e0e3ecf8 100644
--- a/html/apps/hex.subx.html
+++ b/html/apps/hex.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># comments between '#' and newline.</span>
 <span id="L4" class="LineNr">   4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">   5 </span><span class="subxComment"># To run:</span>
-<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex</span>
+<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '80 81 82  # comment'  |./subx run apps/hex  |xxd -</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#   00000000: 8081 82</span>
diff --git a/html/apps/mulisp.subx.html b/html/apps/mulisp.subx.html
index 7976b071..65897af7 100644
--- a/html/apps/mulisp.subx.html
+++ b/html/apps/mulisp.subx.html
@@ -58,7 +58,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">  1 </span><span class="subxComment"># Toy lisp interpreter</span>
 <span id="L2" class="LineNr">  2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># To run:</span>
-<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/mulisp.subx</span>
+<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/mulisp.subx</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./a.elf</span>
 <span id="L6" class="LineNr">  6 </span><span class="subxComment">#   42</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   =&gt; 42</span>
diff --git a/html/apps/pack.subx.html b/html/apps/pack.subx.html
index f8caafb6..05b04d4d 100644
--- a/html/apps/pack.subx.html
+++ b/html/apps/pack.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># uses are left untouched.</span>
 <span id="L4" class="LineNr">   4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">   5 </span><span class="subxComment"># To run:</span>
-<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack</span>
+<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '05/add-to-eax 0x20/imm32'  |./subx run apps/pack</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#   05 20 00 00 00  # 05/add-to-eax 0x20/imm32</span>
diff --git a/html/apps/random.subx.html b/html/apps/random.subx.html
index 22efb051..362208ed 100644
--- a/html/apps/random.subx.html
+++ b/html/apps/random.subx.html
@@ -59,7 +59,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Repeatedly read 32-bit numbers from /dev/random, print them to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run:</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/random.subx -o apps/random</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/random.subx -o apps/random</span>
 <span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run apps/random</span>
 <span id="L6" class="LineNr"> 6 </span>
 <span id="L7" class="LineNr"> 7 </span>== code 0x09000000
diff --git a/html/apps/sigils.subx.html b/html/apps/sigils.subx.html
index 125a1d38..a243b945 100644
--- a/html/apps/sigils.subx.html
+++ b/html/apps/sigils.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr">   2 </span><span class="subxComment"># other related arguments.</span>
 <span id="L3" class="LineNr">   3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr">   4 </span><span class="subxComment"># To run:</span>
-<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils</span>
+<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment"># We currently support the following notations:</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment">#</span>
diff --git a/html/apps/survey.subx.html b/html/apps/survey.subx.html
index b83ec98d..c8a14067 100644
--- a/html/apps/survey.subx.html
+++ b/html/apps/survey.subx.html
@@ -68,7 +68,7 @@ if ('onhashchange' in window) {
 <span id="L5" class="LineNr">   5 </span><span class="subxComment">#   b) add segment headers with addresses and offsets correctly filled in</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment"># To build:</span>
-<span id="L8" class="LineNr">   8 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey</span>
+<span id="L8" class="LineNr">   8 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#</span>
 <span id="L10" class="LineNr">  10 </span><span class="subxComment"># The expected input is a stream of bytes with segment headers, comments and</span>
 <span id="L11" class="LineNr">  11 </span><span class="subxComment"># some interspersed labels.</span>
@@ -1463,7 +1463,7 @@ if ('onhashchange' in window) {
 <span id="L1994" class="LineNr">1994 </span>    <span class="subxComment">#           abort</span>
 <span id="L1995" class="LineNr">1995 </span>    <span class="subxComment">#         if has-metadata?(word-slice, &quot;imm8&quot;)</span>
 <span id="L1996" class="LineNr">1996 </span>    <span class="subxComment">#           abort</span>
-<span id="L1997" class="LineNr">1997 </span>    <span class="subxComment">#         emit(out, info-&gt;address, 4)  # global variables always translate to absolute addresses</span>
+<span id="L1997" class="LineNr">1997 </span>    <span class="subxComment">#         emit(out, info-&gt;address, 4)  # global variables always translate init.linux to absolute addresses</span>
 <span id="L1998" class="LineNr">1998 </span>    <span class="subxComment">#       # code segment cases</span>
 <span id="L1999" class="LineNr">1999 </span>    <span class="subxComment">#       else if has-metadata?(word-slice, &quot;imm8&quot;)</span>
 <span id="L2000" class="LineNr">2000 </span>    <span class="subxComment">#         abort  # label should never go to imm8</span>
diff --git a/html/apps/tests.subx.html b/html/apps/tests.subx.html
index 16270e28..71bf163f 100644
--- a/html/apps/tests.subx.html
+++ b/html/apps/tests.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr">  2 </span><span class="subxComment"># all functions starting with 'test-'.</span>
 <span id="L3" class="LineNr">  3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment"># To build:</span>
-<span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests</span>
+<span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests</span>
 <span id="L6" class="LineNr">  6 </span>
 <span id="L7" class="LineNr">  7 </span>== code
 <span id="L8" class="LineNr">  8 </span><span class="subxComment">#   instruction                     effective address                                                   register    displacement    immediate</span>