Skip to content
Snippets Groups Projects
  1. Mar 22, 2022
  2. Mar 21, 2022
  3. Sep 22, 2021
  4. Jul 08, 2021
  5. Jul 05, 2021
  6. Jul 01, 2021
  7. Mar 15, 2021
  8. Mar 11, 2021
  9. Aug 17, 2020
  10. Jun 19, 2020
  11. Jun 16, 2020
  12. Jun 12, 2020
  13. Mar 17, 2020
  14. 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
  15. Mar 03, 2020
  16. Feb 14, 2020
  17. Dec 10, 2019
  18. Dec 02, 2019
  19. Oct 11, 2019
  20. Sep 19, 2019
  21. Sep 04, 2019
  22. Sep 02, 2019
  23. Aug 29, 2019
  24. Aug 02, 2019
  25. Jul 29, 2019
  26. Jul 11, 2019
  27. Jul 10, 2019
  28. May 22, 2019
  29. May 17, 2019
  30. May 16, 2019
  31. Apr 30, 2019
  32. Apr 10, 2019
  33. Apr 05, 2019
  34. 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
Loading