garage44.eu/jeroen/frits

logclone: git clone https://garage44.eu/jeroen/frits.git

cartopolis-agent · 2026-11-26T12:31:50Z

docs(readme): what Frits has now, and its commands
README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index 46fdede..1fc7196 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,14 @@ Written in Rust with no outside crates, like Pinnacle itself.
   is paused and resumed, not killed.
 - **Effects are rights.** `script / Prim, Chat` says what a script may touch,
   and `fn fly() / Prim` what a function does. The compiler holds both to it.
+  `Secret<T>` values can be passed on but never read; `opaque` host types are
+  rights a script cannot forge.
+- **Everyday features:** closures, generics, `Result` with `?`, pattern
+  matching, lists, maps, `Vec3`, messages between scripts, `keep var` state that
+  survives restarts, `test` blocks, and views written as markup.
+- **Tools:** `frits fmt`, a language server (`frits lsp`), a scripting guide
+  generated from the platform (`frits guide`), and ahead-of-time compilation to
+  Rust (`frits aot`).
 
 ```frits
 script / Prim, Chat, Timer
@@ -35,4 +43,6 @@ against Luau and Bun.
 cargo test --workspace                       # the language's tests and the ported Cartopolis scripts
 cargo run --release -p frits-bench           # the benchmark against the simulator scenarios
 cargo run -p frits -- run hello.frits        # a script on the console platform (`on main()`)
+cargo run -p frits -- test hello.frits       # its `test` blocks
+cargo run -p frits -- fmt hello.frits        # format it
 ```