about summary refs log tree commit diff stats
path: root/html/linux/apps/factorial.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/linux/apps/factorial.subx.html')
-rw-r--r--html/linux/apps/factorial.subx.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/html/linux/apps/factorial.subx.html b/html/linux/apps/factorial.subx.html
index c8f08ab6..92cb24e4 100644
--- a/html/linux/apps/factorial.subx.html
+++ b/html/linux/apps/factorial.subx.html
@@ -14,15 +14,15 @@ pre { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
+.SpecialChar { color: #d70000; }
 .subxComment { color: #005faf; }
+.subxS1Comment { color: #0000af; }
 .subxS2Comment { color: #8a8a8a; }
 .LineNr { }
-.subxFunction { color: #af5f00; text-decoration: underline; }
-.subxS1Comment { color: #0000af; }
 .Constant { color: #008787; }
-.SpecialChar { color: #d70000; }
-.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; }
 .subxTest { color: #5f8700; }
+.subxFunction { color: #af5f00; text-decoration: underline; }
+.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; }
 -->
 </style>
 
@@ -61,14 +61,14 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">  1 </span><span class="subxComment">## compute the factorial of 5, and print the result</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">#   $ bootstrap/bootstrap translate [01]*.subx apps/factorial.subx -o factorial</span>
-<span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ bootstrap/bootstrap run factorial</span>
+<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./translate_subx [01]*.subx apps/factorial.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"># Expected result:</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment">#   120</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment">#</span>
 <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># You can also run the automated test suite:</span>
-<span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   $ bootstrap/bootstrap run factorial test</span>
+<span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   $ ./a.elf test</span>
 <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># Expected output:</span>
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#   ........</span>
 <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># Every '.' indicates a passing test. Failing tests get a 'F'.</span>