Autor Beitrag
Hajoseb
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: Do 05.07.07 21:49 
Hi.

Habe durch Zufall bei Wikipedia mal einen Artikel über "Hello World" in allen möglichen (und insbesonders unmöglichen) Programmiersprachen gefunden.

Besonders die Esoerischen Programmiersprachen (weiter unten) sind teilweise echt abgedreht *g*

de.wikipedia.org/wiki/Hello_world

Für Pratchett(Scheibenwelt-Fans) gibt es sogar eine speziell auf Orang-Utan zugeschnttene Programmiersprache *rofl*

Ook! de.wikipedia.org/wiki/Ook%21

Ook! ist eine Variante der esoterischen Programmiersprache Brainfuck für Orang-Utans. Die Designkriterien der Sprache sind:

Eine Programmiersprache sollte schreib- und lesbar für Orang-Utans sein.
Die Syntax sollte einfach sein, leicht zu merken und das Wort Monkey (engl. Affe) vermeiden.
Bananen sind gut.
Augenscheinlich ist diese Programmiersprache angelehnt an die Bibliothekarsfigur aus den Scheibenweltromanen von Terry Pratchett (Vergleiche hierzu die Eigenschaft, jedes Wort und jeden Satz mit „Ook“ („Ugh“ im Deutschen) ausdrücken zu können und seine Empfindlichkeit, wenn er als „Monkey“ bezeichnet wird – er bevorzugt „Ape“).

Ook hat nur drei Syntaxelemente:

Ook.
Ook?
Ook!
Diese werden zu Zweiergruppen zusammengefasst, die sich daraus ergebenden 9 Möglichkeiten lassen sich wie Brainfucksymbole verwenden (Ook? Ook? wird nicht verwendet). Jedes Ook!-Programm besteht also aus einer geraden Zahl von Ooks. Zeilenumbrüche werden ignoriert.

Es gibt inzwischen Ook!-Interpreter in Ruby, Python, Perl und C# sowie einen Ook! zu Brainfuck und Brainfuck zu Ook!-Konverter in Java, sowie einen Delphi Brainfuck<>Ook!-Konverter und damit bald mehr Ook!-Interpreter als Ook!-Programme.

Hello World in: Ook (zu deutsch Ugh *g*)


Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
Hajoseb Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: Do 05.07.07 21:51 
Das ist auch genial.

Das Lied "99 Bottles of Beer" in über 1000 verschiedenen Programmiersprachen ...

www.99-bottles-of-beer.net/

hier C# V2.0 : www.99-bottles-of-be...ae17db7f0c37722c607f
phab
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Fr 06.07.07 08:47 
Ich finde die Programmiersprache im Rezeptestyle genial :) (Chef)
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Fr 06.07.07 11:05 
also, mir gefällt diese java-abwandlung java2k die irgendwie an quantenphysik angelehnt ist: deine befehle werden nur mit 90%iger wahrscheinlichkeit ausgeführt *lol*(ist windows in java2k geschrieben?? *gg* )
find die idee einfach nur geil wenn man sich das einfach mal vorstellt...
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Fr 06.07.07 13:46 
user profile iconandras hat folgendes geschrieben:
also, mir gefällt diese java-abwandlung java2k die irgendwie an quantenphysik angelehnt ist: deine befehle werden nur mit 90%iger wahrscheinlichkeit ausgeführt *lol*(ist windows in java2k geschrieben?? *gg* )
find die idee einfach nur geil wenn man sich das einfach mal vorstellt...

Vor allem wenn man sich mal das Debugging vorstellt... :mrgreen:

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Fr 06.07.07 14:11 
stell dir einmal vor du musst das programm vermarkten :mrgreen:
ausblenden Quelltext
1:
2:
3:
Funktionen:
#Führt alles mit 90%iger Wahrscheinlichkeit ausgeführt.
#Speichern Sie Ihre arbeit wann immer Sie wollen, zu 10% ist alles verloren

muss lustig sein :nut:
Tilo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1098
Erhaltene Danke: 13

Win7 geg. WInXP oder sogar Win98
Rad2007
BeitragVerfasst: Fr 06.07.07 15:21 
Beziehen sich die 90% auf jede einzelne Anweisung?
Wenn ja dann ist die Wahrscheinlichkeit das ein Code mit nur 10 Befehlen korrekt augeführt mit schon bei 0,9^10=,348678... .
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Fr 06.07.07 15:28 
ja, soviel ich weiß, schon, aber es gibt einen befehl der mit 100%iger wahrscheinlichkeit ausgeführt wird, aber am besten du liest hier nach...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 06.07.07 16:40 
Da bevorzuge ich lieber Intercal: Da muss man nämlich keine bösen GoTos verwenden, sondern kann ungefährliche Come Froms nutzen. Ist doch viel Intuitiver als zu sagen, wo der Interpreter hin soll.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 06.07.07 16:41 
Also meine Favoriten sind definitiv Malbolge, Piet und Whitespace. Ich hoffe ich werde nie Programme drin schreiben müssen.

Aber dieser Thread drängt mir mal wieder die Frage auf, ob Programmierer der richtige Umgang für mich sind. Will ich wirklich mit Menschen zu tun haben die sich so etwas ausrenken oder gar "aus Spaß" damit arbeiten :?!?:?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 06.07.07 16:54 
Also für Mabolge hat IIRC noch kein Mensch programmiert.

Piet sieht relativ stylisch aus. Schon von daher genial ;-)

Whitespace ist aber einfach nur genial ... Ist allerdings auch nur ne Weiterentwicklung von Brainfuck ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Fr 06.07.07 17:03 
whitespace wurde ja auch nur zum tintesparen beim drucken von quellcodes entickelt ;)

mfg
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Fr 06.07.07 18:33 
@Java2k:
Gibts da dann auch Interferenz? :mrgreen:
Vor allem destruktive Interferenz bei Befehlen wäre lustig^^

Gruß
alias5000

_________________
Programmers never die, they just GOSUB without RETURN
McFarlane
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 68

WIN XP Prof.
Delphi 2005 PE, Turbo Delphi 2006, PHP (Eclipse)
BeitragVerfasst: Fr 06.07.07 19:14 
user profile iconKlabautermann hat folgendes geschrieben:
Aber dieser Thread drängt mir mal wieder die Frage auf, ob Programmierer der richtige Umgang für mich sind. Will ich wirklich mit Menschen zu tun haben die sich so etwas ausrenken oder gar "aus Spaß" damit arbeiten :?!?:?


Wieso?
Abundzu mal was in Brainfuck coden macht doch Spaß... :D

_________________
21 ist nur die halbe Wahrheit...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 06.07.07 19:33 
An dieser Stelle sei einfach noch mal auf den Brainfuck-Wettbewerb von Martok und mir verwiesen, der auch (neben dem Gewinnspiel zum 5-Jährigen) noch stattfindet.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Hajoseb Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: Fr 06.07.07 20:46 
Link ?
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Sa 07.07.07 15:06 
vl einmal die suche bemühen??? suchwort: Suche in der Entwickler-Ecke PROGRAMMIERWETTBEWERB
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 07.07.07 15:18 
Wobei die Suche sogar nicht mal nötig gewesen wäre, da der zugehörige Thread in Offtopic als Wichtig markiert ist und damit ganz oben steht ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Hajoseb Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: Sa 07.07.07 20:11 
Titel: Schäm ...
user defined image