Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code to process CFG.
public void Process(ImmutableHashSet<EvalStack> set)
{
var x = set.Except(_I);
if (!x.IsEmpty)
{
_I = _I.Union(x);
_O = _I.Select(s => G(s)).ToImmutableHashSet();
foreach (var n in _targets)
{
n.Process(_O);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment