view samples/testdict.tp @ 222:c6e321a538d4

Implemented more of the grammar. Dealt with some name conflicts along the way.
author Michael Pavone <pavone@retrodev.com>
date Sun, 29 Dec 2013 13:08:01 -0800
parents 6735db9b44ba
children
line wrap: on
line source

#{
	main <- {
		foo <- dict linear:
		foo set: "key1" "val1"
		foo set: "key2" "val2"
		foreach: foo :k :v {
			print: k . ", " . v . "\n"
		}

	}
}