Skip to content
Snippets Groups Projects
  1. Aug 29, 2019
  2. Jun 21, 2017
    • erwan's avatar
      Better handling of real constants substraction. · 6e914d04
      erwan authored
      Indeed, expressions such as "3.0-42.5" caused a syntax error, as the unary minus
      of real constant was in hard in the lexer.  "3.0- 42.5" worked, but still.
      
      The problem then was that LicEvalConst refused to eval "- 3.14", that was
      parsed directly as a constant, and that is now a call to the unary minus.
      I've added specific code to handle this case.
      6e914d04
  3. Sep 03, 2015
    • Erwan Jahier's avatar
      Various enhancements in the manual. · 66664b22
      Erwan Jahier authored
      - add a sectiuon on operators priority
      - fix the automatic latex grammar generator (now calles yacc2latex)
      
      also force the -rif in the utils/luciole-rif script when used with
      lutin or lus2lic.
      66664b22
  4. Jan 20, 2015
  5. Apr 12, 2013
    • Erwan Jahier's avatar
      lus2lic is now working from ldbg and ltop. · fa71e77c
      Erwan Jahier authored
      As far as ldbg is concerned, it only traces the toplevel node, at
      call event.
      
      Note that I needed to rename quite a lot of modules to avoid name clashes
      between lus2lic.a and ltop.
      
      I've also merged the Verbose module with the one of Lutin so that
      they can be shared (there were sharing 95% already).
      fa71e77c
  6. Jan 31, 2013
  7. Aug 19, 2010
  8. May 21, 2010
  9. May 05, 2010
  10. Oct 23, 2008
  11. Aug 28, 2008
  12. Jun 02, 2008
  13. May 30, 2008
  14. Apr 02, 2008
    • Erwan Jahier's avatar
      Add stuff to output the lic file. · 2b30a91d
      Erwan Jahier authored
      For non-regression tests, do not use Lazycompiler.test function
      anymore and just use  LazyCompiler.node_check instead.
      
      put in the new file compiledDataDump.ml all the stuff
      related to string convertions of CompiledData items.
      6.7.0
      2b30a91d
  15. Feb 21, 2008
    • Erwan Jahier's avatar
      Fix the examples so that slice "1..2" are written "1 ..2" to turn · 4e616e89
      Erwan Jahier authored
      around a lexing bug that I don't know how to fix yet.
      4e616e89
    • Erwan Jahier's avatar
      Write a more generic src/test/Makefile · 648fa2ee
      Erwan Jahier authored
      Add Some lustre files that are automatically tested thanks to the
      generic Makefile (from the Youssef compiler).
      
      Test files are organized as follows :
      
       - files in directories that are under the "should_fail" directory
        do triggers errors, but it is intented
      
      	should_fail/syntax
      	should_fail/type
      	should_fail/semantics
      
       - and files that should not trigger any error:
      
      	should_work/
      648fa2ee
  16. Feb 15, 2008
    • Erwan Jahier's avatar
      Resolve the inconsistant use of node and oper identifiers in the code. · de2a5f14
      Erwan Jahier authored
      To do that, we :
      
      (1) totally remove  (in the  ocaml code) the  use of "oper",  and use
      "node" instead.  Indeed, a node  is a memoryfull operator, as opposed
      to function that are memoryless operators.  However, lus2lic does not
      really care about memoryless  and memoryfull information. Therefore I
      prefer  to use  node everywhere,  and to  flag node_info  to indicate
      whether it has memories or not.
      
      (2) change the syntaxTreeCore type to make it more general. Indeed,
          the distinction between functions and nodes was
      
          - redundant:  extern nodes  and (extern)  functions  were handled
          differently (NodeExtern versus ExtNode (was named FUNC before)).
      
          - and  incomplete:   it  was  not  possible   to  provide  static
            parameters to function, nor to define functions with body, etc.
      
      Now a  function is  just a memoryless  node. The check  that function
      indeed use no memory will be done later.
      
      (3) also,  change  the  parser   so  that  functions  with  body  are
          accepted.
      
      (4) in order  to do it step by  step, I add the  "extern" keyword" so
          that extern nodes and functions are more easy to parse. I will
          remove it later.
      de2a5f14
  17. Jan 30, 2008
  18. Dec 14, 2007
  19. Dec 05, 2007
    • Erwan Jahier's avatar
      More cleanning. · a2eeaef0
      Erwan Jahier authored
      Add basic regression tests.
      
      Add "assert false" statements everywhere it was necessary.
      
      Add the fby operator in the syntax.
      a2eeaef0
  20. Oct 19, 2007
Loading