baum

diff examples/helloworld.baum @ 39:96e2d58bc346

added new example program; added comments to example programs
author meillo@marmaro.de
date Sat, 01 Mar 2008 20:10:02 +0100
parents 16934645036f
children
line diff
     1.1 --- a/examples/helloworld.baum	Sat Mar 01 20:04:08 2008 +0100
     1.2 +++ b/examples/helloworld.baum	Sat Mar 01 20:10:02 2008 +0100
     1.3 @@ -1,5 +1,10 @@
     1.4  # hello world program for baum
     1.5  # http://prog.marmaro.de/baum
     1.6 +#
     1.7 +# prints "Hello World"
     1.8 +# and returns the answer to everything
     1.9 +#
    1.10 +# ... what fabulous program :-)
    1.11  
    1.12  sum(0)
    1.13  	print(99)
    1.14 @@ -27,3 +32,5 @@
    1.15  		number(100) #d
    1.16  	print(99)
    1.17  		number(10)  #\n
    1.18 +
    1.19 +	number(4)