view samples/int64.tp @ 369:6b5096b07dd5

Lame hack to allow LL dialect code to access the module object when its also the parent of the current object
author Michael Pavone <pavone@retrodev.com>
date Wed, 12 Aug 2015 19:13:04 -0700
parents f98790d8a53d
children
line wrap: on
line source

#{
	main <- {
		a <- 2147483647
		b <- 2147483647i64
		print: "a + a = " . (string: a + a) . "\n"
		print: "b + b = " . (string: b + b) . "\n"
		print: "hex: a + a = " . (hex: a + a) . "\n"
		print: "hex: b + b = " . (hex: b + b) . "\n"
	}
}