v0 source realm
Package triedemo is a small gnoweb demo of the prefix tree provided by the [p/moul/x/daily/trie](/p/moul/x/daily/trie...
View source
Trie Autocomplete
⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.
A gnoweb autocomplete box: type a prefix in the URL and the realm lists every dictionary word that completes it, in lexicographic order.
Demo of the p/moul/x/daily/trie
library — the tree, the ordering and the result cap all come from the package;
this realm holds no trie logic of its own. The dictionary is a fixed 55-word
list of gno/Go vocabulary, so the realm has no mutable state and Render is
fully deterministic.
/r/moul/x/daily/triedemo/v0 → dictionary size + a few prefixes to try
/r/moul/x/daily/triedemo/v0:co → the 10 words starting with "co"
/r/moul/x/daily/triedemo/v0:trie → "trie" is itself a word
/r/moul/x/daily/triedemo/v0:zzz → no match
Read-only: there are no state-changing functions, so nothing here costs more than a query. Results are capped at 25 per render.
Built for gno 0.9.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package triedemo is a small gnoweb demo of the prefix tree provided by the p/moul/x/daily/trie(/p/moul/x/daily/trie/v0) library: type a prefix in the URL and it lists every dictionary word that completes it.
It contains no trie logic of its own — the tree, the ordering and the limit all come from the library. The dictionary is a fixed, sorted word list so the realm has no mutable state and Render is fully deterministic.
1
3
- gno.land/p/moul/x/daily/trie/v0 package
- strconv stdlib
- strings stdlib