Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

data driven (ARRANGE language)

ETAS-Eder edited this page Aug 21, 2014 · 4 revisions

example

express sc0 =  label1
	::where	(						
		doSquare in { true , false };
		x in { 1,2,3 };
		nwise (2,doSquare,x);			
	);	

example

express sc1  =  label1;label2;
 	label3::where(
 		doSquare in {true};
 	);

example

express sc2a = 
	(	
		label0_machine1MethodCalls;
		label1::where(x in {0,3}; doSquare in {0,1});
		label2::where(res in {0,9})
	)::where(pairwise(x,doSquare);pairwise(res,doSquare));

example

express sc2b = 
	(	
		label1::where(x in {0,1,2,3,4}; doSquare in {0,1});
		label2::where(x in {2,3}; doSquare in {1})
	)::where(pairwise(x,doSquare));

example

express sc2c__ = 
	(	
		label1;
		label2
	)::where(x in {0,1,2,3,4}; doSquare in {0,1});

example

	express sc3 = 
	(	
		label1::where(x in {0,1,2,3,4});
		label2::where(let d1 = doSquare; d1 in {0,1});
		label3::where(let d2 = doSquare)
	)::where(pairwise(x,d1);pairwise(d1,d2));