Settings

Theme

Lingua::Romana::Perligata - grammatically correct Latin which compiles to Perl

csse.monash.edu.au

3 points by nosignal · 1 comment

Reader

1 thread
nosignalOP

I saw Damian Conway present about this, and it was absolutely fascinating. It started as a practice of removing syntax from code position and instead encoding it in variable/function names, like Latin does.

"The paper also explains the special source filtering and parsing techniques required to efficiently interpret a programming language in which the syntax is (largely) non-positional."

Here's the Sieve of Eratosthenes:

        #! /usr/local/bin/perl -w
        use Lingua::Romana::Perligata;
        maximum inquementum tum biguttam egresso scribe.
        meo maximo vestibulo perlegamentum da.
        da duo tum maximum conscribementa meis listis.
        dum listis decapitamentum damentum nexto
            fac sic
                nextum tum novumversum scribe egresso.
                lista sic hoc recidementum nextum cis vannementa da listis.
            cis.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection