Hacker News new | past | comments | ask | show | jobs | submit login
Lingua::Romana::Perligata — Perl in Latin (metacpan.org)
73 points by lelf 7 days ago | hide | past | web | favorite | 18 comments
 help




You won't believe me, but my current GF and I kissed for the first time four and a half years ago while we were in university, and I had just finished showing her this very Perl module.

In retrospect, maybe that meant something. Still, I can't complain.


I believe you. She either wanted you to quit droning about this nerdy thing, or she finds it attractive when you speak passionately about something.

Many such cases.


This was always a classic example of how flexible Perl was -- that you could even rewrite the language to use Latin. I wonder if anyone's working on something similar for Racket, given that being a language construction set is one of its strengths.

for those wondering, perl has this source filter feature [0] that allows implementation of these things, see also bleach [1] and ook [2] modules.

0. https://perldoc.perl.org/perlfilter.html

1. https://metacpan.org/pod/Acme::Bleach

2. https://metacpan.org/pod/Acme::Ook


Ook isn't a source filter, it's just the interpreter. But building a source filter on top of it would be pretty easy.

And there is also Lingua::tlhInganHol::yIghun -- Perl in Klingon (https://metacpan.org/pod/Lingua::tlhInganHol::yIghun)

Qapla'


Well one could say that we can finally program computer using a natural language.

The spec didn't also require the natural language to be currently spoken.


When somebody asks me why I consider Perl to be one of the greatest languages ever created, I am always showing this.

The original is gone, but there is this:

  sup 
  { 
    a be 1 bitch 
    slongas(a fearin 100) 
      b be 2 bitch 
      c be 0 bitch 
      slongas(b fearin a) 
        if (a videdby b time b sameas a) 
          propsta c bitch 
        fi 
        propsta b bitch 
      nomo 
      if (c sameas 0) 
        putou a bitch 
      fi 
      propsta a bitch 
    nomo 
  }

http://compsci.ca/v3/viewtopic.php?t=8253

This looks amazing, I'd love to see a program written in this.


Thanks! My favorite [1]:

                      maximum tum val inquementum
                tum biguttam tum stadium egresso scribe.
                             da meo maximo
                        vestibulo perlegementum.
 
            maximum comementum tum novumversum egresso scribe.
                              meis listis
                   conscribementa II tum maximum da.
                       dum damentum nexto listis
                           decapitamentum fac
 
               sic lista sic hoc tum nextum recidementum
                       cis vannementa listis da.
                 dictum sic deinde cis tum biguttam tum
                         stadium tum cum nextum
               comementum tum novumversum scribe egresso.
                                  cis
As I understand it (I don't understand it!), a sieve of Eratosthenes.

[1]: https://metacpan.org/source/DCONWAY/Lingua-Romana-Perligata-...


Haha this is great. They read like bad movie magical incantations

Two languages with one stone :D

Damian Conway is a beast.

[flagged]


please don't go look at obfuscated C code, otherwise you're gonna have a panic attack everytime you realize how much infrastructure has been developed in C and is run everyday.

I have bad news for you about the bash source code.

Perl gives you the creative freedom to do nonsense like this or to be dead serious.

But I do agree that using Lingua::Romana::Perligata in production is not a good idea.




Applications are open for YC Winter 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: