view samples/compilerbug_004.tp @ 339:74cab9b5f2a4

Added parseFloat64 and parseFloat32 along with a sample that exercises number parsing from a string
author Michael Pavone <pavone@retrodev.com>
date Sat, 04 Apr 2015 12:34:43 -0700
parents 38127fbf5f9d
children
line wrap: on
line source

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

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

}