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