Mercurial > repos > tabletprog
view modules/true.tp @ 212:32080f96c3a0
Implement matchOne matching macro. Support more AST node types in zeroPlus matching macro.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Nov 2013 15:05:24 -0800 |
parents | 1417f13f219c |
children | bb2b4613fdc8 |
line wrap: on
line source
#{ if <- :self trueblock { trueblock: } ifnot <- :self falseblock { self } if:else <- :self trueblock :elseblock { trueblock: } not <- { false } string <- { "true" } }