Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source realm

Package piglatindemo is a small gnoweb demo of the Pig Latin translator provided by the [p/moul/x/daily/piglatin](/p/...

Readme View source

gno.land/r/moul/x/daily/piglatindemo/v0

Interactive gnoweb demo of the p/moul/x/daily/piglatin Pig Latin library — it renders the rules, a gallery of worked examples, and a live sentence translator. It has no translation logic of its own.

Append a sentence to the path to translate it, e.g. /r/moul/x/daily/piglatindemo/v0:/The quick brown fox.


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:

gno.land/r/moul/x/daily/piglatindemo/v0 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.

Overview

Package piglatindemo is a small gnoweb demo of the Pig Latin translator provided by the p/moul/x/daily/piglatin(/p/moul/x/daily/piglatin/v0) library: it renders the rules, a gallery of worked examples, and an interactive sentence translator.

It contains no translation logic of its own — everything comes from `piglatin.Translate` and `piglatin.TranslateToken`.

Functions 1

func Render

1func Render(path string) string
source

Render is the gnoweb entrypoint (Markdown). Root explains the rules; any other path is treated as a sentence to translate, e.g. Render("/Hello world").

Imports 2

Source Files 3