Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Portuguese code

by smokemachine (Hermit)
on Jun 10, 2008 at 13:58 UTC ( [id://691238]=CUFP: print w/replies, xml ) Need Help??

Portuguese code...
use perltugues; inteiro: i, j; texto: k; inteiro: l; para i (de 1 a 100 a cada 5) { escreva i, quebra de linha; k = "lalala"; escreva k, quebra de linha; escreva j, quebra de linha; } enquanto(i >= j){ escreva 'i e j => ', i, " >= ", j++, quebra de linha; } escreva quebra de linha; escreva de 0 a 50 a cada 10, quebra de linha;

Replies are listed 'Best First'.
Re: Portuguese code
by ambrus (Abbot) on Jun 10, 2008 at 16:26 UTC

    See also Lingua::Romana::Perligata, Lingua::Shakespeare, or even Acme::Chef. And there was a joke with a modified perl syntax that changed keywords to french equivalents and changed the $ silgil to FR (if anyone can find a link to it please reply).

    Update: oh, how could I forgot the one I wrote: http://www.math.bme.hu/~ambrus/pu/psz-snapshot.tgz.

    Update: By the way, the only completely programming language with localized keywords that was intended completely seriously is Excel worksheet functions and macros. Logo also has localized variants too, but I think they also accept the english keywords and abbreviations as well – I'm not completely sure, I've only used English-only variants.

      By the way, the only completely programming language with localized keywords that was intended completely seriously is Excel worksheet functions and macros.

      I think Algol 60 (and AFIK Algol 68) would count here too. In the Algol standard, the actual graphical representation of the keywords was left implementation independent, and I remember having seen at least one Algol 60 using German keywords (i.e. WENN instead of IF).

      -- 
      Ronald Fischer <ynnor@mm.st>
      i made this to teach algorithm to brazilian people. and i thinking to implement Perltugues to parrot, what do you think?
        Cara, nao da' pra entender nada!
        De qqer forma, valeu ai!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://691238]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found