Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-04-08 10:14:09 -0700 (Thu, 08 Apr 2004)
Revision: 5620
Log message:

      A few changes:
      
         1. Trying to get rid of the naming stage.  This stage should be used
            only when needed, not arbitrarily.  It might happen that naming
            is required for type inference, because of let-polymorphism,
            then we might want to add it back.
      
         2. Removed the || and && transformations from naming, and added
            a Mmc_core_front stage that is applied before CPS.  This is
            also where loops get transformed into recursive functions.
      
      One issue: currently it is the CPS transformation that ensures that
      conditionals don't return a value.  However, we want to apply this
      transformation even if we don't use CPS.
      
         3. Added an extension for unit values.
      
         4. Added an extension for loops.  Currently, we just have a while-loop.
      

Changes  Path
Properties metaprl/editor/ml
+43 -1 metaprl/editor/ml/mpconfig
+2 -0 mpcompiler/mmc/OMakefile
+6 -5 mpcompiler/mmc/arch/x86/mmc_x86_backend.ml
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
+1 -0 mpcompiler/mmc/core/Files
Added mpcompiler/mmc/core/mmc_core_front.ml
Properties mpcompiler/mmc/core/mmc_core_front.ml
Added mpcompiler/mmc/core/mmc_core_front.mli
Properties mpcompiler/mmc/core/mmc_core_front.mli
+5 -3 mpcompiler/mmc/core/mmc_core_theory.ml
+42 -56 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+0 -2 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
Properties mpcompiler/mmc/extensions/loop
Added mpcompiler/mmc/extensions/loop/Files
Properties mpcompiler/mmc/extensions/loop/Files
Added mpcompiler/mmc/extensions/loop/mmc_ext_loop.ml
Properties mpcompiler/mmc/extensions/loop/mmc_ext_loop.ml
Added mpcompiler/mmc/extensions/loop/mmc_ext_loop.mli
Properties mpcompiler/mmc/extensions/loop/mmc_ext_loop.mli
Properties mpcompiler/mmc/extensions/unit
Added mpcompiler/mmc/extensions/unit/Files
Properties mpcompiler/mmc/extensions/unit/Files
Added mpcompiler/mmc/extensions/unit/mmc_ext_unit.ml
Properties mpcompiler/mmc/extensions/unit/mmc_ext_unit.ml
Added mpcompiler/mmc/extensions/unit/mmc_ext_unit.mli
Properties mpcompiler/mmc/extensions/unit/mmc_ext_unit.mli
Added mpcompiler/mmc/extensions/unit/mmc_ext_unit_x86.ml
Properties mpcompiler/mmc/extensions/unit/mmc_ext_unit_x86.ml
Added mpcompiler/mmc/extensions/unit/mmc_ext_unit_x86.mli
Properties mpcompiler/mmc/extensions/unit/mmc_ext_unit_x86.mli
+2 -0 mpcompiler/mmc/main/mmc_theory.ml
+2 -0 mpcompiler/mmc/main/mmc_theory.mli
+4 -5 mpcompiler/mmc/syntax.pho
+6 -4 mpcompiler/mmc/test/Files
Added mpcompiler/mmc/test/mmc_array_test.ml
Properties mpcompiler/mmc/test/mmc_array_test.ml
Added mpcompiler/mmc/test/mmc_array_test.mli
Properties mpcompiler/mmc/test/mmc_array_test.mli
Added mpcompiler/mmc/test/mmc_bool_test.ml
Properties mpcompiler/mmc/test/mmc_bool_test.ml
Added mpcompiler/mmc/test/mmc_bool_test.mli
Properties mpcompiler/mmc/test/mmc_bool_test.mli
Deleted mpcompiler/mmc/test/mmc_ext_array_test.ml
Deleted mpcompiler/mmc/test/mmc_ext_array_test.mli
Deleted mpcompiler/mmc/test/mmc_ext_int_test.ml
Deleted mpcompiler/mmc/test/mmc_ext_int_test.mli
Deleted mpcompiler/mmc/test/mmc_ext_mandel.ml
Deleted mpcompiler/mmc/test/mmc_ext_mandel.mli
Added mpcompiler/mmc/test/mmc_int_test.ml
Properties mpcompiler/mmc/test/mmc_int_test.ml
Added mpcompiler/mmc/test/mmc_int_test.mli
Properties mpcompiler/mmc/test/mmc_int_test.mli
Added mpcompiler/mmc/test/mmc_loop_test.ml
Properties mpcompiler/mmc/test/mmc_loop_test.ml
Added mpcompiler/mmc/test/mmc_loop_test.mli
Properties mpcompiler/mmc/test/mmc_loop_test.mli
Added mpcompiler/mmc/test/mmc_mandel_test.ml
Properties mpcompiler/mmc/test/mmc_mandel_test.ml
Added mpcompiler/mmc/test/mmc_mandel_test.mli
Properties mpcompiler/mmc/test/mmc_mandel_test.mli
+4 -0 mpcompiler/mmc/test/mmc_spill_test.ml