Skip to content
Snippets Groups Projects
  1. Sep 22, 2021
  2. Jul 08, 2021
  3. Jul 05, 2021
  4. Jul 01, 2021
  5. Mar 15, 2021
  6. Mar 11, 2021
  7. Aug 17, 2020
  8. Jun 19, 2020
  9. Jun 16, 2020
  10. Jun 12, 2020
  11. Mar 17, 2020
  12. Mar 13, 2020
    • erwan's avatar
      fix: try to do a better job with extern types. · 777c3f4f
      erwan authored
      In the -2c mode, in presence of extern types, I was defining them as int.
      The idea was to have something that compiles, and then to ask the user
      to redefine its extern types.
      
      Now I define extern types as string (char*).
      
      The rationale of this change is that before, the generated code was only
      working for int, which is pretty useless as an extern type.
      
      Have string by default is actually much more useful, for instance to use
      string in a Lustre program.
      
      Also, adapt to changes done in lutils, where the string type has ben added.
      (sha:8619aa285ca8322ab9, i.e., > lutils  1.49.10)
      6.101.16
      777c3f4f
  13. Mar 03, 2020
  14. Feb 14, 2020
  15. Dec 10, 2019
  16. Dec 02, 2019
  17. Oct 11, 2019
  18. Sep 19, 2019
  19. Sep 04, 2019
  20. Sep 02, 2019
  21. Aug 29, 2019
  22. Aug 02, 2019
  23. Jul 29, 2019
  24. Jul 11, 2019
  25. Jul 10, 2019
  26. May 22, 2019
  27. May 17, 2019
  28. May 16, 2019
  29. Apr 30, 2019
  30. Apr 10, 2019
  31. Apr 05, 2019
  32. Dec 03, 2018
    • Erwan Jahier's avatar
      Remove a clutch that causes bad error messages and seems useless. · 67eb59fc
      Erwan Jahier authored
      It causes bad error messages in the case were the parametric node is undefined.
      
      e.g., the equation
      
        S=if(M[n-1]) then (entiernat<<n>>(M)-puiss<<n+1>>(2)) else entiernat<<n>>(M);
      
      raises "Error: Bad number of (static) arguments: 0 expected, and 1 provided."
      when entiernat is undefined
      
      It seems useless because no test is broken. The comment mention node
      parameters that themselves have parameters. But it is the case for
      test/should_work/Gyroscope2.lus, and it is still working.
      67eb59fc
  33. Oct 09, 2018
  34. Jul 06, 2018
  35. Jul 04, 2018
Loading