view samples/private.tp @ 128:5e34563f90ae

Get javascript backend working from the command line compiler again
author Mike Pavone <pavone@retrodev.com>
date Tue, 06 Aug 2013 00:17: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
	}
}