Skip to content

Sample Programs

mudkip201 edited this page Dec 31, 2017 · 6 revisions

Sample programs

  1. Hello, World!

89*9⁺²⁺Đ7+ĐĐ3+7²5-2⁵9²6+6²⁺3*Đ3+Đ6-9⁺²2⁵⁺áƇǰ

Explanation:

89*                                                        Pushes 72 ('H')
   9⁺²⁺                                                    Pushes 101 ('e')
       Đ7+                                                 Duplicates 101, then adds 7 ('l')
          Đ                                                Duplicates 108 ('l')
            Đ3+                                            Duplicates 108, then adds 3 ('o')
               7²5-                                        Pushes 44 (',')
                   2⁵                                      Pushes 32 (' ')
                     9²6+                                  Pushes 87 ('W')
                         6²⁺3*                             Pushes 111 ('o')
                              Đ3+                          Duplicates 111, then adds 3 ('r')
                                 Đ6-                       Duplicates 114, then subtracts 6 ('l')
                                    9⁺²                    Pushes 100 ('d')
                                       2⁵⁺                 Pushes 33 ('!')
                                          á                Replaces the stack with an array containing the stack's contents
                                           Ƈ               Cast to unicode characters
                                            ǰ              Join strings
                                                           Implicit print
Clone this wiki locally