# `gno.land/r/moul/x/daily/semverdemo/v0`
Live demo of the [`p/moul/x/daily/semver`](https://github.com/moul/gno-contracts/tree/main/p/moul/x/daily/semver/v0)
Semantic Versioning library.
Holds the realm state the pure library deliberately does not — a "submitted
versions" board (an `avl.Tree` of version string → submitter address) — and
wires it to the chain, keying each submission by `unsafe.PreviousRealm().Address()`:
- `Submit(cur, version)` — validate with `semver.Parse` and post a version on-chain.
- `Render("/")` — overview plus a table of worked examples.
- `Render("/<a>/<b>")` — parse both and show the comparison, e.g. `/1.2.3/1.2.10`.
- `Render("/sorted")` — everyone's submissions, lowest → highest precedence.
All parsing and comparison math lives in the library; this realm is just the
board, the wiring, and the gnoweb view. Render it at
[`/r/moul/x/daily/semverdemo/v0`](https://gno.land/r/moul/x/daily/semverdemo/v0).
<!-- BEGIN GNOCONTRACTS FOOTER (generated by `make readmes`; do not edit below) -->
---
Part of **[moul/gno-contracts](https://github.com/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](https://github.com/moul/gno-contracts/blob/main/DISCLAIMER.md).
<!-- END GNOCONTRACTS FOOTER -->
Render(path string) string
Submit(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, version string)
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.