1DOLLY 82PACKAGE janis3REQUIRES HOST runtime@04REQUIRES HOST download@05REQUIRES HOST http@06REQUIRES HOST threads@078# Janis: Dolly's runner on the QuickJS library, with Node's module rules and9# a finite node:* surface over Dolly's files, processes and HTTP. The runner10# is a library too: a program that is one script (tsc, pi, a game's agent)11# links -ldolly-js -lquickjs and reads the two scripts kept here when it starts.12FROM /Dollyfile-system-tools 7dc08859cff6c590c9bf42278822be15b530cc9d18438481449469995c2bf8fe13INSTALL /demos/javascript/Dollyfile-quickjs e498c5604366d34f2a27f1a6439c851a7316a9bef46b0f2cbc7c2f4c17f4c4f314INSTALL /Dollyfile-libdolly-download c4fcb208423787a23dba384fa56a9e7a94680d3fbe8a107e3e59b2237ab6dc161516REQUIRES HEADER libc17REQUIRES HEADER runtime18REQUIRES HEADER download19REQUIRES HEADER quickjs20REQUIRES LIB    quickjs21REQUIRES TOOL   ar22REQUIRES TOOL   cc23REQUIRES TOOL   mkdir2425SOURCE /dist/static/default/runtimes/quickjs-main.c   9d9ead69394e94723f98e89766484f7fa2a6674b64ac9d03943c6d04f2999373 /tmp/janis/quickjs-main.c26SOURCE /dist/static/default/runtimes/quickjs-runner.h cb2ae27cc02ed3d90b43eeb924f474b01fa8d7598f1e5989b0de3fcd12c2a97f /usr/include/dolly/quickjs-runner.h27SOURCE /dist/static/default/runtimes/dolly-node.js    d7e19c4bb4f46cce32ccbe2130e5f5e9203c1ba185cf0d0a9952f5d1b1ecabd3 /usr/lib/dolly/node.js28SOURCE /dist/static/default/runtimes/janis.js         938d296286745dbab9a30e33f7f78963077070427e7c8a2ddec9bc310018c89a /usr/lib/janis/runtime.js29SOURCE /dist/static/default/commands/janis.c          08c40227d11f06e851a6406fe5ed8f8d7e5f7cdd28a3dad2609c04650a7afe1b /tmp/janis/janis.c3031SLOP cc -O2 -std=gnu11 -funsigned-char -D_GNU_SOURCE -I /usr/include/dolly -c /tmp/janis/quickjs-main.c -o /tmp/janis/quickjs-main.o32SLOP ar rcs /usr/lib/libdolly-js.a /tmp/janis/quickjs-main.o33SLOP cc -I /usr/include/dolly /tmp/janis/janis.c -ldolly-js -lquickjs -o /usr/bin/janis3435SLOP test "$(janis -e 'console.log(require("node:fs").readFileSync("/tmp/janis/janis.c", "utf8").includes("dolly_quickjs_run"))')" = true36SLOP test "$(janis -e 'console.log(typeof Atomics, typeof SharedArrayBuffer)')" = "object function"37SLOP janis --help > /usr/share/man/cat1/janis.13839EXPORTS TOOL   janis40EXPORTS LIB    dolly-js       /usr/lib/libdolly-js.a41EXPORTS HEADER quickjs-runner /usr/include/dolly/quickjs-runner.h42FILE /usr/lib/dolly/node.js43FILE /usr/lib/janis/runtime.js44FILE /usr/share/man/cat1/janis.145