Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Portuguese code

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

Description: 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;
Comment on Portuguese code
Download Code
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!

Back to Snippets Section

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (17)
As of 2015-09-04 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (136 votes), past polls