view samples/numparse.tp @ 350:a3b06d53bcb9

Make il and x86 modules cope with dict hash instead of dict linear for the program definition
author Michael Pavone <pavone@retrodev.com>
date Fri, 10 Apr 2015 01:19:46 -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"
	}
}