Jump to content

User:DanielCristofani/Hello world program in esoteric languages

From Wikipedia, the free encyclopedia

This page shows the hello world program in esoteric programming languages — that is, working programming languages that were designed as experiments or jokes and were not intended for serious use.

"!dlrow olleH">v
               :
               ,
              ^_@
v v"Hello world!"<
>                ^
> >:#v_@
^   .<
0"!dlrow olleH">,:#<_@
   define procedure ' 'hello_world' ' [n]:
   block 0: begin
       print['Hello world!'];
   block 0: end.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
   Hello World Souffle.
  
   Ingredients.
   72 g haricot beans
   101 eggs
   108 g lard
   111 cups oil
   32 zucchinis
   119 ml water
   114 g red salmon
   100 g dijon mustard
   33 potatoes
   
   Method.
   Put potatoes into the mixing bowl.
   Put dijon mustard into the mixing bowl.
   Put lard into the mixing bowl. 
   Put red salmon into the mixing bowl.
   Put oil into the mixing bowl.
   Put water into the mixing bowl.
   Put zucchinis into the mixing bowl.
   Put oil into the mixing bowl.
   Put lard into the mixing bowl.
   Put lard into the mixing bowl.
   Put eggs into the mixing bowl.
   Put haricot beans into the mixing bowl.
   Liquefy contents of the mixing bowl.
   Pour contents of the mixing bowl into the baking dish.
   
   Serves 1.
   H
   PLEASE DO ,1 <- #13
   DO ,1 SUB #1 <- #238
   DO ,1 SUB #2 <- #112
   DO ,1 SUB #3 <- #112
   DO ,1 SUB #4 <- #0
   DO ,1 SUB #5 <- #64
   DO ,1 SUB #6 <- #238
   DO ,1 SUB #7 <- #26
   
   DO ,1 SUB #8 <- #248
   DO ,1 SUB #9 <- #168
   DO ,1 SUB #10 <- #24
   DO ,1 SUB #11 <- #16
   DO ,1 SUB #12 <- #158
   DO ,1 SUB #13 <- #52
   PLEASE READ OUT ,1
   PLEASE GIVE UP
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<


"Hello World\n"


A "Hello World" program in Piet.


 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]



   /e+++++++++++++++++++++++++++++.\  
   ./\/\/\  /+++\!>.+++o.l.+++++++l/                  #/?\  
$H!\++++++\ +   \comma.------------ .<w++++++++.\ /?\<!\-/
   /++++++/ +/\                      /.--------o/ \-/!.++++++++++/?\n
 /=\++++++\ +\\!=++++++\             \r+++.l------.d--------.>+.!\-/
 \!\/\/\/\/ \++++++++++/

Modular SNUSP:

      /@@@@++++#               #+++@@\                #-----@@@\n
$@\H.@/e.+++++++l.l.+++o.>>++++.< .<@/w.@\o.+++r.++@\l.@\d.>+.@/.#
  \@@@@=>++++>+++++<<@+++++#       #---@@/!=========/!==/


0101111111110010001111111111010000001101100101001011111110010001111110
1000000110111001010111111100101000101011100101001011111111111001000110
0000000000000000001000000110110000010100000000000000000000000000000000
0000000101001011111111111001000111111101000000110110010100101111110010
0011111101000000110110010101110010100000000000000000000010100000000000
0000000000000000101001011111111111001000110000000000000000000100000011
011000001010


%begin @jump $main
%main.0 @echo %msg
%main.1 @end
%main.count 2
%msg hello world


  `r```````````.H.e.l.l.o. .w.o.r.l.di

Note: actually prints "What do you want, universe?" in Klingon.

   ~ nuqneH { ~ 'u' ~ nuqneH disp disp } name
   nuqneH
<print>Hello World</print> 


[edit]

[[Category:Esoteric programming languages| ]] [[he:תוכנית Hello world בשפות איזוטריות]] [[pt:Programa Olá Mundo em linguagens de programação esotéricas]]