about summary refs log tree commit diff stats
path: root/html/linux/apps/factorial.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-11-09 09:23:31 -0800
committerKartik Agaram <vc@akkartik.com>2021-11-09 09:23:31 -0800
commit3ff2fe607c2cb5690d201d3b83ddcc957e949b7a (patch)
tree2dd6019731bad313ecf0423d6063c9d0fa0bb77e /html/linux/apps/factorial.subx.html
parentef8fd8851a883eefd7bd55ffc31d6e00f67d50a8 (diff)
downloadmu-3ff2fe607c2cb5690d201d3b83ddcc957e949b7a.tar.gz
.
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>