Evaluate known expressions before MX starts

Issue #534 new
Joachim Jansen created an issue

Everything that can be calculated in advance should be calculated: all formulas/terms/set expressions etcetera with only two-valued symbols.

For example for XSB this is important, for stuff like {Q <- P(MIN[:T])}.

Comments (6)

  1. Joachim Jansen reporter

    Does this include transforming negative integers e.g. -1 from -(1) (applied function) to a domain term?

    If so, this fixes issue #384

  2. Broes De Cat

    No, this is a way around #384, but not a fix. It should still not segfault in such case, e.g., when someone directly calls calcdefs.

  3. Bart Bogaerts

    implemented calculating arithmetic before mx

    This is a partial fix only, see #534, should be done more completely, also taking the structure into account

    → <<cset e8a6d4980a6d>>

  4. Bart Bogaerts

    implemented calculating arithmetic before mx

    This is a partial fix only, see #534, should be done more completely, also taking the structure into account

    → <<cset 62777f0b6932>>

  5. Log in to comment