Skip to content
Snippets Groups Projects
  1. Jul 07, 2008
  2. Jul 04, 2008
  3. Jul 03, 2008
  4. Jul 01, 2008
  5. Jun 30, 2008
  6. Jun 26, 2008
  7. Jun 23, 2008
  8. Jun 18, 2008
  9. Jun 13, 2008
  10. Jun 12, 2008
  11. Jun 09, 2008
  12. Jun 06, 2008
  13. Jun 05, 2008
  14. Jun 03, 2008
    • Erwan Jahier's avatar
    • Erwan Jahier's avatar
      Wrap the parser output with a new function, · e64e1031
      Erwan Jahier authored
      SolveIdent.recognize_predef_op  that  replaces  node call  by  Predef
      constructor  when   necessary,  via  a  complete   traversal  of  the
      SyntaxTree (instead  of doing it  in the parser). The  rationales for
      this change are that:
      
      - it is quite tedious to do it in parser as multiple locations are involved
      - I did missed some locations
      - It makes the parser more focused on parsing issues
      - that traversal  is a first step  do deal with  idref solving (hence
       the name of the new module that contains that function
      
      Note that lsrc/test/should_work/fab_test/lecteur.lus was using
      "plus" as a variable ident, which raised an error, which
      e64e1031
  15. Jun 02, 2008
  16. May 30, 2008
  17. May 29, 2008
    • Erwan Jahier's avatar
      Automatically declare as «used» in an model instance, the packages · ea7cd07d
      Erwan Jahier authored
      that are used to instantiate the model.
      
      Indeed, the current parser forbids  the use of "uses" statements in a
      model instanciation. I  could have changed the syntax,  but I was not
      able to  find a satisfying  way to do  it. For instance, in  order to
      declare that package Toto uses packege Util, should we write
      
      	package Toto uses Util; = M(int, int, Util::foo);
      ?
      
      The  semicolon is  really ugly.  And it  is so  easy to  realise that
      package Util should be used...
      ea7cd07d
Loading