Files @ 1db6ec21a437
Branch filter:

Location: CSY/reowolf/testdata/parser/positive/11.pdl - annotation

Christopher Esterhuyse
more elegant on-demand native branch indexing with a speculative var
#version 100

primitive main(in a, out b) {
	msg x = null;
	while (x == null) {
		synchronous {
			if (fires(a))
				x = get(a);
		}
	}
	while (true) {
		synchronous {
			if (fires(b))
				put(b, x);
		}
	}
}