Mercurial > baum
view examples/sum3input_v2.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 | 96e2d58bc346 |
children | 6e46b106c334 |
line wrap: on
line source
# example program for baum # http://prog.marmaro.de/baum # # echoes the sum and a newline afterwards # then returns 0 to the shell # # see: sum3input.baum number(0) sum(0) print(0) sum(0) input(0) input(0) input(0) print(99) number(10)