Mercurial > repos > tabletprog
view modules/true.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 | 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" } }