baum
view examples/helloworld.baum @ 41:1ad3d7305e5d
reduced output; cleanups
author | meillo@marmaro.de |
---|---|
date | Sat, 01 Mar 2008 20:35:00 +0100 |
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)