Skip to content
Snippets Groups Projects
  1. Nov 25, 2008
    • Erwan Jahier's avatar
      Replace constants by their values. · 3f2aa6c4
      Erwan Jahier authored
      The rationale for this change is that this is necessary for constants
      appearing static  arg to  be replaced. One  problem is that  they are
      handled in exactly  the same way as top-level  constants, which could
      be left  un-expanded. I could make  something in order  to not expand
      those top-levelconstants, but is it worth the trouble ?
      
      To do that,  I have changed sligthly the  representation of Eff.ARRAY
      (the elements  are now  attached to the  constructor itself,  and the
      operands  is empty)  and  the one  of  array constant  (we attach  to
      Array_const_eff  a  list  instead  of  an  array,  for  the  sake  of
      homogeneity) with what is done in Eff.val_eff.
      3f2aa6c4
  2. Nov 21, 2008
  3. Nov 20, 2008
  4. Nov 04, 2008
  5. Nov 03, 2008
  6. Oct 27, 2008
  7. Oct 24, 2008
  8. Oct 23, 2008
  9. Oct 22, 2008
  10. Sep 17, 2008
  11. Sep 15, 2008
  12. Sep 02, 2008
  13. Sep 01, 2008
  14. Aug 29, 2008
  15. Aug 28, 2008
  16. Aug 26, 2008
  17. 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
  18. Aug 22, 2008
  19. Aug 21, 2008
  20. Aug 20, 2008
Loading