view samples/logical.tp @ 124:1157639353e7

Add dummy handler for clicking a symbol while a lambda is selected. Fix the code for selecting the first inner node of an object literal.
author Mike Pavone <pavone@retrodev.com>
date Mon, 05 Aug 2013 21:38:38 -0700
parents 59a94f3ad56f
children
line wrap: on
line source

#{

	foo <- {
		print: "foo\n"
		true
	}
	
	bar <- {
		print: "bar\n"
		false
	}
	
	baz <- {
		print: "baz\n"
		true
	}
	
	qux <- {
		print: "shouldn't be printed\n"
		true
	}
	
	
	main <- {
		foo && bar || (baz || qux)
	}

}