/p/moul/x/daily/piglatin/v0
Directory · 3 Files
gno.land/p/moul/x/daily/piglatin/v0
Pig Latin translator — Translate, 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.