# Examples

Whole working programs from the repository, mirrored here as they are --
minus the build outputs, so a compiled `.wasm` or a `.bin` of weights is a
link to the repository rather than a file. Read the one closest in shape to
what you are about to write: it shows the imports, the entry point and the
build command that a reference page cannot.

Paths are relative to this file.

## asdf

- `examples/asdf/` -- Loading real ASDF libraries -- [README.md](examples/asdf/README.md), [alexandria-demo.lisp](examples/asdf/alexandria-demo.lisp), [assoc-utils-demo.lisp](examples/asdf/assoc-utils-demo.lisp), [chipz-demo.lisp](examples/asdf/chipz-demo.lisp), [cl-base64-demo.lisp](examples/asdf/cl-base64-demo.lisp), [cl-ppcre-demo.lisp](examples/asdf/cl-ppcre-demo.lisp), [cl-utilities-demo.lisp](examples/asdf/cl-utilities-demo.lisp), [cl-who-demo.lisp](examples/asdf/cl-who-demo.lisp), [clack-hello.lisp](examples/asdf/clack-hello.lisp), [ironclad-demo.lisp](examples/asdf/ironclad-demo.lisp) (+9 more in the directory)

## browser

- `examples/browser/hiragana/` -- 手書きひらがな認識 (rontolisp で CNN を学習 → WASM → ブラウザ canvas) -- [README.md](examples/browser/hiragana/README.md), [dataset.lisp](examples/browser/hiragana/dataset.lisp), [infer.lisp](examples/browser/hiragana/infer.lisp), [net.lisp](examples/browser/hiragana/net.lisp), [prototypes.lisp](examples/browser/hiragana/prototypes.lisp), [recognize.lisp](examples/browser/hiragana/recognize.lisp), [train.lisp](examples/browser/hiragana/train.lisp), [gen.sh](examples/browser/hiragana/gen.sh), [regen-glyphs.sh](examples/browser/hiragana/regen-glyphs.sh), [glyphs.js](examples/browser/hiragana/glyphs.js) (+2 more in the directory)
- `examples/browser/hiragana/glyphgen/` -- [GlyphGen.java](examples/browser/hiragana/glyphgen/GlyphGen.java)
- `examples/browser/hiragana/samples/` -- [a.txt](examples/browser/hiragana/samples/a.txt), [chi.txt](examples/browser/hiragana/samples/chi.txt), [e.txt](examples/browser/hiragana/samples/e.txt), [fu.txt](examples/browser/hiragana/samples/fu.txt), [ha.txt](examples/browser/hiragana/samples/ha.txt), [he.txt](examples/browser/hiragana/samples/he.txt), [hi.txt](examples/browser/hiragana/samples/hi.txt), [ho.txt](examples/browser/hiragana/samples/ho.txt), [i.txt](examples/browser/hiragana/samples/i.txt), [ka.txt](examples/browser/hiragana/samples/ka.txt) (+36 more in the directory)
- `examples/browser/hiragana/tools/k49/` -- 実データ (Kuzushiji-49) の取得と前処理 -- [README.md](examples/browser/hiragana/tools/k49/README.md), [prepare-k49.py](examples/browser/hiragana/tools/k49/prepare-k49.py)
- `examples/browser/minesweeper/` -- Minesweeper (one Lisp rulebook, two front-ends) -- [README.md](examples/browser/minesweeper/README.md), [minesweeper-core-test.lisp](examples/browser/minesweeper/minesweeper-core-test.lisp), [minesweeper-core.lisp](examples/browser/minesweeper/minesweeper-core.lisp), [minesweeper-swing.lisp](examples/browser/minesweeper/minesweeper-swing.lisp), [minesweeper-wasm.lisp](examples/browser/minesweeper/minesweeper-wasm.lisp), [build.sh](examples/browser/minesweeper/build.sh), [minesweeper.html](examples/browser/minesweeper/minesweeper.html)
- `examples/browser/rainbow/` -- [rainbow.lisp](examples/browser/rainbow/rainbow.lisp), [rainbow.html](examples/browser/rainbow/rainbow.html)
- `examples/browser/wasm-browser/` -- Running rontolisp WASM in the browser (plain HTML + JavaScript) -- [README.md](examples/browser/wasm-browser/README.md), [dice.lisp](examples/browser/wasm-browser/dice.lisp), [greet.lisp](examples/browser/wasm-browser/greet.lisp), [hello.lisp](examples/browser/wasm-browser/hello.lisp), [build.sh](examples/browser/wasm-browser/build.sh), [index.html](examples/browser/wasm-browser/index.html), [wasi-shim.js](examples/browser/wasm-browser/wasi-shim.js)
- `examples/browser/webgl-battlefront/` -- webgl-battlefront — a one-arena snow-battle skirmish, in Lisp -- [README.md](examples/browser/webgl-battlefront/README.md), [battlefront.lisp](examples/browser/webgl-battlefront/battlefront.lisp), [build.sh](examples/browser/webgl-battlefront/build.sh), [index.html](examples/browser/webgl-battlefront/index.html)
- `examples/browser/webgl-common/` -- webgl-common — the shared `gl` package for the WebGL demos -- [README.md](examples/browser/webgl-common/README.md), [gl.lisp](examples/browser/webgl-common/gl.lisp), [gl-imports.js](examples/browser/webgl-common/gl-imports.js), [gl.wit](examples/browser/webgl-common/gl.wit)
- `examples/browser/webgl-cube/` -- cube.lisp — hello 3D: a rotating cube, matrices and all, driven from Lisp -- [README.md](examples/browser/webgl-cube/README.md), [cube.lisp](examples/browser/webgl-cube/cube.lisp), [build.sh](examples/browser/webgl-cube/build.sh), [index.html](examples/browser/webgl-cube/index.html)
- `examples/browser/webgl-galaxy/` -- galaxy.lisp — a spiral galaxy: the WebGL pipeline driven from Lisp -- [README.md](examples/browser/webgl-galaxy/README.md), [galaxy.lisp](examples/browser/webgl-galaxy/galaxy.lisp), [build.sh](examples/browser/webgl-galaxy/build.sh), [index.html](examples/browser/webgl-galaxy/index.html)
- `examples/browser/webgl-heat3d/` -- heat3d.lisp — a rank-3 array diffusing heat, drawn by WebGL -- [README.md](examples/browser/webgl-heat3d/README.md), [heat3d.lisp](examples/browser/webgl-heat3d/heat3d.lisp), [build.sh](examples/browser/webgl-heat3d/build.sh), [index.html](examples/browser/webgl-heat3d/index.html)
- `examples/browser/webgl-platformer/` -- webgl-platformer — a one-stage 3D platformer, in Lisp -- [README.md](examples/browser/webgl-platformer/README.md), [platformer.lisp](examples/browser/webgl-platformer/platformer.lisp), [build.sh](examples/browser/webgl-platformer/build.sh), [index.html](examples/browser/webgl-platformer/index.html)
- `examples/browser/webgl-robot-arm/` -- robot-arm.lisp — 3D inverse kinematics with minimum-jerk motion, in Lisp -- [README.md](examples/browser/webgl-robot-arm/README.md), [ik-analytic.lisp](examples/browser/webgl-robot-arm/ik-analytic.lisp), [ik-fabrik.lisp](examples/browser/webgl-robot-arm/ik-fabrik.lisp), [ik-jacobian.lisp](examples/browser/webgl-robot-arm/ik-jacobian.lisp), [robot-arm.lisp](examples/browser/webgl-robot-arm/robot-arm.lisp), [build.sh](examples/browser/webgl-robot-arm/build.sh), [index.html](examples/browser/webgl-robot-arm/index.html)
- `examples/browser/webgl-triangle/` -- triangle.lisp — the WebGL hello world, driven from Lisp -- [README.md](examples/browser/webgl-triangle/README.md), [triangle.lisp](examples/browser/webgl-triangle/triangle.lisp), [build.sh](examples/browser/webgl-triangle/build.sh), [index.html](examples/browser/webgl-triangle/index.html)
- `examples/browser/wit-component/` -- A WebAssembly component in the browser -- [README.md](examples/browser/wit-component/README.md), [fractal.lisp](examples/browser/wit-component/fractal.lisp), [build.sh](examples/browser/wit-component/build.sh), [index.html](examples/browser/wit-component/index.html)
- `examples/browser/wit-component/wit/` -- [fractal.wit](examples/browser/wit-component/wit/fractal.wit)

