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

README.md

1.28 Kb · 29 lines

gno.land/p/moul/x/daily/piglatin/v0

Pig Latin translatorTranslate, TranslateToken.

Pure strings/unicode, fully deterministic. Vowel-start words get way; consonant-start words move the leading consonant cluster to the end and add ay; y is a consonant only as the first letter; capitalization and edge punctuation are preserved.

1import "gno.land/p/moul/x/daily/piglatin/v0"
2
3piglatin.Translate("Hello, world!")   // "Ellohay, orldway!"
4piglatin.TranslateToken("string")     // "ingstray"

Live demo: r/moul/x/daily/piglatindemo · render it at /r/moul/x/daily/piglatindemo/v0.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

🧪 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.