Transliterate English text using the Greek alphabet: Difference between revisions
Transliterate English text using the Greek alphabet (view source)
Revision as of 21:19, 17 June 2022
, 1 year agoadd y and k
Thundergnat (talk | contribs) m (→{{header|Raku}}: add markup) |
m (add y and k) |
||
Line 98:
=={{header|Julia}}==
<lang ruby>const texts = [
"""The quick brown fox jumped over the lazy dog.""",
Line 110 ⟶ 109:
const replacements = [
"ch" => "χ", "th" => "θ", "ps" => "ψ", "ph" => "f", r"s(\W)" => s"ς\1", "Ch" => "Χ",
"
"
"
"
"
"
"
"
for txt in texts
Line 132 ⟶ 130:
The quick brown fox jumped over the lazy dog.
=>
Θε
=================================================================
I was looking at some rhododendrons in my back garden,
Line 141 ⟶ 139:
laying in my patio.
=>
Ι ωας
δρεσσεδ ιν
Ας Ι ανσωερεδ ιτ, Ι
cαυσεδ α φραγμεντ οφ
=================================================================
sphinx of black quartz, judge my vow.
=>
σφινξ οφ
=================================================================
</pre>
|