view samples/compilerbug_004.tp @ 183:97f107b9e8d3

Fix a few bugs in the x86 module and add jcc, push and pop instructions
author Mike Pavone <pavone@retrodev.com>
date Sat, 24 Aug 2013 19:03:18 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

#{
	foo <- 42
	new <- {
		#{
			bar <- foo
		}
	}

	main <- {
		print: (string: ((new: ) bar)) . "\n"
	}

}