The page quotes the usage and the grid it has now
Two quotes had drifted: flan check's --warn-memory line, which the page never carried, and the sand hash, which changed when the generator did.
This commit is contained in:
parent
09b77adc38
commit
a885c1b0f1
@ -328,6 +328,7 @@ $ ./_build/default/bin/main.exe run calc-me.flan "1 + 2 * (3 - 0.5) / 2"
|
||||
|
||||
<pre><code class="sh">$ flan
|
||||
usage: flan (read|parse|check|emit|shim) <file.flan>...
|
||||
flan check <file.flan>... [--warn-memory]
|
||||
flan emit <file.flan> [--x86] [--dev] [--debug] [--no-bounds-checks]
|
||||
flan import-c <header.h> [package.flan...] [clang flags...]
|
||||
flan generate-c <package-dir>
|
||||
@ -1913,10 +1914,10 @@ module, and the headless sand acceptance program prints the same 64-bit hash und
|
||||
it does natively:</p>
|
||||
|
||||
<pre><code class="sh">$ flan run test/programs/sand-headless.flan
|
||||
15595743031174623232
|
||||
7623511701454096497
|
||||
$ flan build test/programs/sand-headless.flan --target=wasm32-wasi -o sand.wasm
|
||||
$ node --no-warnings test/wasm-run.mjs sand.wasm
|
||||
15595743031174623232</code></pre>
|
||||
7623511701454096497</code></pre>
|
||||
|
||||
<p>The RNG is written in Flan rather than called from libc for that number: a grid hash
|
||||
is only a regression test if the sequence is byte-identical on both targets. It holds at
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user