view samples/compilerbug_002.tp @ 214:e01137a97654

Make assignments an expression in the grammar
author Michael Pavone <pavone@retrodev.com>
date Fri, 06 Dec 2013 19:19:54 -0800
parents 93ddb4ad6fcb
children
line wrap: on
line source

#{
	value <- 42
	main <- {
		foo <- {
			bar <- {value}
			bar:
		}
		print: (string: (foo: ))
	}
}