view samples/private.tp @ 204:a8dffa4d4b54

Add support for the rest of the instructions currently defined in the il module in the x86 module
author Mike Pavone <pavone@retrodev.com>
date Wed, 28 Aug 2013 21:50:22 -0700
parents cd41f7c22fcd
children
line wrap: on
line source

#{
	makeobj <- {
		foo <- 40
		#{
			bar <- {
				foo
			}
			inc <- {
				foo <- foo + 1
				1
			}
		}
	}
	main <- {
		baz <- makeobj:
		inc: baz
		inc: baz
		bar: baz
	}
}