Mercurial > repos > tabletprog
view samples/private.tp @ 68:3a169ebb3224
Change strategy for handling true and false to avoid some initialization order problems and improve performance. Add support for negative integer literals. Update samples to reflect true/false change.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 14 Jul 2012 16:14:01 -0700 |
parents | cd41f7c22fcd |
children |
line wrap: on
line source
#{ makeobj <- { foo <- 40 #{ bar <- { foo } inc <- { foo <- foo + 1 1 } } } main <- { baz <- makeobj: inc: baz inc: baz bar: baz } }