Mercurial > baum
annotate examples/return.baum @ 50:0870e261bf28
added first implementation of "if" and "while" (but they are not perfect yet)
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 15:54:35 +0100 |
parents | c7dca4a1dc37 |
children |
rev | line source |
---|---|
43
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
1 # example program for baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
2 # http://prog.marmaro.de/baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
3 # |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
4 # returns the exit code `4' to the shell |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
5 |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
6 number(4) |