Mercurial > repos > tabletprog
view samples/hash.tp @ 236:c463a891ccd3
Support reading files larger than 1024 bytes in parser module
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 03 Jan 2014 22:13:34 -0800 |
parents | 7f635666c73d |
children | 2a0463c46913 |
line wrap: on
line source
#{ main <- { print: "hash of 'foo' is " . ("foo" hash) . "\n" print: "hash of 'bar' is " . ("bar" hash) . "\n" print: "hash of 'foobar' is " . ("foobar" hash) . "\n" print: "hash of 1 is " . (1 hash) . "\n" print: "hash of 2 is " . (2 hash) . "\n" print: "hash of 3 is " . (3 hash) . "\n" } }