baum
annotate examples/helloworld.baum @ 49:00de718c8590
Added tag 0.3 for changeset f9fc4c4f9e3d666dad2bd1efa627fb646334433c
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 13:35:42 +0100 |
parents | 16934645036f |
children |
rev | line source |
---|---|
meillo@17 | 1 # hello world program for baum |
meillo@17 | 2 # http://prog.marmaro.de/baum |
meillo@39 | 3 # |
meillo@39 | 4 # prints "Hello World" |
meillo@39 | 5 # and returns the answer to everything |
meillo@39 | 6 # |
meillo@39 | 7 # ... what fabulous program :-) |
meillo@17 | 8 |
meillo@17 | 9 sum(0) |
meillo@17 | 10 print(99) |
meillo@17 | 11 number(72) #H |
meillo@17 | 12 print(99) |
meillo@17 | 13 number(101) #e |
meillo@17 | 14 print(99) |
meillo@17 | 15 number(108) #l |
meillo@17 | 16 print(99) |
meillo@17 | 17 number(108) #l |
meillo@17 | 18 print(99) |
meillo@17 | 19 number(111) #o |
meillo@17 | 20 print(99) |
meillo@17 | 21 number(32) #space |
meillo@17 | 22 |
meillo@17 | 23 print(99) |
meillo@17 | 24 number(87) #W |
meillo@17 | 25 print(99) |
meillo@17 | 26 number(111) #o |
meillo@17 | 27 print(99) |
meillo@17 | 28 number(114) #r |
meillo@17 | 29 print(99) |
meillo@17 | 30 number(108) #l |
meillo@17 | 31 print(99) |
meillo@17 | 32 number(100) #d |
meillo@17 | 33 print(99) |
meillo@17 | 34 number(10) #\n |
meillo@39 | 35 |
meillo@39 | 36 number(4) |