entelechy serveGenerated
Serve the creation protocol on stdin and stdout and on –listen.
Synopsis
Section titled “Synopsis”serve <scene.esn>Description
Section titled “Description”Serve the creation protocol: JSON requests on stdin, one response per
line on stdout, and on every connection to –listen, where a client’s
quit ends only its connection. A browser’s page connects from this
machine; a page elsewhere only from an origin –allow-origin names
(https://host:port, or null for a page opened from a file). –window is what evaluations that name
no window see. See
docs/PROTOCOL.md.
| flag | Value | Repeats | Description |
|---|---|---|---|
--listen |
<host:port> |
no | Also answers every connection to the address. |
--window |
<w>x<h>[@<scale>] |
no | The window a scene sized by window() fills, in pixels, with its scale factor. |
--allow-origin |
<origin> |
yes | A page’s origin elsewhere that may connect. |
--library |
<dir|file> |
no | Kernels the scene uses beside its own. |
--input |
<name>=<path> |
yes | Reads the scene’s input from the path given, a file or a directory as the input reads; an external the scene leaves to its caller bound to a picture file. |
--output |
<name>=<path> |
yes | Writes the scene’s output to the path given, a file or a directory as the output writes. |
--param |
<name>=<literal> |
yes | Sets a graph parameter. |
--backend |
cpu|gpu|jit |
no | The backend the scene runs on. |
--no-fusion |
`` | no | Runs pointwise producers apart from their consumers. |
--allow |
file.read|file.write|file.delete=<dir>|clipboard.read|clipboard.write |
yes | Lets the scene read files from, write its outputs into, or remove and rename files in, a directory; or read and write the system’s clipboard. |
--grant |
<capability,...> |
no | The only capabilities a Kernel may be given. |
--memory |
<MB> |
no | Mebibytes of Fields the Host may hold at once (2048 by default). |
--work |
<M> |
no | Million loop iterations one run of a Kernel may take (4000 by default). |
--small |
<operations> |
no | Operations a run may take, by its elements and its Kernel’s typical work, and go to the processor rather than the device (400000 by default; 0 keeps every run on the device). |

