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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

piglatindemo/v0 package

Overview

Package piglatindemo is a small gnoweb demo of the Pig Latin translator provided by the p/moul/x/daily/piglatin(/p/nym-moultest123/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`.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

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").

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/daily/piglatindemo/v0.Render()"

Result