diff options
Diffstat (limited to 'html/linux/apps/factorial3.subx.html')
-rw-r--r-- | html/linux/apps/factorial3.subx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/linux/apps/factorial3.subx.html b/html/linux/apps/factorial3.subx.html index 93cf4e55..f0a76a21 100644 --- a/html/linux/apps/factorial3.subx.html +++ b/html/linux/apps/factorial3.subx.html @@ -14,13 +14,13 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- 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; } .LineNr { } +.subxTest { color: #5f8700; } .subxFunction { color: #af5f00; text-decoration: underline; } -.subxS1Comment { color: #0000af; } -.SpecialChar { color: #d70000; } .Constant { color: #008787; } -.subxTest { color: #5f8700; } --> </style> @@ -63,14 +63,14 @@ if ('onhashchange' in window) { <span id="L5" class="LineNr"> 5 </span><span class="subxComment"># function calls</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment">#</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># To run:</span> -<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># $ ./translate_subx init.linux [01]*.subx apps/factorial3.subx -o factorial</span> -<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ bootstrap/bootstrap run factorial</span> +<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># $ ./translate_subx init.linux [01]*.subx apps/factorial3.subx</span> +<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ ./a.elf</span> <span id="L10" class="LineNr">10 </span><span class="subxComment"># Expected result:</span> <span id="L11" class="LineNr">11 </span><span class="subxComment"># $ echo $?</span> <span id="L12" class="LineNr">12 </span><span class="subxComment"># 120</span> <span id="L13" class="LineNr">13 </span><span class="subxComment">#</span> <span id="L14" class="LineNr">14 </span><span class="subxComment"># You can also run the automated test suite:</span> -<span id="L15" class="LineNr">15 </span><span class="subxComment"># $ bootstrap/bootstrap run factorial test</span> +<span id="L15" class="LineNr">15 </span><span class="subxComment"># $ ./a.elf test</span> <span id="L16" class="LineNr">16 </span><span class="subxComment"># Expected output:</span> <span id="L17" class="LineNr">17 </span><span class="subxComment"># ........</span> <span id="L18" class="LineNr">18 </span><span class="subxComment"># Every '.' indicates a passing test. Failing tests get a 'F'.</span> |