Skip to content
Snippets Groups Projects
  1. May 26, 2009
    • Erwan Jahier's avatar
      Attach the clock of Eff.val_exp to the val_exp itself, instead of · e7ef1b90
      Erwan Jahier authored
      maintaining (ugly and error-prone) hash tables.
      
      That change revealed an untriggered bug in EvalClock.check_args: it was wrong
      to add in subst the substitutions made of the parameters and the arguments (it
      is enough to unify the clocks of the pars and of the args). For instance, consider
      the node (in should_work/clock/clock.lus)
      
         node clock5(x :  bool; y:  bool when x; z: bool when y)
      
      and the call
      
        z2 = clock5(a, b when a, c when e);
      
      I was adding y/b in the subst, which was wrong.
      
      Other minor changes:
       - move const_to_val_eff from Eff to UnifyClock.
       - GetEff.translate_val_exp now returns a substitution, in order to be able
         to unify clock vars and propagate the resulting substitution.
      e7ef1b90
  2. Mar 11, 2009
  3. Mar 09, 2009
  4. Mar 04, 2009
  5. Feb 25, 2009
  6. Feb 10, 2009
  7. Nov 28, 2008
  8. Nov 25, 2008
    • Erwan Jahier's avatar
      Replace constants by their values. · 3f2aa6c4
      Erwan Jahier authored
      The rationale for this change is that this is necessary for constants
      appearing static  arg to  be replaced. One  problem is that  they are
      handled in exactly  the same way as top-level  constants, which could
      be left  un-expanded. I could make  something in order  to not expand
      those top-levelconstants, but is it worth the trouble ?
      
      To do that,  I have changed sligthly the  representation of Eff.ARRAY
      (the elements  are now  attached to the  constructor itself,  and the
      operands  is empty)  and  the one  of  array constant  (we attach  to
      Array_const_eff  a  list  instead  of  an  array,  for  the  sake  of
      homogeneity) with what is done in Eff.val_eff.
      3f2aa6c4
  9. Nov 20, 2008
  10. Oct 27, 2008
  11. Sep 15, 2008
  12. Sep 02, 2008
  13. Sep 01, 2008
  14. Aug 29, 2008
  15. Aug 28, 2008
  16. Aug 21, 2008
  17. Aug 19, 2008
  18. Jul 23, 2008
  19. Jul 22, 2008
  20. Jul 04, 2008
  21. Jul 01, 2008
  22. Jun 30, 2008
  23. Jun 26, 2008
  24. Jun 18, 2008
  25. Jun 12, 2008
Loading