Files @ 75e767adaaf7
Branch filter:

Location: CSY/reowolf/testdata/parser/negative/8.pdl

MH
Add a new RawArray implementation

Needed to implement ringbuffer queues in a neat way. Will deprecate the
old RawVec implementation
#version 100

import std.reo;

composite main(in a, out b) {
	channel c -> d;
	syncdrain(a, b);
}

// shadowing import
primitive syncdrain(in a, in b) {
	while (true) {
		sync {
			if (!fires(a) || !fires(b)) {
				block(a);
				block(b);
			}
		}
	}
}