Skip to content
Snippets Groups Projects
  1. Apr 08, 2010
  2. Jan 22, 2010
    • Erwan Jahier's avatar
      Fix a bug in the fresh var names generation. · 0f54289a
      Erwan Jahier authored
      cf test/should_work/NONREG/fresh_name.lus
      
      where the local variable _n1e1_1 was defined twice !
      
      The fix contist the following idea : prefix fresh var name by "_",
         except if at least one user ident begins by "_". In that case, we
         try to prefix them by "_1", and then "_2", and so on. We take the
         first possible one.
      
         nb : this won't work if the user defined idents from "_1" to
         "_1073741823" (on 32-bits machine), but I bet that this compiler
         would die before anyway...
      0f54289a
    • Erwan Jahier's avatar
      fix a typo · 0f5b381b
      Erwan Jahier authored
      0f5b381b
    • Erwan Jahier's avatar
      update the www directory · 96e04247
      Erwan Jahier authored
      96e04247
  3. Jan 20, 2010
  4. Jan 13, 2010
  5. May 26, 2009
    • Erwan Jahier's avatar
      Enhance some error messages. · d6b29e05
      Erwan Jahier authored
      d6b29e05
    • Erwan Jahier's avatar
      Lookup provided constants that are used in iterators, and issue a better error · 1184114d
      Erwan Jahier authored
      message if the constant is abstract ("an integer is expected whereas an int is
      provided" was not a great message...).
      1184114d
    • 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
  6. Mar 12, 2009
  7. Mar 11, 2009
  8. Mar 09, 2009
  9. Mar 04, 2009
  10. Mar 03, 2009
  11. Feb 25, 2009
  12. Feb 11, 2009
    • Erwan Jahier's avatar
      Various fixes for the lv4 backend: · 672af392
      Erwan Jahier authored
       - expr such as "current x,y" should be written "current (x,y)"
       - abstract   struct  or   array   types  were   handled  as   extern
         types, which  prevent the struct  and array expanser to  work them
         out. In order to fix that, I have added an Abstract_type_eff variant
         to Eff.type_ which contains the concerte type.
      672af392
  13. Feb 10, 2009
  14. Feb 09, 2009
  15. Feb 06, 2009
Loading