baum
annotate examples/helloworld.baum @ 17:16934645036f
added example directory with hello world program
author | meillo@marmaro.de |
---|---|
date | Wed, 13 Feb 2008 20:41:14 +0100 |
parents | |
children | 96e2d58bc346 |
rev | line source |
---|---|
meillo@17 | 1 # hello world program for baum |
meillo@17 | 2 # http://prog.marmaro.de/baum |
meillo@17 | 3 |
meillo@17 | 4 sum(0) |
meillo@17 | 5 print(99) |
meillo@17 | 6 number(72) #H |
meillo@17 | 7 print(99) |
meillo@17 | 8 number(101) #e |
meillo@17 | 9 print(99) |
meillo@17 | 10 number(108) #l |
meillo@17 | 11 print(99) |
meillo@17 | 12 number(108) #l |
meillo@17 | 13 print(99) |
meillo@17 | 14 number(111) #o |
meillo@17 | 15 print(99) |
meillo@17 | 16 number(32) #space |
meillo@17 | 17 |
meillo@17 | 18 print(99) |
meillo@17 | 19 number(87) #W |
meillo@17 | 20 print(99) |
meillo@17 | 21 number(111) #o |
meillo@17 | 22 print(99) |
meillo@17 | 23 number(114) #r |
meillo@17 | 24 print(99) |
meillo@17 | 25 number(108) #l |
meillo@17 | 26 print(99) |
meillo@17 | 27 number(100) #d |
meillo@17 | 28 print(99) |
meillo@17 | 29 number(10) #\n |