Re:Non-English-based programming languages
by rett12 on Monday September 02, 2013 @01:19PM
(#6316067)
> Perl – While Perl's keywords and function names are generally in English, it allows modification of its parser to modify the input language, such as in Damian Conway's Lingua::Romana::Perligata module, which allows programs to be written in Latin or his Lingua::tlhInganHol::yIghun Perl language in Klingon. They do not just change the keywords but also the grammar to match the language.
That's impressive
[ Parent
| on HN ]
As an example just how far they go, the statement:
clavis hashus nominamentum da.
Is equivalent to [1]:
@keys = keys %hash;
And in Klingon Perl [2]:
De'pu'wI' bIH yInob!
Is equivalent to:
%data = @_;
[1] https://metacpan.org/module/DCONWAY/Lingua-Romana-Perligata-...