Alguém conhece esta linguagem ?
Confesso que fiquei curioso para saber quais sao as características desta linguagem, e qual sua aplicabilidade.
Pensei que era zueira mas não é que exite hhehehehe
http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html
Ate agora não entendi pra q q serve essa linguagem.
Pra mim isso é melancia de porco.
é soh zueira não serve pra nada hehehe
Lembra este pacote do Perl chamado “Perligata”.
http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html
Nao vejo relevancia, nem aplicabilidade.
É exatamente esse o ponto. Isso tudo é uma linguagem esotérica, que são linguagens de programação que são criadas exatamente para não serem usadas, é a extrema piada de nerd.
Shakespeare particularmente não é uma linguagem esotérica tão popular quanto brainfuck, intercal ou befunge e não é tão difícil quanto malbolge. Mas ela tem um estilo verdadeiramente único. :lol:
Heh, Malbolge.
De tão difícil que é, levaram 2 anos pra fazerem o 1º programa, e 8 anos pra fazer um 99 Bottles of Beer.
[quote=LeandroRodrigues]Pensei que era zueira mas não é que exite hhehehehe
http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html[/quote]
Confesso que quando vi o post pensei em algo como:
public Boolean aQuestao(){
if(ser()){
return Boolean.TRUE;
} else if(naoSer()){
return Boolean.TRUE;
}
return Boolean.FALSE;
}
[quote=Mero_Aprendiz][quote=LeandroRodrigues]Pensei que era zueira mas não é que exite hhehehehe
http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html[/quote]
Confesso que quando vi o post pensei em algo como:
public Boolean aQuestao(){
if(ser()){
return Boolean.TRUE;
} else if(naoSer()){
return Boolean.TRUE;
}
return Boolean.FALSE;
}
[/quote]
Prefiro o regex do Aurélio:
Pattern.compile("(bb|[^b]{2})");
Um Hello World escrito em shakespeare, copiado do site:[code]The Infamous Hello World Program.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
Hamlet:
You lying stupid fatherless big smelly half-witted coward!
You are as stupid as the difference between a handsome rich brave
hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty
old rotten codpiece and a beautiful fair warm peaceful sunny summer’s
day. You are as healthy as the difference between the sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference
between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
Scene II: The praising of Juliet.
[Enter Juliet]
Hamlet:
Thou art as sweet as the sum of the sum of Romeo and his horse and his
black cat! Speak thy mind!
[Exit Juliet]
Scene III: The praising of Ophelia.
[Enter Ophelia]
Hamlet:
Thou art as lovely as the product of a large rural town and my amazing
bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky
and the sum of a squirrel and a white horse. Thou art as beautiful as
the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet's back.
Scene I: Romeo and Juliet's conversation.
[Enter Romeo and Juliet]
Romeo:
Speak your mind. You are as worried as the sum of yourself and the
difference between my small smooth hamster and my nose. Speak your
mind!
Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!
[Exit Romeo]
Scene II: Juliet and Ophelia's conversation.
[Enter Ophelia]
Juliet:
Thou art as good as the quotient between Romeo and the sum of a small
furry animal and a leech. Speak your mind!
Ophelia:
Thou art as disgusting as the quotient between Romeo and twice the
difference between a mistletoe and an oozing infected blister! Speak
your mind!
[Exeunt][/code]Essas palavras “the difference”, “the square”, “the sum”, “the quotient” são cálculos matemáticos nesta linguagem. “Speak your mind” é para escrever o valor de uma variável no console.
[quote=victorwss]Um Hello World escrito em shakespeare, copiado do site:[code]The Infamous Hello World Program.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
Hamlet:
You lying stupid fatherless big smelly half-witted coward!
You are as stupid as the difference between a handsome rich brave
hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty
old rotten codpiece and a beautiful fair warm peaceful sunny summer’s
day. You are as healthy as the difference between the sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference
between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
Scene II: The praising of Juliet.
[Enter Juliet]
Hamlet:
Thou art as sweet as the sum of the sum of Romeo and his horse and his
black cat! Speak thy mind!
[Exit Juliet]
Scene III: The praising of Ophelia.
[Enter Ophelia]
Hamlet:
Thou art as lovely as the product of a large rural town and my amazing
bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky
and the sum of a squirrel and a white horse. Thou art as beautiful as
the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet's back.
Scene I: Romeo and Juliet's conversation.
[Enter Romeo and Juliet]
Romeo:
Speak your mind. You are as worried as the sum of yourself and the
difference between my small smooth hamster and my nose. Speak your
mind!
Juliet:
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!
[Exit Romeo]
Scene II: Juliet and Ophelia's conversation.
[Enter Ophelia]
Juliet:
Thou art as good as the quotient between Romeo and the sum of a small
furry animal and a leech. Speak your mind!
Ophelia:
Thou art as disgusting as the quotient between Romeo and twice the
difference between a mistletoe and an oozing infected blister! Speak
your mind!
[Exeunt][/code]Essas palavras “the difference”, “the square”, “the sum”, “the quotient” são cálculos matemáticos nesta linguagem. “Speak your mind” é para escrever o valor de uma variável no console.[/quote]
Se isso é um Hello World, imagine uma aplicação inteira! ahahahaha
[quote=Loiane]
Se isso é um Hello World, imagine uma aplicação inteira! ahahahaha
[/quote]
A saga das exceções da aplicação é descrita pelo Tolkien. :lol:
Sacanagem - quer dizer que na verdade a saga do rei Thingol ou Singollo, ou também “Capa Cinzenta”, contada no Silmarillion, é só um programa em Shakespeare?
Que droga… pelo menos queria saber se o Silmarillion computa algo mais complexo que uma aproximação para o número pi.
Bem, agora você sabe que toda aquela descrição “Aragorn, filho de Arathorn, descendente de Amlaith, Valandil e Isildur, o Rei de Todos os Dúnetain”, é somente a descrição de herança dos objetos
Tolkien era um grande programador! 8)
Agora descobrimos o segredo dele!
Qual será o output do livro LOTR?
42!
Pera, esse é dos livros do Douglas Adams…
Mais também serve: “A vida, o universo e tudo mais”