view samples/compilerbug_004.tp @ 227:8c16ef123aee

Implement list literals in grammar
author Michael Pavone <pavone@retrodev.com>
date Sun, 29 Dec 2013 17:09:21 -0800
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}