Mercurial > repos > tabletprog
view samples/numparse.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 | 74cab9b5f2a4 |
children |
line wrap: on
line source
#{ main <- { print: "42: " . ("42" int32) . ", -42: " . ("-42" int32) . "\n" print: "2147483647: " . ("2147483647" int32) . ", -2147483648: " . ("-2147483648" int32) . "\n" print: "1.23456789: " . ("1.23456789" parseFloat64) . "\n" } }