Mercurial > repos > tabletprog
view samples/testdict.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 | 6735db9b44ba |
children |
line wrap: on
line source
#{ main <- { foo <- dict linear: foo set: "key1" "val1" foo set: "key2" "val2" foreach: foo :k :v { print: k . ", " . v . "\n" } } }