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