Mercurial > repos > tabletprog
view samples/testdict.tp @ 364:e44f65abaf0e
Support labels in non-branch instructions. String literals now work and so does the llhello sample
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 26 Apr 2015 11:16:14 -0700 |
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" } } }