Crate igpay_atinlay[−][src]
Text to Pig Latin conversion.
This crate began as a solution to Exercise 8.2 in The Rust Programming Language. The innocuous-looking phrase “Keep in mind the details about UTF-8 encoding!” in that exercise conceals a world of pain.
At the end of the day, Pig Latin is not a well-defined dialect. This program will produce questionable results for complicated cases and non-Romance languages (for which the underlying crate has no idea of extra vowels). It will probably produce nonsense answers on “exotic” languages.
Authors
-
Reddit /u/AlexRodger wrote the original code.
-
Reddit /u/hjd_thd rewrote to get an FP solution.
-
Reddit /u/po8 rewrote again into a more production-grade version. The rewrite ended up being pretty from-scratch.
Structs
IgpayAtinlay | Transformer from text to Pig Latin. |