Mercurial > repos > tabletprog
view modules/true.tp @ 257:be224817a14b
Fix fold on ast nodes so that all nodes get visited
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 01 Jun 2014 17:20:29 -0700 |
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" } }