view samples/int64.tp @ 217:adad61ea2f3a

Switched to a less hacky implementation of hygiene and exposed more AST properties to macros
author Michael Pavone <pavone@retrodev.com>
date Sat, 21 Dec 2013 12:07:51 -0800
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"
	}
}