Skip to content
Snippets Groups Projects
  1. Jul 06, 2012
  2. Jul 04, 2012
  3. Jun 01, 2011
    • Erwan Jahier's avatar
      Fix several bugs in static argument handling, in particular when · 65695130
      Erwan Jahier authored
      parametric nodes (or predef iterators) are nested.
      
      Before, nested iterators were handles as follows : a source-level
      (i.e., not compiled) alias node was created on-the-fly, and then
      compiled. But this way to proceed was buggy for static args coming
      from nested iterators or nested parametric nodes.
      
      Now, I rely on Inline.iterators to get rid of iterators (the iterator
      inlining is now recursive).
      65695130
  4. May 19, 2011
  5. Nov 03, 2010
  6. Sep 29, 2010
  7. Jul 10, 2010
  8. Jul 09, 2010
  9. Jul 06, 2010
  10. Apr 08, 2010
  11. Jan 20, 2010
  12. Jan 13, 2010
  13. May 26, 2009
  14. Mar 12, 2009
  15. Mar 11, 2009
  16. Mar 09, 2009
  17. Mar 04, 2009
  18. Mar 03, 2009
  19. Feb 25, 2009
  20. Feb 11, 2009
    • Erwan Jahier's avatar
      Various fixes for the lv4 backend: · 672af392
      Erwan Jahier authored
       - expr such as "current x,y" should be written "current (x,y)"
       - abstract   struct  or   array   types  were   handled  as   extern
         types, which  prevent the struct  and array expanser to  work them
         out. In order to fix that, I have added an Abstract_type_eff variant
         to Eff.type_ which contains the concerte type.
      672af392
  21. Feb 09, 2009
  22. Feb 06, 2009
  23. Feb 05, 2009
  24. Feb 04, 2009
  25. Feb 03, 2009
    • Erwan Jahier's avatar
      The structure and array expanser was buggy in presence of polymorphic · cdb52a14
      Erwan Jahier authored
      nodes (e.g., map<<+,2>>). While fixing  that, I put all the functions
      that deals with polymorphism into a new (Eponymous) dedicated module.
      
      The idea to be able to expand polymorphic node is basically the same,
      as the one for printing polymorphic  nodes: we need to wait until the
      type is instanciated (in GetEff).  That delay is implemented by using
      a stack of nodes.
      cdb52a14
  26. Jan 30, 2009
  27. Dec 12, 2008
    • Erwan Jahier's avatar
      Break the recursivity is the Eff.node_exp representation (which fix nested iter. pbs). · 5c722d86
      Erwan Jahier authored
      In  short, the  rationale for  this change,  is that  it is  having a
      recursive node_exp is
      - useless,
      - too complicated,
      - wrong w.r.t. nesting iterator calls
      
      In long:
      
      - It is useless because, at the  Eff level, a node cannot call itself
        via one  of its  static arg (which  was where the  recursivity came
        from).
      
      - and indeed, it  is much simpler to consider that  a static arg node
        can only be ident.long that identifies a node alias.
      
        This  means of  course, that  nested iterators  have  been unnested
        before,   inventing  alias   node  names   along  the   way...  And
        polymorphism makes thing difficult once again.
      
      - But the  *big* problem  with a recursive  node_exp is that  it make
        things very  complicated to (lic)dump nested  iterator call because
        of polymorphism!   Actually, it  even makes thing  complicated when
        the iterators were themselves not nested in the source code !
      
        Some ugly  things were done in  LicDump to unnest  those calls when
        printing node_exp.   But this uglyness  have a price:  tricky code,
        and bugs! Indeed, nested iterators calls were wong for example when
        using  the --inline-iterator  mode (but  i would  not  be surprised
        that is wrong in other cases...).
      
      Hence,  LicDump  is  simpler,  but  of course  LazyCompiler  is  more
      complicated.  But  this  is  reasonable:  a  pretty-printer  is  not
      supposed to be complicated.
      5c722d86
  28. Dec 05, 2008
  29. Nov 28, 2008
Loading