Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
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.

      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!
      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>

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 examining the Monastery: (11)
As of 2014-08-22 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (156 votes), past polls