REMEMBER / RECALL
Persistent key-value store scoped to your namespace. Unlike CACHE, REMEMBER values never expire unless explicitly deleted with FORGET.
| Verb | Description |
|---|---|
REMEMBER "key" AS "value" | Store a value permanently |
RECALL "key" SET ?val | Retrieve — returns null if not found |
FORGET "key" | Delete a stored value |
REMEMBER "app_name" AS "Engineering Magic"
AFTER RECALL "app_name" SET ?val
AFTER EMIT ?val
Try it ›
FORGET
REMEMBER "temp" AS "hello"
AFTER FORGET "temp"
AFTER RECALL "temp" SET ?val
AFTER EMIT ?val
(* → null *)
Store structured data
NEW JSON OBJECT
OPEN NEST
SET "version" AS "1.2.0"
AND SET "debug" AS "false"
CLOSE NEST
SET ?config
AFTER CAST ?config AS "json" SET ?json_str
AFTER REMEMBER "app_config" AS ?json_str
AFTER RECALL "app_config" SET ?stored
AFTER PARSE JSON ?stored SET ?obj
AFTER EMIT ?obj(version)
Try it ›
| Feature | REMEMBER | CACHE |
|---|---|---|
| Persistence | Permanent until FORGET | Expires with TTL or on restart |
| TTL support | No | Yes — ON "seconds" |
| Typical use | Config, flags, counters, cursors | Sessions, rate limits, expensive computations |