annotate modules/true.tp @ 272:bb2b4613fdc8

Added support for encoding integers and booleans as JSON
author Michael Pavone <pavone@retrodev.com>
date Sat, 19 Jul 2014 20:18:34 -0700
parents 1417f13f219c
children
rev   line source
pavone@68 1 #{
pavone@70 2 if <- :self trueblock {
pavone@70 3 trueblock:
pavone@70 4 }
pavone@97 5 ifnot <- :self falseblock {
pavone@97 6 self
pavone@97 7 }
pavone@68 8 if:else <- :self trueblock :elseblock {
pavone@68 9 trueblock:
pavone@68 10 }
bill@71 11 not <- {
bill@71 12 false
bill@71 13 }
pavone@197 14 string <- { "true" }
pavone@272 15 jsonEncode <- { "true" }
pavone@68 16 }