Closed colin-mcd closed 2 years ago
Is it perhaps so that when an expression is a reference to a global variable, the expression is translated the same way whether the global variable is concretely-defined or extern
-declared?
Yeah, something like that.
Oh, I see. Sounds good.
For
extern sample_p : Bool;
we currently add the nonterminalsample_p
with one edge namedp
, and then add the factorp
with weights to be chosen at run-time. But why not just avoid the extra node and havesample_p
be itself the factor, with no rule?