Mercurial > repos > tabletprog
view samples/private.tp @ 217:adad61ea2f3a
Switched to a less hacky implementation of hygiene and exposed more AST properties to macros
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 21 Dec 2013 12:07:51 -0800 |
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 } }