Skip to content
Snippets Groups Projects
  1. Aug 28, 2008
    • Erwan Jahier's avatar
      Avoid the generation of polymorphic type variables when iterating on · 8d8dcbd0
      Erwan Jahier authored
      polymorphic operators.
      
      For instance, when LicDumping expression such as
      
          map<<map<<+,4>>,5>>
      
      an  alias  node was  created  for  "map<<+,4>>"  (to unnest  iterator
      calls). Fut this node is intrically overloaded (polymorphic). In this
      change, we  look at  the type this  innr call  is used to  generate a
      specialised (mono-morphic) version of the node alias.
      
      Note that we currently still generate type variable when users write
      
           node mymap = map<<+,4>>;
      8d8dcbd0
  2. Aug 26, 2008
  3. Aug 25, 2008
    • Erwan Jahier's avatar
      d3ca6678
    • Erwan Jahier's avatar
      Unnest array iterator calls by modifying the Lic printer. · 65c62005
      Erwan Jahier authored
      The  idea  is  the  following:  each  time  a  nested  iterator  call
      (map<<map<<n,3>>,4>>) is  encountered, we  create a fresh  alias name
      (create_alias_name) ad we  add it in the node_alias_tbl.   At the end
      of the  compilation, LicDump.dump_node_alias is  called, which prints
      the definition of those node aliases.
      
      For example, the expression  "map<<map<<n,3>>,4>>" is printed like this:
      
          map<<_node_alias1, 4>>
      
      and later, the node alias is defined:
      
          node _node_alias1(x:int) returns(y:int); let y = map<<n,3>>(x); tel;
      65c62005
  4. Aug 22, 2008
  5. Aug 21, 2008
  6. Aug 20, 2008
  7. Aug 19, 2008
  8. Jul 23, 2008
  9. Jul 22, 2008
  10. Jul 18, 2008
  11. Jul 17, 2008
  12. Jul 08, 2008
  13. Jul 07, 2008
  14. Jul 04, 2008
  15. Jul 03, 2008
  16. Jul 01, 2008
  17. Jun 30, 2008
  18. Jun 26, 2008
Loading