Mercurial > repos > tabletprog
view samples/testdict.tp @ 220:a1a80af71b05
Implement onePlus macro. Fix some bugs in the other matching macros. Implement integer literal parsing rules.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 23 Dec 2013 14:44:31 -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" } } }