Mercurial > repos > icfp2014
view code/test.lm @ 7:afd55b32549b
Implement support for local variables and top level functions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 25 Jul 2014 13:47:21 -0700 |
parents | a9a2ad99adfb |
children | 494ef2e3a756 |
line wrap: on
line source
#{ step <- :myState :world { foo <- 1234 if: (isInteger?: 1 | [(2 + 32 * 8) 3 4]) { myState <- 42 } else: { myState <- 24 } #[myState 1] } main <- { #[0 step] } }