## cloudflare-workers

- `examples/cloudflare-workers/` -- rontolisp on Cloudflare Workers -- [README.md](examples/cloudflare-workers/README.md)
- `examples/cloudflare-workers/btc-ticker/` -- btc-ticker — the Worker with nothing in it -- [README.md](examples/cloudflare-workers/btc-ticker/README.md), [worker.lisp](examples/cloudflare-workers/btc-ticker/worker.lisp), [build.sh](examples/cloudflare-workers/btc-ticker/build.sh), [package.json](examples/cloudflare-workers/btc-ticker/package.json), [wrangler.jsonc](examples/cloudflare-workers/btc-ticker/wrangler.jsonc)
- `examples/cloudflare-workers/btc-ticker/src/` -- [index.js](examples/cloudflare-workers/btc-ticker/src/index.js), [worker.js](examples/cloudflare-workers/btc-ticker/src/worker.js)
- `examples/cloudflare-workers/dog-fetcher/` -- dog-fetcher — a Worker that calls out -- [README.md](examples/cloudflare-workers/dog-fetcher/README.md), [worker.lisp](examples/cloudflare-workers/dog-fetcher/worker.lisp), [build.sh](examples/cloudflare-workers/dog-fetcher/build.sh), [package.json](examples/cloudflare-workers/dog-fetcher/package.json), [wrangler.jsonc](examples/cloudflare-workers/dog-fetcher/wrangler.jsonc)
- `examples/cloudflare-workers/dog-fetcher/src/` -- [index.js](examples/cloudflare-workers/dog-fetcher/src/index.js), [worker.js](examples/cloudflare-workers/dog-fetcher/src/worker.js)
- `examples/cloudflare-workers/dog-relay/` -- dog-relay — a Worker that relays, many at a time -- [README.md](examples/cloudflare-workers/dog-relay/README.md), [worker.lisp](examples/cloudflare-workers/dog-relay/worker.lisp), [build.sh](examples/cloudflare-workers/dog-relay/build.sh), [package.json](examples/cloudflare-workers/dog-relay/package.json), [wrangler.jsonc](examples/cloudflare-workers/dog-relay/wrangler.jsonc)
- `examples/cloudflare-workers/dog-relay/src/` -- [index.js](examples/cloudflare-workers/dog-relay/src/index.js), [worker.js](examples/cloudflare-workers/dog-relay/src/worker.js)
- `examples/cloudflare-workers/hello/` -- hello — the smallest rontolisp Worker -- [README.md](examples/cloudflare-workers/hello/README.md), [worker.lisp](examples/cloudflare-workers/hello/worker.lisp), [build.sh](examples/cloudflare-workers/hello/build.sh), [package.json](examples/cloudflare-workers/hello/package.json), [wrangler.jsonc](examples/cloudflare-workers/hello/wrangler.jsonc)
- `examples/cloudflare-workers/hello-clack/` -- hello-clack — a Clack application on Cloudflare Workers -- [README.md](examples/cloudflare-workers/hello-clack/README.md), [check.lisp](examples/cloudflare-workers/hello-clack/check.lisp), [worker.lisp](examples/cloudflare-workers/hello-clack/worker.lisp), [build.sh](examples/cloudflare-workers/hello-clack/build.sh), [package.json](examples/cloudflare-workers/hello-clack/package.json), [wrangler.jsonc](examples/cloudflare-workers/hello-clack/wrangler.jsonc)
- `examples/cloudflare-workers/hello-clack/src/` -- [index.js](examples/cloudflare-workers/hello-clack/src/index.js), [worker.js](examples/cloudflare-workers/hello-clack/src/worker.js)
- `examples/cloudflare-workers/hello-ningle/` -- hello-ningle — a Worker whose application is an object -- [README.md](examples/cloudflare-workers/hello-ningle/README.md), [check.lisp](examples/cloudflare-workers/hello-ningle/check.lisp), [worker.lisp](examples/cloudflare-workers/hello-ningle/worker.lisp), [build.sh](examples/cloudflare-workers/hello-ningle/build.sh), [package.json](examples/cloudflare-workers/hello-ningle/package.json), [wrangler.jsonc](examples/cloudflare-workers/hello-ningle/wrangler.jsonc)
- `examples/cloudflare-workers/hello-ningle/src/` -- [index.js](examples/cloudflare-workers/hello-ningle/src/index.js), [worker.js](examples/cloudflare-workers/hello-ningle/src/worker.js)
- `examples/cloudflare-workers/hello-tiny-routes/` -- hello-tiny-routes — a Worker composed out of routes -- [README.md](examples/cloudflare-workers/hello-tiny-routes/README.md), [check.lisp](examples/cloudflare-workers/hello-tiny-routes/check.lisp), [worker.lisp](examples/cloudflare-workers/hello-tiny-routes/worker.lisp), [build.sh](examples/cloudflare-workers/hello-tiny-routes/build.sh), [package.json](examples/cloudflare-workers/hello-tiny-routes/package.json), [wrangler.jsonc](examples/cloudflare-workers/hello-tiny-routes/wrangler.jsonc)
- `examples/cloudflare-workers/hello-tiny-routes/src/` -- [index.js](examples/cloudflare-workers/hello-tiny-routes/src/index.js), [worker.js](examples/cloudflare-workers/hello-tiny-routes/src/worker.js)
- `examples/cloudflare-workers/hello/src/` -- [index.js](examples/cloudflare-workers/hello/src/index.js)
- `examples/cloudflare-workers/httpbin/` -- httpbin — a mini httpbin on Cloudflare Workers, with no library -- [README.md](examples/cloudflare-workers/httpbin/README.md), [check.lisp](examples/cloudflare-workers/httpbin/check.lisp), [worker.lisp](examples/cloudflare-workers/httpbin/worker.lisp), [build.sh](examples/cloudflare-workers/httpbin/build.sh), [package.json](examples/cloudflare-workers/httpbin/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-clack/` -- httpbin-clack — the same endpoints as a plain Clack application -- [README.md](examples/cloudflare-workers/httpbin-clack/README.md), [check.lisp](examples/cloudflare-workers/httpbin-clack/check.lisp), [worker.lisp](examples/cloudflare-workers/httpbin-clack/worker.lisp), [build.sh](examples/cloudflare-workers/httpbin-clack/build.sh), [package.json](examples/cloudflare-workers/httpbin-clack/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin-clack/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-clack-one-source/` -- httpbin-clack-one-source — one Clack file, every host, this one included -- [README.md](examples/cloudflare-workers/httpbin-clack-one-source/README.md), [build.sh](examples/cloudflare-workers/httpbin-clack-one-source/build.sh), [package.json](examples/cloudflare-workers/httpbin-clack-one-source/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin-clack-one-source/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-clack-one-source/src/` -- [index.js](examples/cloudflare-workers/httpbin-clack-one-source/src/index.js), [worker.js](examples/cloudflare-workers/httpbin-clack-one-source/src/worker.js)
- `examples/cloudflare-workers/httpbin-clack/src/` -- [index.js](examples/cloudflare-workers/httpbin-clack/src/index.js), [worker.js](examples/cloudflare-workers/httpbin-clack/src/worker.js)
- `examples/cloudflare-workers/httpbin-component/` -- httpbin-component — the same handler, through the component model -- [README.md](examples/cloudflare-workers/httpbin-component/README.md), [build.sh](examples/cloudflare-workers/httpbin-component/build.sh), [package.json](examples/cloudflare-workers/httpbin-component/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin-component/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-component/src/` -- [index.js](examples/cloudflare-workers/httpbin-component/src/index.js)
- `examples/cloudflare-workers/httpbin-ningle/` -- httpbin-ningle — the same endpoints on an application object -- [README.md](examples/cloudflare-workers/httpbin-ningle/README.md), [check.lisp](examples/cloudflare-workers/httpbin-ningle/check.lisp), [worker.lisp](examples/cloudflare-workers/httpbin-ningle/worker.lisp), [build.sh](examples/cloudflare-workers/httpbin-ningle/build.sh), [package.json](examples/cloudflare-workers/httpbin-ningle/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin-ningle/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-ningle/src/` -- [index.js](examples/cloudflare-workers/httpbin-ningle/src/index.js), [worker.js](examples/cloudflare-workers/httpbin-ningle/src/worker.js)
- `examples/cloudflare-workers/httpbin-tiny-routes/` -- httpbin-tiny-routes — the same endpoints, composed -- [README.md](examples/cloudflare-workers/httpbin-tiny-routes/README.md), [check.lisp](examples/cloudflare-workers/httpbin-tiny-routes/check.lisp), [worker.lisp](examples/cloudflare-workers/httpbin-tiny-routes/worker.lisp), [build.sh](examples/cloudflare-workers/httpbin-tiny-routes/build.sh), [package.json](examples/cloudflare-workers/httpbin-tiny-routes/package.json), [wrangler.jsonc](examples/cloudflare-workers/httpbin-tiny-routes/wrangler.jsonc)
- `examples/cloudflare-workers/httpbin-tiny-routes/src/` -- [index.js](examples/cloudflare-workers/httpbin-tiny-routes/src/index.js), [worker.js](examples/cloudflare-workers/httpbin-tiny-routes/src/worker.js)
- `examples/cloudflare-workers/httpbin/src/` -- [index.js](examples/cloudflare-workers/httpbin/src/index.js)

## console

- `examples/console/` -- [calc.lisp](examples/console/calc.lisp), [contact-book.lisp](examples/console/contact-book.lisp), [error-handling.lisp](examples/console/error-handling.lisp), [hanoi.lisp](examples/console/hanoi.lisp), [l-system.lisp](examples/console/l-system.lisp), [life-core.lisp](examples/console/life-core.lisp), [life.lisp](examples/console/life.lisp), [line-numbers.lisp](examples/console/line-numbers.lisp), [mandelbrot-nogc.lisp](examples/console/mandelbrot-nogc.lisp), [mandelbrot.lisp](examples/console/mandelbrot.lisp) (+7 more in the directory)

## count-vowels

- `examples/count-vowels/` -- count-vowels -- sharing a string with a host through Wasm memory -- [README.md](examples/count-vowels/README.md), [count-vowels.lisp](examples/count-vowels/count-vowels.lisp), [count_vowels_component.wit](examples/count-vowels/count_vowels_component.wit), [pom.xml](examples/count-vowels/pom.xml)
- `examples/count-vowels/src/main/java/` -- [CountVowels.java](examples/count-vowels/src/main/java/CountVowels.java)

## db

- `examples/db/` -- db -- [README.md](examples/db/README.md), [bbs-api.lisp](examples/db/bbs-api.lisp), [database-url.lisp](examples/db/database-url.lisp), [postgres-crud.lisp](examples/db/postgres-crud.lisp), [postgres-hello.lisp](examples/db/postgres-hello.lisp), [postgres-web.lisp](examples/db/postgres-web.lisp), [postmodern-crud.lisp](examples/db/postmodern-crud.lisp), [postmodern-dao.lisp](examples/db/postmodern-dao.lisp)
- `examples/db/postgres-web/` -- [spin.toml](examples/db/postgres-web/spin.toml)

## deep-learning-from-scratch

- `examples/deep-learning-from-scratch/` -- Deep Learning from Scratch, in rontolisp -- [LICENSE.md](examples/deep-learning-from-scratch/LICENSE.md), [README.md](examples/deep-learning-from-scratch/README.md), [download-mnist.sh](examples/deep-learning-from-scratch/download-mnist.sh)
- `examples/deep-learning-from-scratch/ch02/` -- [and-gate.lisp](examples/deep-learning-from-scratch/ch02/and-gate.lisp), [nand-gate.lisp](examples/deep-learning-from-scratch/ch02/nand-gate.lisp), [or-gate.lisp](examples/deep-learning-from-scratch/ch02/or-gate.lisp), [xor-gate.lisp](examples/deep-learning-from-scratch/ch02/xor-gate.lisp)
- `examples/deep-learning-from-scratch/ch03/` -- [activation-functions.lisp](examples/deep-learning-from-scratch/ch03/activation-functions.lisp), [mnist-show.lisp](examples/deep-learning-from-scratch/ch03/mnist-show.lisp), [neuralnet-mnist-batch.lisp](examples/deep-learning-from-scratch/ch03/neuralnet-mnist-batch.lisp), [neuralnet-mnist.lisp](examples/deep-learning-from-scratch/ch03/neuralnet-mnist.lisp)
- `examples/deep-learning-from-scratch/ch04/` -- [gradient-1d.lisp](examples/deep-learning-from-scratch/ch04/gradient-1d.lisp), [gradient-2d.lisp](examples/deep-learning-from-scratch/ch04/gradient-2d.lisp), [gradient-method.lisp](examples/deep-learning-from-scratch/ch04/gradient-method.lisp), [gradient-simplenet.lisp](examples/deep-learning-from-scratch/ch04/gradient-simplenet.lisp), [train-neuralnet.lisp](examples/deep-learning-from-scratch/ch04/train-neuralnet.lisp), [two-layer-net.lisp](examples/deep-learning-from-scratch/ch04/two-layer-net.lisp)
- `examples/deep-learning-from-scratch/ch05/` -- [buy-apple-orange.lisp](examples/deep-learning-from-scratch/ch05/buy-apple-orange.lisp), [buy-apple.lisp](examples/deep-learning-from-scratch/ch05/buy-apple.lisp), [gradient-check.lisp](examples/deep-learning-from-scratch/ch05/gradient-check.lisp), [layer-naive.lisp](examples/deep-learning-from-scratch/ch05/layer-naive.lisp), [train-neuralnet.lisp](examples/deep-learning-from-scratch/ch05/train-neuralnet.lisp), [two-layer-net.lisp](examples/deep-learning-from-scratch/ch05/two-layer-net.lisp)
- `examples/deep-learning-from-scratch/ch06/` -- [batch-norm-gradient-check.lisp](examples/deep-learning-from-scratch/ch06/batch-norm-gradient-check.lisp), [batch-norm-test.lisp](examples/deep-learning-from-scratch/ch06/batch-norm-test.lisp), [hyperparameter-optimization.lisp](examples/deep-learning-from-scratch/ch06/hyperparameter-optimization.lisp), [optimizer-compare-mnist.lisp](examples/deep-learning-from-scratch/ch06/optimizer-compare-mnist.lisp), [optimizer-compare-naive.lisp](examples/deep-learning-from-scratch/ch06/optimizer-compare-naive.lisp), [overfit-dropout.lisp](examples/deep-learning-from-scratch/ch06/overfit-dropout.lisp), [overfit-weight-decay.lisp](examples/deep-learning-from-scratch/ch06/overfit-weight-decay.lisp), [weight-init-activation-histogram.lisp](examples/deep-learning-from-scratch/ch06/weight-init-activation-histogram.lisp), [weight-init-compare.lisp](examples/deep-learning-from-scratch/ch06/weight-init-compare.lisp)
- `examples/deep-learning-from-scratch/ch07/` -- [gradient-check.lisp](examples/deep-learning-from-scratch/ch07/gradient-check.lisp), [simple-convnet.lisp](examples/deep-learning-from-scratch/ch07/simple-convnet.lisp), [train-convnet.lisp](examples/deep-learning-from-scratch/ch07/train-convnet.lisp), [visualize-filter.lisp](examples/deep-learning-from-scratch/ch07/visualize-filter.lisp)
- `examples/deep-learning-from-scratch/ch08/` -- [deep-convnet.lisp](examples/deep-learning-from-scratch/ch08/deep-convnet.lisp), [half-float-network.lisp](examples/deep-learning-from-scratch/ch08/half-float-network.lisp), [misclassified-mnist.lisp](examples/deep-learning-from-scratch/ch08/misclassified-mnist.lisp), [train-deepnet.lisp](examples/deep-learning-from-scratch/ch08/train-deepnet.lisp)
- `examples/deep-learning-from-scratch/common/` -- [functions.lisp](examples/deep-learning-from-scratch/common/functions.lisp), [gradient.lisp](examples/deep-learning-from-scratch/common/gradient.lisp), [layers.lisp](examples/deep-learning-from-scratch/common/layers.lisp), [multi-layer-net-extend.lisp](examples/deep-learning-from-scratch/common/multi-layer-net-extend.lisp), [multi-layer-net.lisp](examples/deep-learning-from-scratch/common/multi-layer-net.lisp), [optimizer.lisp](examples/deep-learning-from-scratch/common/optimizer.lisp), [trainer.lisp](examples/deep-learning-from-scratch/common/trainer.lisp), [util.lisp](examples/deep-learning-from-scratch/common/util.lisp)
- `examples/deep-learning-from-scratch/dataset/` -- [mnist.lisp](examples/deep-learning-from-scratch/dataset/mnist.lisp), [rlw1.lisp](examples/deep-learning-from-scratch/dataset/rlw1.lisp)
- `examples/deep-learning-from-scratch/tools/` -- [export-sample-weight.py](examples/deep-learning-from-scratch/tools/export-sample-weight.py)

## jvm

- `examples/jvm/` -- [java-interop.lisp](examples/jvm/java-interop.lisp), [life-gui.lisp](examples/jvm/life-gui.lisp), [swing.lisp](examples/jvm/swing.lisp)

## llama2

- `examples/llama2/` -- llama2.c in rontolisp -- [README.md](examples/llama2/README.md), [llama2.lisp](examples/llama2/llama2.lisp), [download-stories15M.sh](examples/llama2/download-stories15M.sh)

## llm-from-scratch

- `examples/llm-from-scratch/` -- LLM from Scratch — the Transformer and GPT chapters, in rontolisp -- [README.md](examples/llm-from-scratch/README.md)
- `examples/llm-from-scratch/chapter02/` -- [section2.lisp](examples/llm-from-scratch/chapter02/section2.lisp), [section3.lisp](examples/llm-from-scratch/chapter02/section3.lisp), [section4.lisp](examples/llm-from-scratch/chapter02/section4.lisp), [section5.lisp](examples/llm-from-scratch/chapter02/section5.lisp)
- `examples/llm-from-scratch/chapter03/` -- [section2.lisp](examples/llm-from-scratch/chapter03/section2.lisp), [train-gpt-soseki.lisp](examples/llm-from-scratch/chapter03/train-gpt-soseki.lisp)
- `examples/llm-from-scratch/gpt/` -- [dataset.lisp](examples/llm-from-scratch/gpt/dataset.lisp), [model.lisp](examples/llm-from-scratch/gpt/model.lisp), [shapes.lisp](examples/llm-from-scratch/gpt/shapes.lisp), [tokenizer.lisp](examples/llm-from-scratch/gpt/tokenizer.lisp), [trainer.lisp](examples/llm-from-scratch/gpt/trainer.lisp)
- `examples/llm-from-scratch/transformer/` -- [attention.lisp](examples/llm-from-scratch/transformer/attention.lisp), [shapes.lisp](examples/llm-from-scratch/transformer/shapes.lisp), [transformer.lisp](examples/llm-from-scratch/transformer/transformer.lisp), [utils.lisp](examples/llm-from-scratch/transformer/utils.lisp)

## ml

- `examples/ml/` -- [blas-matmul.lisp](examples/ml/blas-matmul.lisp), [deep-digits.lisp](examples/ml/deep-digits.lisp), [heat3d.lisp](examples/ml/heat3d.lisp), [linear-regression.lisp](examples/ml/linear-regression.lisp), [maze-rl.lisp](examples/ml/maze-rl.lisp), [mlp.lisp](examples/ml/mlp.lisp), [nn-vec.lisp](examples/ml/nn-vec.lisp), [nn.lisp](examples/ml/nn.lisp), [numerical-calculus.lisp](examples/ml/numerical-calculus.lisp), [simd-dot-jvm.lisp](examples/ml/simd-dot-jvm.lisp) (+4 more in the directory)

## net

- `examples/net/` -- [dog-fetcher.lisp](examples/net/dog-fetcher.lisp), [echo-client.lisp](examples/net/echo-client.lisp), [echo-server.lisp](examples/net/echo-server.lisp), [http-handler-cl-who.lisp](examples/net/http-handler-cl-who.lisp), [http-handler.lisp](examples/net/http-handler.lisp), [http-hello.lisp](examples/net/http-hello.lisp), [httpbin-clack.lisp](examples/net/httpbin-clack.lisp), [httpbin-clos.lisp](examples/net/httpbin-clos.lisp), [httpbin-jzon.lisp](examples/net/httpbin-jzon.lisp), [httpbin-ningle.lisp](examples/net/httpbin-ningle.lisp) (+7 more in the directory)
- `examples/net/http-handler/` -- [spin.toml](examples/net/http-handler/spin.toml)
- `examples/net/httpbin-clos/` -- [spin.toml](examples/net/httpbin-clos/spin.toml)

## wasmcloud

- `examples/wasmcloud/` -- wasmCloud template ports -- [README.md](examples/wasmcloud/README.md)
- `examples/wasmcloud/http-client/` -- [app.lisp](examples/wasmcloud/http-client/app.lisp)
- `examples/wasmcloud/http-handler/` -- [app.lisp](examples/wasmcloud/http-handler/app.lisp)
- `examples/wasmcloud/http-hello-world/` -- [app.lisp](examples/wasmcloud/http-hello-world/app.lisp)
- `examples/wasmcloud/http-kv-handler/` -- [app.lisp](examples/wasmcloud/http-kv-handler/app.lisp)
- `examples/wasmcloud/service-tcp/` -- [http-api.lisp](examples/wasmcloud/service-tcp/http-api.lisp), [service-leet.lisp](examples/wasmcloud/service-tcp/service-leet.lisp)

## wit

- `examples/wit/keyvalue/` -- wit/keyvalue -- one WIT interface, three stores behind it -- [README.md](examples/wit/keyvalue/README.md), [java-store.lisp](examples/wit/keyvalue/java-store.lisp), [memory-store.lisp](examples/wit/keyvalue/memory-store.lisp), [page-hits-server.lisp](examples/wit/keyvalue/page-hits-server.lisp), [page-hits.lisp](examples/wit/keyvalue/page-hits.lisp)
- `examples/wit/keyvalue/wit/` -- [keyvalue.wit](examples/wit/keyvalue/wit/keyvalue.wit)
- `examples/wit/lisp-calls-rust/` -- wit/lisp-calls-rust -- a Lisp program calling a Rust component -- [README.md](examples/wit/lisp-calls-rust/README.md), [app.lisp](examples/wit/lisp-calls-rust/app.lisp), [build.sh](examples/wit/lisp-calls-rust/build.sh)
- `examples/wit/lisp-calls-rust/rust-shouter/` -- [Cargo.toml](examples/wit/lisp-calls-rust/rust-shouter/Cargo.toml)
- `examples/wit/lisp-calls-rust/rust-shouter/src/` -- [lib.rs](examples/wit/lisp-calls-rust/rust-shouter/src/lib.rs)
- `examples/wit/lisp-calls-rust/wit/` -- [textkit.wit](examples/wit/lisp-calls-rust/wit/textkit.wit)
- `examples/wit/pipeline/` -- wit/pipeline -- three components in one `wac compose` -- [README.md](examples/wit/pipeline/README.md), [app.lisp](examples/wit/pipeline/app.lisp), [stats.lisp](examples/wit/pipeline/stats.lisp), [build.sh](examples/wit/pipeline/build.sh), [composition.wac](examples/wit/pipeline/composition.wac)
- `examples/wit/pipeline/rust-shouter/` -- [Cargo.toml](examples/wit/pipeline/rust-shouter/Cargo.toml)
- `examples/wit/pipeline/rust-shouter/src/` -- [lib.rs](examples/wit/pipeline/rust-shouter/src/lib.rs)
- `examples/wit/pipeline/wit/` -- [pipeline.wit](examples/wit/pipeline/wit/pipeline.wit)
- `examples/wit/rust-calls-lisp/` -- wit/rust-calls-lisp -- a Rust program calling a Lisp component -- [README.md](examples/wit/rust-calls-lisp/README.md), [counter.lisp](examples/wit/rust-calls-lisp/counter.lisp), [build.sh](examples/wit/rust-calls-lisp/build.sh)
- `examples/wit/rust-calls-lisp/rust-describer/` -- [Cargo.toml](examples/wit/rust-calls-lisp/rust-describer/Cargo.toml)
- `examples/wit/rust-calls-lisp/rust-describer/src/` -- [lib.rs](examples/wit/rust-calls-lisp/rust-describer/src/lib.rs)
- `examples/wit/rust-calls-lisp/wit/` -- [vowels.wit](examples/wit/rust-calls-lisp/wit/vowels.wit)
- `examples/wit/world/` -- wit/world -- someone handed me a `.wit`, now what -- [README.md](examples/wit/world/README.md), [analyzer.lisp](examples/wit/world/analyzer.lisp)
- `examples/wit/world/wit/` -- [analyzer.wit](examples/wit/world/wit/analyzer.wit)
