Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-01 09:14:48 -0800 (Tue, 01 Mar 2005)
Revision: 6786
Log message:

      Fixed some comments
      

Changes  Path
+1 -6 metaprl/theories/itt/itt_functions.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-01 09:23:06 -0800 (Tue, 01 Mar 2005)
Revision: 6787
Log message:

      More theorems
      

Changes  Path
+9 -1 metaprl/theories/itt/itt_reflection_example_lambda.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-01 10:24:50 -0800 (Tue, 01 Mar 2005)
Revision: 6788
Log message:

      Added a definition:
      iform make_bterm: make_bterm{'op;'bdepth;'subterms} <--> make_bterm{inject{'op;'bdepth};'subterms}
      

Changes  Path
+4 -0 metaprl/theories/itt/itt_synt_bterm.ml
+1 -0 metaprl/theories/itt/itt_synt_bterm.mli

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-01 10:31:00 -0800 (Tue, 01 Mar 2005)
Revision: 6789
Log message:

      Fixed theorems in the lambda example. Now, I belive, all theorems there should be provable. I'll try to prove them
      

Changes  Path
+8 -7 metaprl/theories/itt/itt_reflection_example_lambda.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-01 15:09:16 -0800 (Tue, 01 Mar 2005)
Revision: 6790
Log message:

      Use omake to construct the final mmc theory.
      
      In mk/config, you now have the option to specify the
      mmc extensions and backends.
      
      For each extension, you must specify:
         1. The name of the extension
         2. The files
         3. Any backend-specific files
      
      See any of the extensions/*/Files for examples.
      

Changes  Path
+8 -5 metaprl/OMakefile
+2 -0 metaprl/mk/defaults
+16 -2 metaprl/mk/make_config
+113 -66 mpcompiler/mmc/OMakefile
+1 -1 mpcompiler/mmc/arch/ppc/Files
+3 -1 mpcompiler/mmc/arch/x86/Files
+2 -1 mpcompiler/mmc/arch/x86/base/Files
+2 -1 mpcompiler/mmc/arch/x86/codegen/Files
+1 -1 mpcompiler/mmc/arch/x86/opt/Files
+2 -1 mpcompiler/mmc/arch/x86/print/Files
+2 -1 mpcompiler/mmc/arch/x86/regalloc/Files
Deleted mpcompiler/mmc/arch/x86/runtime/Files
+3 -3 mpcompiler/mmc/arch/x86/runtime/OMakefile
+15 -2 mpcompiler/mmc/extensions/array/Files
+15 -2 mpcompiler/mmc/extensions/bool/Files
+15 -2 mpcompiler/mmc/extensions/int/Files
+15 -2 mpcompiler/mmc/extensions/loop/Files
+15 -2 mpcompiler/mmc/extensions/operator/Files
+15 -2 mpcompiler/mmc/extensions/reserve/Files
+15 -2 mpcompiler/mmc/extensions/special/Files
+15 -2 mpcompiler/mmc/extensions/string/Files
+16 -3 mpcompiler/mmc/extensions/tuple/Files
+16 -3 mpcompiler/mmc/extensions/tyexists/Files
+15 -2 mpcompiler/mmc/extensions/unit/Files
Deleted mpcompiler/mmc/main/Files
+18 -51 mpcompiler/mmc/main/mmc_theory.ml
+24 -45 mpcompiler/mmc/main/mmc_theory.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-01 16:04:01 -0800 (Tue, 01 Mar 2005)
Revision: 6792
Log message:

      Minor code simplification
      

Changes  Path
+2 -2 metaprl/refiner/refiner/refine.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-01 21:02:47 -0800 (Tue, 01 Mar 2005)
Revision: 6797
Log message:

      Deleted some unused functionality.
      

Changes  Path
+2 -4 metaprl/filter/filter/filter_prog.ml
+3 -6 metaprl/refiner/refiner/refiner_debug.ml
+2 -4 metaprl/refiner/refsig/rewrite_sig.ml
+11 -28 metaprl/refiner/rewrite/rewrite.ml
+0 -8 metaprl/support/display/base_dform.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-01 21:09:13 -0800 (Tue, 01 Mar 2005)
Revision: 6799
Log message:

      Removed some unused code
      

Changes  Path
+0 -5 metaprl/refiner/refiner/refiner_debug.ml
+0 -1 metaprl/refiner/refsig/term_addr_sig.ml
+0 -4 metaprl/refiner/term_ds/term_addr_ds.ml
+0 -4 metaprl/refiner/term_gen/term_addr_gen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-01 23:10:05 -0800 (Tue, 01 Mar 2005)
Revision: 6805
Log message:

      - Itt_set: alpha-renamed the rules to make them better preserve the names of
        the bound variables.
      
      - Replaces all the usages of the ad-hoc Var.maybe_new_var_arg with a more
        correct Var.maybe_new_var_set.
      

Changes  Path
+21 -21 metaprl/support/tactics/top_tacticals.ml
+0 -3 metaprl/support/tactics/var.ml
+0 -1 metaprl/support/tactics/var.mli
+0 -4 metaprl/tactics/proof/sequent_boot.ml
+0 -5 metaprl/tactics/proof/tactic_boot_sig.ml
+31 -35 metaprl/theories/itt/itt_logic.ml
+4 -4 metaprl/theories/itt/itt_set.ml
+26 -24 metaprl/theories/itt/itt_struct2.ml
+1 -3 metaprl/theories/mesa/ma_event__systems.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-02 11:31:16 -0800 (Wed, 02 Mar 2005)
Revision: 6813
Log message:

      Simplified the instance/pattern code a bit - when we already have a pattern,
      there is no need to turn patterns into instances - the code for matching two
      patters is more efficient that the code for matching a pattern and an
      instance.
      

Changes  Path
+4 -4 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+3 -9 metaprl/refiner/rewrite/rewrite_util.ml
+0 -1 metaprl/refiner/rewrite/rewrite_util_sig.ml
+0 -6 metaprl/refiner/term_ds/term_subst_ds.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-02 11:31:40 -0800 (Wed, 02 Mar 2005)
Revision: 6814
Log message:

      "Opname.eq" instead of "="
      

Changes  Path
+1 -1 metaprl/filter/base/filter_magic.ml
+1 -1 metaprl/refiner/reflib/ascii_io.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-02 11:36:59 -0800 (Wed, 02 Mar 2005)
Revision: 6816
Log message:

      Some display forms
      

Changes  Path
+7 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-02 13:38:16 -0800 (Wed, 02 Mar 2005)
Revision: 6817
Log message:

      On display, if a 0-arity SO var clashes with an FO binding, then leave the
      variable "fully qualified" to avoid confusion.
      

Changes  Path
+4 -1 metaprl/refiner/term_gen/term_meta_gen.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-02 17:31:03 -0800 (Wed, 02 Mar 2005)
Revision: 6818
Log message:

      Changed make_bterm_eval, fixed make_bterm_eval
      

Changes  Path
+1 -1 metaprl/theories/itt/itt_reflection_example_lambda.ml
+4 -3 metaprl/theories/itt/itt_reflection_new.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-02 17:47:11 -0800 (Wed, 02 Mar 2005)
Revision: 6819
Log message:

      Added comments, display forms, ...
      Changed dest_bterm to using "iform".
      

Changes  Path
+117 -55 metaprl/theories/itt/itt_synt_bterm.ml
+11 -0 metaprl/theories/itt/itt_synt_bterm.mli
+4612 -1991 metaprl/theories/itt/itt_synt_bterm.prla
+40 -6 metaprl/theories/itt/itt_synt_operator.ml
+3 -0 metaprl/theories/itt/itt_synt_operator.mli
+1 -1 metaprl/theories/itt/itt_synt_subst.prla
+1 -14 metaprl/theories/itt/itt_synt_var.ml
+2 -0 metaprl/theories/itt/itt_synt_var.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-02 18:23:24 -0800 (Wed, 02 Mar 2005)
Revision: 6820
Log message:

      "De-kreitzed" the proof of /itt/itt_record0/record_exchange
      

Changes  Path
+673 -517 metaprl/theories/itt/itt_record0.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-02 23:52:01 -0800 (Wed, 02 Mar 2005)
Revision: 6823
Log message:

      Added more comments.
      

Changes  Path
+11 -6 metaprl/theories/itt/itt_synt_bterm.ml
+22 -8 metaprl/theories/itt/itt_synt_operator.ml
+67 -4 metaprl/theories/itt/itt_synt_subst.ml
+12 -8 metaprl/theories/itt/itt_synt_var.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-03 00:01:04 -0800 (Thu, 03 Mar 2005)
Revision: 6824
Log message:

      Removed some useless stuff.
      

Changes  Path
+0 -35 metaprl/theories/itt/itt_synt_subst.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-03 16:56:02 -0800 (Thu, 03 Mar 2005)
Revision: 6829
Log message:

      Added comments.
      

Changes  Path
+1 -0 metaprl/theories/base/OMakefile
+75 -4 metaprl/theories/base/base_reflection.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-03 17:38:10 -0800 (Thu, 03 Mar 2005)
Revision: 6830
Log message:

      Added comments.
      

Changes  Path
+1 -0 metaprl/theories/itt/OMakefile
+48 -1 metaprl/theories/itt/itt_reflection_new.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-03 19:42:40 -0800 (Thu, 03 Mar 2005)
Revision: 6832
Log message:

      Added (minor) x86 optimizations.
      The simple contexts seem to be working.
      

Changes  Path
+3 -0 metaprl/refiner/refiner/refiner_debug.ml
+4 -0 metaprl/refiner/refsig/term_addr_sig.ml
+13 -0 metaprl/refiner/term_ds/term_addr_ds.ml
+13 -0 metaprl/refiner/term_gen/term_addr_gen.ml
+38 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+90 -15 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+1 -25 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+1 -0 mpcompiler/mmc/arch/x86/mmc_x86_theory.mli
+3 -1 mpcompiler/mmc/arch/x86/opt/Files
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_opt.ml
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_opt.ml
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_opt.mli
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_opt.mli
Deleted mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.ml
Deleted mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.mli
+2 -2 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.ml
+0 -9 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.mli
+2 -3 mpcompiler/mmc/test/mmc

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-03 22:53:53 -0800 (Thu, 03 Mar 2005)
Revision: 6836
Log message:

      supinfT did not convert integer subtraction and unary minus to operations on rationals.
      

Changes  Path
+4 -0 metaprl/theories/itt/itt_int_arith.mli
+3 -0 metaprl/theories/itt/itt_int_ext.mli
+5 -0 metaprl/theories/itt/itt_rat.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-04 20:14:47 -0800 (Fri, 04 Mar 2005)
Revision: 6842
Log message:

      Added the x86 conventions.
      
      Note, this includes a commit to MetaPRL to handle quotation patterns.
      

Changes  Path
+19 -3 metaprl/filter/filter/filter_parse.ml
+2 -1 metaprl/filter/filter/filter_patt.ml
+13 -7 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+1 -0 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+1 -0 mpcompiler/mmc/arch/x86/mmc_x86_theory.mli
+16 -5 mpcompiler/mmc/arch/x86/opt/mmc_x86_dead.ml
+1 -0 mpcompiler/mmc/arch/x86/regalloc/Files
+86 -49 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.ml
+3 -3 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.mli
+2 -3 mpcompiler/mmc/test/mmc

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-05 00:17:34 -0800 (Sat, 05 Mar 2005)
Revision: 6844
Log message:

      Proved some rules in Itt_reflection_example_lambda;
      Fixed a bug in Itt_reflection_new.
      

Changes  Path
+2 -0 metaprl/theories/itt/itt_int_ext.ml
+2 -0 metaprl/theories/itt/itt_int_ext.mli
+6 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml
+2150 -905 metaprl/theories/itt/itt_reflection_example_lambda.prla
+8 -1 metaprl/theories/itt/itt_reflection_new.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-05 12:00:52 -0800 (Sat, 05 Mar 2005)
Revision: 6846
Log message:

      The files for register allocation now compile.  Untested.
      

Changes  Path
+3 -3 metaprl/filter/filter/filter_patt.ml
+13 -1 metaprl/refiner/rewrite/rewrite_build_contractum.ml
+12 -3 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+113 -58 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+15 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.ml
+4 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.mli
+1 -0 mpcompiler/mmc/arch/x86/print/Files
Deleted mpcompiler/mmc/arch/x86/print/mmc_x86_backend.ml
Deleted mpcompiler/mmc/arch/x86/print/mmc_x86_backend.mli
Added mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
Properties mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
Added mpcompiler/mmc/arch/x86/print/mmc_x86_print.mli
Properties mpcompiler/mmc/arch/x86/print/mmc_x86_print.mli
+3 -0 mpcompiler/mmc/arch/x86/regalloc/Files
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.mli
+15 -15 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.ml
+0 -4 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.mli
+122 -138 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-05 15:49:57 -0800 (Sat, 05 Mar 2005)
Revision: 6847
Log message:

      Yay!  The backend is complete, and mmc_int_test/test0 compiles and
      runs correctly.
      

Changes  Path
+25 -14 metaprl/filter/filter/filter_patt.ml
+2 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.ml
+4 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.mli
+6 -2 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen.ml
+30 -28 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+4 -3 mpcompiler/mmc/arch/x86/mmc_x86_theory.mli
+167 -39 mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
+4 -0 mpcompiler/mmc/arch/x86/print/mmc_x86_print.mli
+100 -33 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
+2 -2 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.ml
+2 -2 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.mli
+4 -2 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_rename.ml
+2 -2 mpcompiler/mmc/arch/x86/runtime/x86_glue.s
+3 -3 mpcompiler/mmc/arch/x86/runtime/x86_runtime.c
+1 -0 mpcompiler/mmc/arch/x86/type/Files
+14 -206 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.ml
+4 -55 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.mli
Added mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
Added mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
+3 -3 mpcompiler/mmc/core/mmc_core_hoist.ml
+2 -2 mpcompiler/mmc/core/mmc_core_hoist.mli
+4 -6 mpcompiler/mmc/core/mmc_core_theory.ml
+1 -1 mpcompiler/mmc/extensions/int/mmc_x86_int.ml
+1 -1 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+1 -1 mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml
+5 -4 mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
+7 -4 mpcompiler/mmc/lir/mmc_lir_theory.ml
+3 -0 mpcompiler/mmc/main/OMakefile
+0 -1 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-06 12:04:38 -0800 (Sun, 06 Mar 2005)
Revision: 6852
Log message:

      Added the "typeof" operator to x86.
      The current method for elimination
         1. adds constraints for all the variables
         2. Eliminates the typeof
         3. Erase all leftover constraints
      
      This seems like it can be generalized.  Adding a "sweep"
      operator that sweeps down a type environment (as we have
      discussed for the core).
      

Changes  Path
+1 -0 metaprl/support/display/perv.mli
+15 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+56 -1 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+2 -0 mpcompiler/mmc/arch/x86/codegen/Files
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.mli
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.mli
+8 -0 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+2 -0 mpcompiler/mmc/arch/x86/mmc_x86_theory.mli
+2 -0 mpcompiler/mmc/arch/x86/type/Files
Added mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
Added mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.mli
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.mli
+7 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+0 -9 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
Added mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.ml
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.ml
Added mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.mli
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.mli
+18 -0 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
Added mpcompiler/mmc/test/.gdbinit
Properties mpcompiler/mmc/test/.gdbinit
+4 -1 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-07 00:33:42 -0800 (Mon, 07 Mar 2005)
Revision: 6855
Log message:

      A more complete sweeper for x86.
      

Changes  Path
+4 -1 metaprl/refiner/term_ds/term_addr_ds.ml
+22 -2 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+66 -10 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+1 -1 mpcompiler/mmc/arch/x86/codegen/Files
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.ml
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_close.mli
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.mli
+2 -2 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_theory.mli
+539 -2 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
+48 -29 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.mli
+1 -1 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.ml
+2 -16 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.ml
+42 -0 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+0 -2 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.mli
+136 -0 mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-07 17:04:34 -0800 (Mon, 07 Mar 2005)
Revision: 6857
Log message:

      Start to write a definition of language
      

Changes  Path
+1 -0 metaprl/theories/itt/OMakefile
Added metaprl/theories/itt/itt_synt_language.ml
Properties metaprl/theories/itt/itt_synt_language.ml
Added metaprl/theories/itt/itt_synt_language.mli
Properties metaprl/theories/itt/itt_synt_language.mli
+1 -0 metaprl/theories/itt/itt_synt_operator.mli

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-07 17:06:50 -0800 (Mon, 07 Mar 2005)
Revision: 6858
Log message:

      some fixes.
      

Changes  Path
+4 -2 metaprl/theories/itt/itt_reflection_example_lambda.ml
+415 -346 metaprl/theories/itt/itt_reflection_example_lambda.prla
+0 -7 metaprl/theories/itt/itt_reflection_new.ml
+13 -4 metaprl/theories/itt/itt_synt_bterm.ml
+1894 -1743 metaprl/theories/itt/itt_synt_bterm.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-08 12:11:56 -0800 (Tue, 08 Mar 2005)
Revision: 6859
Log message:

      Converted the x86 sweeper to propositional form.  That is, the sweep
      environment is a collection of propositions.  This is probably what
      we want to use for tast optimization too.
      

Changes  Path
+1 -0 metaprl/refiner/refiner/refine_error.ml
+1 -0 metaprl/refiner/refiner/refiner_debug.ml
+4 -0 metaprl/refiner/reflib/refine_exn.ml
+1 -0 metaprl/refiner/refsig/refine_error_sig.ml
+4 -0 metaprl/refiner/refsig/thread_refiner_sig.ml
+1 -0 metaprl/support/tactics/top_conversionals.ml
+1 -0 metaprl/support/tactics/top_conversionals.mli
+1 -0 metaprl/support/tactics/top_tacticals.ml
+1 -0 metaprl/support/tactics/top_tacticals.mli
+12 -4 metaprl/tactics/null/thread_refiner.ml
+1 -0 metaprl/tactics/proof/conversionals_boot.ml
+43 -33 metaprl/tactics/proof/rewrite_boot.ml
+8 -2 metaprl/tactics/proof/tactic_boot.ml
+13 -0 metaprl/tactics/proof/tactic_boot_sig.ml
+1 -0 metaprl/tactics/proof/tacticals_boot.ml
+60 -49 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+95 -85 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+67 -45 mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.ml
+4 -4 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen.ml
+2 -2 mpcompiler/mmc/arch/x86/opt/mmc_x86_opt.ml
+21 -21 mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
+31 -31 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
+1 -1 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_coalesce.ml
+6 -6 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_rename.ml
+29 -29 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml
+291 -419 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
+62 -62 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.mli
+2 -2 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check.ml
+75 -60 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+32 -13 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
+38 -23 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.ml
+11 -4 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.mli
+18 -18 mpcompiler/mmc/extensions/int/mmc_x86_int.ml
+20 -20 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+40 -39 mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-08 15:50:51 -0800 (Tue, 08 Mar 2005)
Revision: 6860
Log message:

      Add a definition of find
      

Changes  Path
+31 -0 metaprl/theories/itt/itt_list2.ml
+1 -0 metaprl/theories/itt/itt_list2.mli

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-08 22:20:42 -0800 (Tue, 08 Mar 2005)
Revision: 6868
Log message:

      More on Itt_synt_langage
      

Changes  Path
+13 -1 metaprl/theories/itt/itt_synt_language.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-09 09:19:13 -0800 (Wed, 09 Mar 2005)
Revision: 6869
Log message:

      Convert "std" lambdas to "rec" lambdas during type inference.
      I'm not sure exactly the difference between "rec" and "std",
      but let's work with it for now.
      
      Also, I renamed Sequent.explode_sequent to Sequent.explode_sequent_arg
      to avoid the shadowing hassle with TermMan.explode_sequent.
      

Changes  Path
+1 -3 metaprl/refiner/term_ds/term_op_ds.ml
+1 -3 metaprl/refiner/term_std/term_op_std.ml
+0 -0 metaprl/support/tactics/OMakefile
+1 -1 metaprl/support/tactics/top_tacticals.ml
+2 -2 metaprl/tactics/proof/sequent_boot.ml
+1 -1 metaprl/tactics/proof/tactic_boot_sig.ml
+4 -4 metaprl/tactics/proof/tacticals_boot.ml
+1 -1 metaprl/theories/itt/itt_int_arith.ml
+2 -2 metaprl/theories/itt/itt_logic.ml
+2 -2 metaprl/theories/itt/itt_omega.ml
+1 -1 metaprl/theories/itt/itt_squash.ml
+1 -1 metaprl/theories/itt/itt_supinf.ml
+3 -10 metaprl/theories/tptp/tptp_prove.ml
+9 -0 mpcompiler/mmc/core/mmc_core_ast.ml
+0 -0 mpcompiler/mmc/core/mmc_core_cps.ml
+5 -1 mpcompiler/mmc/core/mmc_core_tast.ml
+7 -0 mpcompiler/mmc/core/mmc_core_tast.mli
+10 -6 mpcompiler/mmc/core/mmc_core_type_check.ml
+1 -1 mpcompiler/mmc/core/mmc_core_type_erase.ml
+90 -93 mpcompiler/mmc/core/mmc_core_type_infer.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-09 14:49:07 -0800 (Wed, 09 Mar 2005)
Revision: 6874
Log message:

      - Added a definition of the type of lists with different elements diff_list. (What is the better name for it?)
      - More on itt_synt_language. Some rules probably still miss well-formednes conditions
      

Changes  Path
+1 -1 metaprl/theories/itt/OMakefile
+8 -1 metaprl/theories/itt/itt_list2.ml
+1 -0 metaprl/theories/itt/itt_list2.mli
+19 -3 metaprl/theories/itt/itt_synt_language.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-09 18:28:08 -0800 (Wed, 09 Mar 2005)
Revision: 6875
Log message:

      1. Fixed a bug noted by Xin
      2. Some documentation
      3. Rewrote reflection_example using synt_language`
      

Changes  Path
+1 -1 metaprl/theories/itt/itt_closure.ml
+4 -96 metaprl/theories/itt/itt_reflection_example_lambda.ml
+13 -1 metaprl/theories/itt/itt_synt_language.ml
+1 -0 metaprl/theories/itt/itt_synt_language.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-09 21:19:03 -0800 (Wed, 09 Mar 2005)
Revision: 6876
Log message:

      Added lazy computation of grammars (this is bug #411).  This should
      reduce compile times in mmc significantly.
      

Changes  Path
+4 -5 metaprl/filter/base/filter_cache_fun.ml
+218 -62 metaprl/filter/base/filter_grammar.ml
+2 -2 metaprl/filter/base/filter_grammar.mli
+1 -1 metaprl/filter/base/filter_magic.ml
+1 -1 metaprl/filter/base/filter_summary_type.ml
+1 -1 metaprl/filter/filter/filter_parse.ml
+2 -2 metaprl/support/shell/shell_state.ml
+1 -1 mpcompiler/mmc/core/mmc_core_ast.mli
+1 -0 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.mli

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-10 13:48:46 -0800 (Thu, 10 Mar 2005)
Revision: 6880
Log message:

      Some proofs (especially for "find")
      

Changes  Path
+18 -7 metaprl/theories/itt/itt_list2.ml
+6297 -4227 metaprl/theories/itt/itt_list2.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 14:06:18 -0800 (Thu, 10 Mar 2005)
Revision: 6881
Log message:

      Made the parsetree.cmi checking smarter. This makes MetaPRL compatible with
      GODI's default way of compiling and installing OCaml (both 3.08 and dev
      branches of GODI).
      

Changes  Path
+6 -2 metaprl/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 14:20:20 -0800 (Thu, 10 Mar 2005)
Revision: 6882
Log message:

      Mention GODI option for installation
      

Changes  Path
+2 -0 metaprl/doc/htmlman/mp-install.html

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-10 15:28:08 -0800 (Thu, 10 Mar 2005)
Revision: 6883
Log message:

      Add a definition of last_var
      

Changes  Path
+26 -0 metaprl/theories/itt/itt_synt_subst.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 15:28:57 -0800 (Thu, 10 Mar 2005)
Revision: 6884
Log message:

      *******************************************************************
      * WARNING: This breaks binary compatibility for .cmoz/.prlb files *
      *******************************************************************
      
      This commit increases the separation between the first-order variables and the
      meta-variables:
      - The free variables computation will no longer include the SO variables in
        the free variables list.
      - The rewriter should handle correctly the case of a FO variable and a SO
        variable (even a 0-arity one) sharing the same name (the rewriter now will
        consider the two completely unrelated).
      - When applying rules and cond. rewrites, the refiner will give the rewriter
        the set of all the meta-vars in the sequent, so that the rewriter can avoid
        creating new binding that would clash with meta-vars (this is only needed to
        avoid user confusion on I/O, the semantics does not depend on this).
      

Changes  Path
+3 -2 metaprl/filter/base/filter_magic.ml
+69 -73 metaprl/refiner/refiner/refine.ml
+0 -1 metaprl/refiner/refiner/refine_error.ml
+7 -9 metaprl/refiner/refiner/refiner_debug.ml
+3 -3 metaprl/refiner/reflib/jall.ml
+0 -4 metaprl/refiner/reflib/refine_exn.ml
+0 -1 metaprl/refiner/refsig/refine_error_sig.ml
+0 -1 metaprl/refiner/refsig/refine_sig.ml
+2 -2 metaprl/refiner/refsig/term_man_sig.ml
+1 -3 metaprl/refiner/rewrite/rewrite_compile_contractum.ml
+5 -14 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+6 -6 metaprl/refiner/rewrite/rewrite_match_redex.ml
+1 -1 metaprl/refiner/term_ds/term_base_ds.ml
+30 -28 metaprl/refiner/term_ds/term_man_ds.ml
+16 -11 metaprl/refiner/term_gen/term_man_gen.ml
+9 -13 metaprl/refiner/term_std/term_subst_std.ml
+2 -2 metaprl/theories/itt/itt_rfun.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-10 16:19:55 -0800 (Thu, 10 Mar 2005)
Revision: 6885
Log message:

      1. Added the operator make_depth{'s;'n}, that adds some variables to the term $s$ to make its binding depth to be equal to $n$.
          I can't think of the better name.
         I changed definition of add_vars_upto{'s;'t}. Xin, could you fix the proofs?
      
      2. Added some operators in lambda_example.
      

Changes  Path
+9 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml
+19 -3 metaprl/theories/itt/itt_synt_subst.ml
+7 -0 metaprl/theories/itt/itt_synt_subst.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 17:15:14 -0800 (Thu, 10 Mar 2005)
Revision: 6886
Log message:

      (Bug 415) removed an unnecessary check for non-repeating bindings in sequents.
      

Changes  Path
+0 -2 metaprl/refiner/rewrite/rewrite_compile_contractum.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 17:17:09 -0800 (Thu, 10 Mar 2005)
Revision: 6887
Log message:

      Some functions were not properly implemented; fixing.
      

Changes  Path
+17 -10 metaprl/refiner/refiner/refiner_debug.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-10 17:29:47 -0800 (Thu, 10 Mar 2005)
Revision: 6888
Log message:

      rules and proofs for diff_list.
      

Changes  Path
+14 -0 metaprl/theories/itt/itt_list2.ml
+819 -588 metaprl/theories/itt/itt_list2.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-10 17:31:14 -0800 (Thu, 10 Mar 2005)
Revision: 6889
Log message:

      Fixed a bug in the definition of "dest";
      Some proofs.
      

Changes  Path
+26 -5 metaprl/theories/itt/itt_synt_language.ml
Added metaprl/theories/itt/itt_synt_language.prla
Properties metaprl/theories/itt/itt_synt_language.prla

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-10 18:01:08 -0800 (Thu, 10 Mar 2005)
Revision: 6890
Log message:

      Added a definition of beta-reduction for the simple lambda-calculus
      

Changes  Path
+1 -0 metaprl/theories/itt/OMakefile
+3 -0 metaprl/theories/itt/itt_reflection_example_lambda.mli
Added metaprl/theories/itt/itt_reflection_lambda_reduction.ml
Properties metaprl/theories/itt/itt_reflection_lambda_reduction.ml
Added metaprl/theories/itt/itt_reflection_lambda_reduction.mli
Properties metaprl/theories/itt/itt_reflection_lambda_reduction.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 19:07:18 -0800 (Thu, 10 Mar 2005)
Revision: 6891
Log message:

      Made the var_subst function alpha-invariant.
      

Changes  Path
+11 -21 metaprl/refiner/term_ds/term_subst_ds.ml
+4 -13 metaprl/refiner/term_std/term_subst_std.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 20:06:22 -0800 (Thu, 10 Mar 2005)
Revision: 6892
Log message:

      Created a separate SOContext choice for contexts in Term_ds.core_term type.
      

Changes  Path
+4 -3 metaprl/filter/base/filter_magic.ml
+23 -2 metaprl/refiner/term_ds/term_addr_ds.ml
+35 -0 metaprl/refiner/term_ds/term_base_ds.ml
+1 -0 metaprl/refiner/term_ds/term_ds.ml
+1 -0 metaprl/refiner/term_ds/term_ds_sig.ml
+23 -48 metaprl/refiner/term_ds/term_man_ds.ml
+6 -4 metaprl/refiner/term_ds/term_op_ds.ml
+21 -6 metaprl/refiner/term_ds/term_subst_ds.ml
+2 -2 metaprl/refiner/term_gen/term_addr_gen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 20:40:26 -0800 (Thu, 10 Mar 2005)
Revision: 6893
Log message:

      Fixing a bug in Term_std.
      

Changes  Path
+1 -1 metaprl/refiner/term_gen/term_man_gen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 20:41:30 -0800 (Thu, 10 Mar 2005)
Revision: 6894
Log message:

      Added a possibility to debug internal interfaces for Refine and Rewrite
      modules, instead of the external ones.
      

Changes  Path
+20 -4 metaprl/refiner/refiner/refiner_debug.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-10 22:24:56 -0800 (Thu, 10 Mar 2005)
Revision: 6895
Log message:

      Fixed a painful bug in the parser where precedences were not
      being translated correctly during a grammar merge.
      

Changes  Path
+3 -23 metaprl/filter/filter/filter_parse.ml
+3 -1 metaprl/filter/filter/term_grammar.ml
+10 -4 mpcompiler/mmc/core/mmc_core_ast.mli
+60 -4 mpcompiler/mmc/core/mmc_core_closure.ml
+4 -4 mpcompiler/mmc/core/mmc_core_grammar.mli
+1 -1 mpcompiler/mmc/core/mmc_core_hoist.mli
+1 -1 mpcompiler/mmc/core/mmc_core_sweep.mli
+20 -19 mpcompiler/mmc/core/mmc_core_tast.mli
+23 -0 mpcompiler/mmc/core/mmc_core_type_check.mli
+12 -12 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+28 -56 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+1 -1 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.mli
+3 -3 mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
+0 -2 mpcompiler/mmc/lir/mmc_lir_closure_elim.mli

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-10 23:49:48 -0800 (Thu, 10 Mar 2005)
Revision: 6896
Log message:

      Fixed proofs of add_vars_upto and finished proofs of make_depth.
      
      Note: The definition of last_var is invalid for a 0-depth non-var bterm. Alexei,
      is this what you really want?
      

Changes  Path
+2 -0 metaprl/theories/itt/itt_synt_subst.ml
+3732 -1530 metaprl/theories/itt/itt_synt_subst.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-10 23:53:27 -0800 (Thu, 10 Mar 2005)
Revision: 6897
Log message:

      - When calling the type inference from filter, pass only the "proper" term
        parameters (i.e. skip IntArg and AddrArg parameters) to the typechecker.
      
      - In type inference, take the context environment from the redex and params,
        not just from the redex (this should partially solve Yegor's problem with
        the indWrap in CIC).
      

Changes  Path
+2 -2 metaprl/filter/base/filter_cache_fun.ml
+1 -1 metaprl/filter/base/filter_summary_type.ml
+2 -2 metaprl/filter/base/filter_type.ml
+4 -4 metaprl/filter/filter/filter_parse.ml
+16 -15 metaprl/filter/filter/term_grammar.ml
+9 -23 metaprl/refiner/reflib/term_ty_infer.ml
+1 -1 metaprl/refiner/reflib/term_ty_infer.mli
+2 -2 metaprl/support/shell/package_info.ml
+1 -1 metaprl/support/shell/package_info.mli
+1 -1 metaprl/support/shell/shell_core.ml
+10 -10 metaprl/support/shell/shell_state.ml
+1 -1 metaprl/support/shell/shell_state.mli
+2 -2 metaprl/theories/cic/cic_lambda.ml
+2 -2 metaprl/theories/cic/cic_lambda.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-11 00:53:53 -0800 (Fri, 11 Mar 2005)
Revision: 6899
Log message:

      Put back the occurs check that I've unintentially removed.
      

Changes  Path
+2 -1 metaprl/refiner/reflib/term_ty_infer.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-11 01:46:12 -0800 (Fri, 11 Mar 2005)
Revision: 6900
Log message:

      itt_int_bench3 is also generated by gen_bench
      

Changes  Path
+1 -0 metaprl/theories/itt/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-11 14:05:49 -0800 (Fri, 11 Mar 2005)
Revision: 6903
Log message:

      (Bug 416) Give a meaningful error message when:
      
      - One of the keywords rule/rewrite/topval is encountered in an .ml file
      
      - One of the keywords prim/interactive/prim_rw/interactive_rw is encountered
        in an .mli file.
      

Changes  Path
+14 -3 metaprl/filter/filter/filter_parse.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-11 16:55:35 -0800 (Fri, 11 Mar 2005)
Revision: 6905
Log message:

      Added the subject reduction theorem and started the proof.
      

Changes  Path
+1 -0 metaprl/theories/itt/OMakefile
+8 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml
+6 -0 metaprl/theories/itt/itt_reflection_example_lambda.mli
+2 -0 metaprl/theories/itt/itt_reflection_lambda_reduction.mli
Added metaprl/theories/itt/itt_reflection_lambda_typing.ml
Properties metaprl/theories/itt/itt_reflection_lambda_typing.ml
Added metaprl/theories/itt/itt_reflection_lambda_typing.mli
Properties metaprl/theories/itt/itt_reflection_lambda_typing.mli
Added metaprl/theories/itt/itt_reflection_lambda_typing.prla
Properties metaprl/theories/itt/itt_reflection_lambda_typing.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-11 17:41:45 -0800 (Fri, 11 Mar 2005)
Revision: 6907
Log message:

      In a rewriter, I added a way to consider "!v" as bindings. If a term
      Perv!xbinder{!v} is specified as one of the rewrite arguments, then 'v is
      considered "bound" in the redex. In other words, terms like 'e[!v] in the
      redex would be considered _patterns_ for 'e (so no need to pass in
      bind{x.'e['x]} any more).
      
      Note that while the implementation of such a rule will now require that all
      the occurrence of !v in 'e are "selected", we should still consider the
      semantics to be the original one (where any subset of !v occurrences might get
      "selected"). Otherwise we might get into trouble with derived rules/rewrite
      (I am not sure).
      

Changes  Path
+1 -1 metaprl/refiner/refiner/refiner_debug.ml
+1 -1 metaprl/refiner/refiner/refiner_ds.ml
+1 -1 metaprl/refiner/refiner/refiner_std.ml
+3 -1 metaprl/refiner/rewrite/rewrite.ml
+2 -0 metaprl/refiner/rewrite/rewrite.mli
+24 -3 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+2 -0 metaprl/refiner/rewrite/rewrite_compile_redex.mli
+1 -0 metaprl/support/display/perv.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-11 19:36:39 -0800 (Fri, 11 Mar 2005)
Revision: 6908
Log message:

      I'm being a little anal here.  I prefer the form where the <singleton_params_c>
      is a context, containing singleton types.  This gets the arity of the functions
      right, and I feel a little better about it just because I have a better
      understanding of the semantics.
      

Changes  Path
+7 -1 metaprl/support/display/perv.mli
+22 -19 mpcompiler/mmc/core/mmc_core_closure.ml
+22 -25 mpcompiler/mmc/core/mmc_core_sweep.ml
+18 -16 mpcompiler/mmc/core/mmc_core_tast.ml
+64 -47 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-11 22:39:53 -0800 (Fri, 11 Mar 2005)
Revision: 6911
Log message:

      NOTE: this breaks binary compatibility, bleh.
      
      Added much better error messages to the parser, as Aleksey and I
      discussed.
      

Changes  Path
+4 -4 metaprl/filter/base/filter_exn.ml
+1 -1 metaprl/filter/base/filter_grammar.ml
+1 -1 metaprl/filter/base/filter_magic.ml
+2 -0 metaprl/refiner/refiner/refiner_debug.ml
+2 -2 metaprl/refiner/reflib/refine_exn.ml
+1 -0 metaprl/refiner/refsig/term_shape_sig.ml
+49 -0 metaprl/refiner/term_gen/term_shape_gen.ml
+10 -4 mpcompiler/mmc/core/mmc_core_closure.ml
+1 -1 mpcompiler/mmc/core/mmc_core_sweep.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-12 11:25:50 -0800 (Sat, 12 Mar 2005)
Revision: 6915
Log message:

      Added non-binding contexts (bug #417).
      mmc_int_test/test1 now passes closure conversion.
      

Changes  Path
+59 -23 metaprl/refiner/term_gen/term_meta_gen.ml
+12 -1 mpcompiler/mmc/core/mmc_core_closure.ml
+6 -2 mpcompiler/mmc/core/mmc_core_tast.ml
+13 -4 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-13 20:50:15 -0800 (Sun, 13 Mar 2005)
Revision: 6917
Log message:

      A lot of changes:
         1. Added a typeof operator, to be used during sweeping.
         2. Closure elimination is a sweep phase, but not correct
            yet because we need to convert it to positive form.
      
      We need to add IsValue rules for the closure pairs...
      

Changes  Path
+6 -3 metaprl/editor/ml/shell_mp.ml
+5 -9 metaprl/filter/base/filter_exn.ml
+13 -2 metaprl/refiner/reflib/refine_exn.ml
+2 -0 metaprl/refiner/reflib/refine_exn.mli
+2 -2 metaprl/support/shell/shell.ml
+1 -1 metaprl/support/shell/shell_core.ml
+0 -7 metaprl/tactics/proof/exn_boot.ml
+0 -1 metaprl/tactics/proof/exn_boot.mli
+1 -0 mpcompiler/mmc/core/Files
+47 -29 mpcompiler/mmc/core/mmc_core_ast.mli
+17 -2 mpcompiler/mmc/core/mmc_core_closure.ml
+231 -326 mpcompiler/mmc/core/mmc_core_sweep.ml
+172 -18 mpcompiler/mmc/core/mmc_core_sweep.mli
+2 -7 mpcompiler/mmc/core/mmc_core_tast.ml
+62 -30 mpcompiler/mmc/core/mmc_core_tast.mli
+13 -9 mpcompiler/mmc/core/mmc_core_type_check.ml
+1 -1 mpcompiler/mmc/core/mmc_core_type_check.mli
Added mpcompiler/mmc/core/mmc_core_typeof.ml
Properties mpcompiler/mmc/core/mmc_core_typeof.ml
Added mpcompiler/mmc/core/mmc_core_typeof.mli
Properties mpcompiler/mmc/core/mmc_core_typeof.mli
+16 -0 mpcompiler/mmc/core/mmc_core_util.ml
+1 -1 mpcompiler/mmc/core/mmc_core_util.mli
+1 -7 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+23 -0 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+3 -12 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+20 -0 mpcompiler/mmc/extensions/operator/mmc_ext_operator.ml
+63 -1 mpcompiler/mmc/extensions/operator/mmc_ext_operator.mli
+57 -0 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+20 -2 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.mli
+46 -0 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+1 -1 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.mli
+128 -179 mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
+1 -1 mpcompiler/mmc/lir/mmc_lir_closure_elim.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 16:13:05 -0800 (Mon, 14 Mar 2005)
Revision: 6919
Log message:

      Minor fix in the match_terms function.
      

Changes  Path
+2 -2 metaprl/refiner/term_ds/term_subst_ds.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-14 16:46:40 -0800 (Mon, 14 Mar 2005)
Revision: 6920
Log message:

      Proved the well_formedness of is_same_op for Operator.
      

Changes  Path
+4 -0 metaprl/theories/itt/itt_synt_operator.ml
+2355 -867 metaprl/theories/itt/itt_synt_operator.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 18:35:24 -0800 (Mon, 14 Mar 2005)
Revision: 6921
Log message:

      Allow arg{|... >- ... |} notation for sequents in the dform "options" list.
      

Changes  Path
+5 -0 metaprl/filter/filter/term_grammar.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 18:57:55 -0800 (Mon, 14 Mar 2005)
Revision: 6922
Log message:

      - Fixed a bug in parsing quotations within the <:doc< >> quotations.
      
      - Added underline{'t} display form operator (which works correctly in HTML,
        TeX and even PRL modes)
      
      - Simplified and improved the display forms for the Base_reflection!bterm
        sequents.
      
      - Added a sample documenation to one of the ML rewrites in Base_reflection.
      

Changes  Path
+3 -1 metaprl/filter/base/filter_exn.ml
+1 -1 metaprl/mllib/comment_parse.mll
+1 -0 metaprl/refiner/reflib/dform.ml
+1 -0 metaprl/support/display/comment.ml
+1 -0 metaprl/support/display/comment.mli
+10 -0 metaprl/support/display/nuprl_font.ml
+3 -0 metaprl/support/display/nuprl_font.mli
+1 -0 metaprl/support/display/summary.mli
+26 -165 metaprl/theories/base/base_reflection.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 19:21:25 -0800 (Mon, 14 Mar 2005)
Revision: 6923
Log message:

      Added a fake_mlrw operator to make documenting ML rewrites easier.
      

Changes  Path
+4 -2 metaprl/support/display/summary.ml
+4 -1 metaprl/support/display/summary.mli
+6 -7 metaprl/theories/base/base_reflection.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 21:15:10 -0800 (Mon, 14 Mar 2005)
Revision: 6926
Log message:

      Do not try to read/write the MetaPRL history file when the -batch flag is
      used.
      

Changes  Path
+11 -9 metaprl/support/shell/shell_state.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-14 21:38:43 -0800 (Mon, 14 Mar 2005)
Revision: 6928
Log message:

      In TermSubst.match_terms, do include the trivial v->v "renamings" in the
      returned subst.
      

Changes  Path
+10 -1 metaprl/refiner/term_ds/term_subst_ds.ml
+9 -2 metaprl/refiner/term_std/term_subst_std.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-15 00:32:53 -0800 (Tue, 15 Mar 2005)
Revision: 6929
Log message:

      More proofs.
      

Changes  Path
+1 -1 metaprl/theories/itt/itt_synt_language.ml
+1245 -1519 metaprl/theories/itt/itt_synt_language.prla
+18 -2 metaprl/theories/itt/itt_synt_operator.ml
+2 -0 metaprl/theories/itt/itt_synt_operator.mli
+1072 -818 metaprl/theories/itt/itt_synt_operator.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-15 16:28:20 -0800 (Tue, 15 Mar 2005)
Revision: 6937
Log message:

      Proper scoping for OCamlGeneratedFiles.
      

Changes  Path
+7 -15 metaprl/OMakefile
+1 -1 metaprl/editor/ml/OMakefile
+1 -1 metaprl/theories/itt/OMakefile

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-15 23:08:42 -0800 (Tue, 15 Mar 2005)
Revision: 6943
Log message:

      More proofs.
      

Changes  Path
+5 -0 metaprl/theories/itt/itt_synt_bterm.ml
+1538 -1446 metaprl/theories/itt/itt_synt_bterm.prla
+15 -1 metaprl/theories/itt/itt_synt_language.ml
+2 -0 metaprl/theories/itt/itt_synt_language.mli
+1035 -332 metaprl/theories/itt/itt_synt_language.prla
+4 -0 metaprl/theories/itt/itt_synt_operator.ml
+330 -284 metaprl/theories/itt/itt_synt_operator.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-16 00:39:25 -0800 (Wed, 16 Mar 2005)
Revision: 6944
Log message:

      Finished proofs in Itt_synt_language.
      

Changes  Path
+4 -0 metaprl/theories/itt/itt_synt_bterm.ml
+1425 -1386 metaprl/theories/itt/itt_synt_bterm.prla
+7 -0 metaprl/theories/itt/itt_synt_language.ml
+586 -166 metaprl/theories/itt/itt_synt_language.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-16 15:00:18 -0800 (Wed, 16 Mar 2005)
Revision: 6948
Log message:

      Added BTerm{'n} and BTerm_plus{'n} in Itt_synt_bterm; Corrected last_var{'bt}
      in Itt_synt_subst.
      

Changes  Path
+9 -0 metaprl/theories/itt/itt_synt_bterm.ml
+4 -0 metaprl/theories/itt/itt_synt_bterm.mli
+3 -3 metaprl/theories/itt/itt_synt_subst.ml
+1257 -1169 metaprl/theories/itt/itt_synt_subst.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-16 15:27:57 -0800 (Wed, 16 Mar 2005)
Revision: 6949
Log message:

      The apply_var_fun[_arg]_at_addr now rename the bterm bindings among the
      addressed path to avoid clashes. This is necessary to be able to properly
      handle non-sequent contexts in the rewriter.
      
      TODO: the sequent bindings need to be renamed as well.
      

Changes  Path
+11 -6 metaprl/refiner/term_ds/term_addr_ds.ml
+4 -4 metaprl/refiner/term_gen/term_addr_gen.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-16 16:11:03 -0800 (Wed, 16 Mar 2005)
Revision: 6950
Log message:

      Replaced *language* with *lang* to avoid misspelling.
      

Changes  Path
+1 -1 metaprl/theories/itt/OMakefile
+2 -2 metaprl/theories/itt/itt_reflection_example_lambda.ml
+2 -2 metaprl/theories/itt/itt_reflection_example_lambda.mli
+2 -2 metaprl/theories/itt/itt_reflection_lambda_typing.ml
+4 -4 metaprl/theories/itt/itt_reflection_lambda_typing.prla
Added metaprl/theories/itt/itt_synt_lang.ml
Properties metaprl/theories/itt/itt_synt_lang.ml
Added metaprl/theories/itt/itt_synt_lang.mli
Properties metaprl/theories/itt/itt_synt_lang.mli
Added metaprl/theories/itt/itt_synt_lang.prla
Properties metaprl/theories/itt/itt_synt_lang.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-16 16:14:00 -0800 (Wed, 16 Mar 2005)
Revision: 6952
Log message:

      Remove the Itt_synt_language module.
      

Changes  Path
Deleted metaprl/theories/itt/itt_synt_language.ml
Deleted metaprl/theories/itt/itt_synt_language.mli
Deleted metaprl/theories/itt/itt_synt_language.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-16 17:01:55 -0800 (Wed, 16 Mar 2005)
Revision: 6955
Log message:

      Renamed Itt_synt_bterm!is_same_op/same_op to is_same_op_of/same_op_of
      in order to avoid confusion with Itt_synt_operator!is_same_op/same_op.
      

Changes  Path
+6 -1 metaprl/theories/itt/itt_reflection_example_lambda.ml
+33 -33 metaprl/theories/itt/itt_synt_bterm.ml
+5 -2 metaprl/theories/itt/itt_synt_bterm.mli
+23 -23 metaprl/theories/itt/itt_synt_bterm.prla
+2 -2 metaprl/theories/itt/itt_synt_lang.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-03-16 17:51:32 -0800 (Wed, 16 Mar 2005)
Revision: 6957
Log message:

      More on the proof of the subject reduction
      

Changes  Path
+433 -285 metaprl/theories/itt/itt_reflection_lambda_typing.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-16 18:13:36 -0800 (Wed, 16 Mar 2005)
Revision: 6958
Log message:

      Added a missing check that makes sure SO instances do not have free contexts.
      

Changes  Path
+9 -2 metaprl/refiner/rewrite/rewrite_compile_redex.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-16 22:33:31 -0800 (Wed, 16 Mar 2005)
Revision: 6959
Log message:

      (Bug 405) When loading a .cmiz or .cmoz file, the grammar needs to be
      reconstructed correctly.
      
      It used to be the case that the following invariant may be assumed to be true
      "among all the extended parents, at most one will have a non-empty grammar, or
      the current module will have its own copy of the grammar". However now that
      the filter-grammar keeps track of the grammar inheritance, this is no longer
      true (one parent may have a grammar that contains the grammars of all other
      parents). In other words, when loading a file and scanning parents, one now
      has to take a _union_ of grammars (knowing that this lazy union will either
      become singleton when flattened, or it will be shadowed by a PRLGrammar).
      
      Also, when loading a .cmoz, we need to start by loading the grammar from .cmiz
      (because this is what filter_parse starts with when parsing an .ml file).
      

Changes  Path
+28 -49 metaprl/filter/base/filter_cache_fun.ml
+0 -3 metaprl/filter/base/filter_cache_fun.mli
+3 -1 metaprl/filter/base/filter_summary_io.ml
+1 -1 metaprl/filter/base/filter_summary_io.mli
+17 -24 metaprl/filter/base/filter_summary_type.ml
+1 -2 metaprl/filter/filter/filter_parse.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-17 01:09:00 -0800 (Thu, 17 Mar 2005)
Revision: 6960
Log message:

      More proofs.
      

Changes  Path
+1 -0 metaprl/theories/itt/itt_list2.mli
+1516 -2987 metaprl/theories/itt/itt_reflection_example_lambda.prla
+3 -0 metaprl/theories/itt/itt_synt_bterm.ml
+1706 -1499 metaprl/theories/itt/itt_synt_bterm.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-17 12:55:03 -0800 (Thu, 17 Mar 2005)
Revision: 6961
Log message:

      Added the ability to use quotations to specify meta_terms.
      
      mmc_int_test/test1 now passes code generation.
      

Changes  Path
+2 -39 metaprl/filter/base/filter_summary.ml
+16 -0 metaprl/filter/filter/term_grammar.ml
+6 -0 metaprl/refiner/refiner/refiner_debug.ml
+1 -1 metaprl/refiner/refiner/refiner_ds.ml
+1 -1 metaprl/refiner/refiner/refiner_std.ml
+5 -0 metaprl/refiner/refsig/term_meta_sig.ml
+54 -0 metaprl/refiner/term_gen/term_meta_gen.ml
+2 -0 metaprl/refiner/term_gen/term_meta_gen.mli
+23 -0 metaprl/support/display/summary.mli
+1 -0 mpcompiler/mmc/arch/x86/base/Files
+11 -1 mpcompiler/mmc/arch/x86/base/mmc_x86_asm_grammar.ml
+27 -15 mpcompiler/mmc/arch/x86/base/mmc_x86_asm_grammar.mli
+26 -3 mpcompiler/mmc/arch/x86/base/mmc_x86_util.ml
+14 -2 mpcompiler/mmc/arch/x86/base/mmc_x86_util.mli
+1 -1 mpcompiler/mmc/arch/x86/codegen/mmc_x86_closure.ml
+79 -29 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen.ml
+1 -1 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_grammar.ml
+2 -0 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_grammar.mli
+2 -2 mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.ml
+1 -0 mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve_grammar.mli
+1 -0 mpcompiler/mmc/arch/x86/type/Files
Added mpcompiler/mmc/arch/x86/type/mmc_x86_mterm_grammar.ml
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_mterm_grammar.ml
Added mpcompiler/mmc/arch/x86/type/mmc_x86_mterm_grammar.mli
Properties mpcompiler/mmc/arch/x86/type/mmc_x86_mterm_grammar.mli
+26 -26 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
+7 -7 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep_grammar.ml
+21 -21 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep_grammar.mli
+64 -8 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+4 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_grammar.ml
+29 -8 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_grammar.mli
+2 -2 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+19 -5 mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-17 14:17:56 -0800 (Thu, 17 Mar 2005)
Revision: 6962
Log message:

      Change Itt_synt_bterm!btermVar from AutoMustComplete to nth_hyp.
      

Changes  Path
+7 -3 metaprl/theories/itt/itt_synt_bterm.ml
+1689 -1650 metaprl/theories/itt/itt_synt_bterm.prla
+232 -228 metaprl/theories/itt/itt_synt_subst.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-17 16:23:41 -0800 (Thu, 17 Mar 2005)
Revision: 6963
Log message:

      Added code for var_subst on sequents.
      

Changes  Path
+25 -1 metaprl/refiner/term_ds/term_subst_ds.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-17 16:57:22 -0800 (Thu, 17 Mar 2005)
Revision: 6964
Log message:

      More proofs for Itt_reflection_example_lambda.
      

Changes  Path
+6 -2 metaprl/theories/itt/itt_reflection_example_lambda.ml
+765 -505 metaprl/theories/itt/itt_reflection_example_lambda.prla
+8 -0 metaprl/theories/itt/itt_synt_lang.ml
+655 -531 metaprl/theories/itt/itt_synt_lang.prla
+6 -0 metaprl/theories/itt/itt_synt_subst.ml
+893 -812 metaprl/theories/itt/itt_synt_subst.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-17 17:01:49 -0800 (Thu, 17 Mar 2005)
Revision: 6965
Log message:

      Added meta_term grammar to the mmc core.
      Removed the need for the backquote (`)
      before a meta_term in a rule.
      

Changes  Path
+0 -15 metaprl/filter/filter/term_grammar.ml
+3 -0 metaprl/refiner/refiner/refiner_debug.ml
+1 -0 metaprl/refiner/refsig/term_meta_sig.ml
+64 -52 metaprl/refiner/term_gen/term_meta_gen.ml
+0 -0 mpcompiler/mmc/arch/x86/codegen/mmc_x86_reserve.ml
+12 -12 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+1 -0 mpcompiler/mmc/core/Files
+8 -4 mpcompiler/mmc/core/mmc_core_ast_grammar.mli
Added mpcompiler/mmc/core/mmc_core_mterm_grammar.ml
Properties mpcompiler/mmc/core/mmc_core_mterm_grammar.ml
Added mpcompiler/mmc/core/mmc_core_mterm_grammar.mli
Properties mpcompiler/mmc/core/mmc_core_mterm_grammar.mli
+2 -2 mpcompiler/mmc/core/mmc_core_type_check.ml
+2 -2 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+2 -1 mpcompiler/mmc/test/mmc

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-17 17:44:52 -0800 (Thu, 17 Mar 2005)
Revision: 6967
Log message:

      When backtrace is on, do not attempt to pretty-print exceptions (this destroys
      backtraces for some reason).
      

Changes  Path
+1 -4 metaprl/editor/ml/shell_mp.ml
+4 -5 metaprl/filter/base/filter_exn.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-17 20:59:57 -0800 (Thu, 17 Mar 2005)
Revision: 6968
Log message:

      Some updates to CPS.  Preparing to remove polymorphism introduced earlier.
      

Changes  Path
+3 -2 metaprl/filter/base/filter_util.ml
+6 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof_grammar.ml
+6 -1 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof_grammar.mli
+2 -0 mpcompiler/mmc/core/Files
+39 -42 mpcompiler/mmc/core/mmc_core_cps.ml
+0 -11 mpcompiler/mmc/core/mmc_core_cps.mli
Added mpcompiler/mmc/core/mmc_core_cps_grammar.ml
Properties mpcompiler/mmc/core/mmc_core_cps_grammar.ml
Added mpcompiler/mmc/core/mmc_core_cps_grammar.mli
Properties mpcompiler/mmc/core/mmc_core_cps_grammar.mli
Added mpcompiler/mmc/core/mmc_core_cps_private.ml
Properties mpcompiler/mmc/core/mmc_core_cps_private.ml
Added mpcompiler/mmc/core/mmc_core_cps_private.mli
Properties mpcompiler/mmc/core/mmc_core_cps_private.mli
+4 -0 mpcompiler/mmc/core/mmc_core_mterm_grammar.ml
+25 -3 mpcompiler/mmc/core/mmc_core_mterm_grammar.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-17 21:00:43 -0800 (Thu, 17 Mar 2005)
Revision: 6969
Log message:

      Changed splitITE to use TermAddr functionality for finding appropriate
      if-then-else locations, instead of using its own ad-hoc version which didn't
      play nicely with nested sequents (such as reflected bterms).
      

Changes  Path
+6 -6 metaprl/refiner/refiner/refiner_debug.ml
+2 -1 metaprl/refiner/refsig/term_addr_sig.ml
+35 -42 metaprl/refiner/term_ds/term_addr_ds.ml
+9 -16 metaprl/refiner/term_gen/term_addr_gen.ml
+14 -4 metaprl/support/tactics/dtactic.ml
+1 -0 metaprl/tactics/proof/tactic_boot_sig.ml
+17 -48 metaprl/theories/itt/itt_bool.ml
+21061 -27085 metaprl/theories/itt/itt_fset.prla
+10744 -11406 metaprl/theories/itt/itt_int_base.prla
+598 -568 metaprl/theories/itt/itt_list2.prla
+35 -7 metaprl/util/gen_refiner_debug.pl

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-18 00:10:54 -0800 (Fri, 18 Mar 2005)
Revision: 6971
Log message:

      MetaPRL is compatible with OCaml 3.08.3
      
      P.S. The RPMs of the new OCaml are available at
      http://rpm.nogin.org/ocaml.html
      

Changes  Path
+1 -1 metaprl/mk/defaults
+4 -4 metaprl/theories/itt/itt_logic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-18 18:43:35 -0800 (Fri, 18 Mar 2005)
Revision: 6977
Log message:

      Some display form improvements.
      

Changes  Path
+8 -2 metaprl/support/display/base_dform.ml
+3 -7 metaprl/support/display/nuprl_font.ml
+4 -0 metaprl/support/display/nuprl_font.mli
+8 -2 metaprl/support/shell/inputs/style.css
+1 -1 metaprl/theories/itt/itt_list2.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-18 21:34:42 -0800 (Fri, 18 Mar 2005)
Revision: 6980
Log message:

      Added hash codes to most of the data values in Lm_parser.
      This gives a 20-30% speedup.  I'll work on the propagate-fixpoint next.
      

Changes  Path
+21 -12 metaprl/filter/base/filter_grammar.ml
+1 -1 metaprl/filter/base/filter_magic.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-19 12:26:33 -0800 (Sat, 19 Mar 2005)
Revision: 6981
Log message:

      Modified the lookahead propagation for performance (it is now
      faster by about 10x).  The main changes are a more explicit data
      representation, and computing a fixpoint *within* a state
      before moving on to the next one.
      

Changes  Path
+9 -2 metaprl/filter/base/filter_grammar.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-19 15:12:12 -0800 (Sat, 19 Mar 2005)
Revision: 6982
Log message:

      In Ocamldep:
      - Split the list of PRL dependencies into a list of implementation-only
        dependencies and a list of dependencies for both implementations and
        interfaces.
      - Added Ml_term to the list of implementation dependencies.
      

Changes  Path
+1 -1 metaprl/theories/itt/itt_comment.mli
+20 -20 metaprl/util/ocamldep.mll

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-19 17:18:37 -0800 (Sat, 19 Mar 2005)
Revision: 6983
Log message:

      Added more timing printouts.  Use MP_DEBUG=parsetiming to see them.
      
      Removed normal productions, so we just use production items
      (the production with a . position).  A normal production is
      just a production with the . at the front.
      

Changes  Path
+0 -8 metaprl/filter/base/filter_grammar.ml
+1 -1 metaprl/filter/base/filter_magic.ml

Changes by: ( at unknown.email)
Date: 2005-03-19 17:18:37 -0800 (Sat, 19 Mar 2005)
Revision: 6984
Log message:

      This commit was manufactured by cvs2svn to create branch 'fast_parser'.

Changes  Path
Copied metaprl-branches/fast_parser
Deleted metaprl-branches/fast_parser/BUGS
Deleted metaprl-branches/fast_parser/Makefile
Deleted metaprl-branches/fast_parser/OMakefile
Deleted metaprl-branches/fast_parser/OMakeroot
Deleted metaprl-branches/fast_parser/README
Deleted metaprl-branches/fast_parser/README.MACOSX
Deleted metaprl-branches/fast_parser/README.WIN32
Deleted metaprl-branches/fast_parser/filter/OMakefile
Deleted metaprl-branches/fast_parser/filter/base/Files
Deleted metaprl-branches/fast_parser/filter/base/OMakefile
Deleted metaprl-branches/fast_parser/filter/base/filter_buffer.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_buffer.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_cache.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_cache.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_cache_fun.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_cache_fun.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_debug.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_debug.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_exn.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_exn.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_grammar.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_grammar.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_hash.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_hash.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_magic.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_ocaml.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_ocaml.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_spell.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_spell.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_summary.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_summary.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_io.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_io.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_param.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_type.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_util.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_summary_util.mli
Deleted metaprl-branches/fast_parser/filter/base/filter_type.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_util.ml
Deleted metaprl-branches/fast_parser/filter/base/filter_util.mli
Deleted metaprl-branches/fast_parser/filter/base/free_vars.ml
Deleted metaprl-branches/fast_parser/filter/base/free_vars.mli
Deleted metaprl-branches/fast_parser/filter/base/infix.ml
Deleted metaprl-branches/fast_parser/filter/base/infix.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-20 19:03:11 -0800 (Sun, 20 Mar 2005)
Revision: 6985
Log message:

      Term_order:
      - Changed to make sure it is able to handle sequents.
      - Tried making it a bit more efficient.
      

Changes  Path
+1 -1 metaprl/editor/ml/shell_mp.ml
+107 -71 metaprl/refiner/reflib/term_order.ml
+6 -8 metaprl/refiner/reflib/term_order.mli
+9 -9 metaprl/theories/itt/itt_int_arith.ml
+9 -9 metaprl/theories/itt/itt_rat2.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-20 20:27:09 -0800 (Sun, 20 Mar 2005)
Revision: 6986
Log message:

      Added rules for writing parsed .ml/.mli into .p4/.p4i in macropp-processed
      directories (mllib and refiner).
      

Changes  Path
+6 -0 metaprl/OMakefile
+0 -2 metaprl/mllib/OMakefile
+7 -3 metaprl/refiner/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-20 20:27:23 -0800 (Sun, 20 Mar 2005)
Revision: 6987
Log message:

      Minor API change.
      

Changes  Path
+3 -3 metaprl/refiner/refiner/refiner_debug.ml
+1 -1 metaprl/refiner/refsig/term_subst_sig.ml
+1 -1 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+1 -1 metaprl/refiner/rewrite/rewrite_match_redex.ml
+1 -1 metaprl/refiner/term_ds/term_addr_ds.ml
+2 -2 metaprl/refiner/term_ds/term_subst_ds.ml
+3 -3 metaprl/refiner/term_gen/term_addr_gen.ml
+2 -2 metaprl/refiner/term_std/term_subst_std.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-20 21:30:24 -0800 (Sun, 20 Mar 2005)
Revision: 6988
Log message:

      Proper usage of delayed bindings.
      

Changes  Path
+1 -1 metaprl/OMakefile
+0 -6 metaprl/refiner/OMakefile

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-21 11:02:27 -0800 (Mon, 21 Mar 2005)
Revision: 6989
Log message:

      Some additional optimizations.
      

Changes  Path
+1 -1 metaprl-branches/fast_parser/filter/base/filter_magic.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-21 12:48:53 -0800 (Mon, 21 Mar 2005)
Revision: 6990
Log message:

      Grammar construction is now around 0.3sec for our largest grammar,
      which may be good enough.
      
      However, I haven't reconstructed the full shift table, so we'll see.
      

Changes  Path
+1 -1 metaprl-branches/fast_parser/filter/base/filter_magic.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-21 17:14:32 -0800 (Mon, 21 Mar 2005)
Revision: 6992
Log message:

      Finished proofs in Itt_reflection_example_lambda.
      

Changes  Path
+17 -1 metaprl/theories/itt/itt_reflection_example_lambda.ml
+1647 -950 metaprl/theories/itt/itt_reflection_example_lambda.prla
+4 -1 metaprl/theories/itt/itt_reflection_new.ml
+7 -0 metaprl/theories/itt/itt_synt_operator.ml
+458 -374 metaprl/theories/itt/itt_synt_operator.prla
+2 -0 metaprl/theories/itt/itt_synt_subst.ml
+1 -0 metaprl/theories/itt/itt_synt_subst.mli

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-21 17:16:15 -0800 (Mon, 21 Mar 2005)
Revision: 6993
Log message:

      Remove some useless stuff.
      

Changes  Path
+0 -7 metaprl/theories/itt/itt_reflection_example_lambda.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-21 20:40:59 -0800 (Mon, 21 Mar 2005)
Revision: 6994
Log message:

      - Iforms now do not have to be duplicated in .mli and .ml - iforms that exist
        in .mli, but not in .ml will now be automatically copied to .ml.
      
      - No ML code is generated for iforms now; since filter_grammar handles
        iforms internally, there is no need for explicit ML code.
      
      - The .cmoz/.cmiz data structure for iforms now contains neither proofs nor
        resources (note - MetaPRL should still be able to read older binaries).
      
      - Removed references to arguments and conditions from the code for iforms,
        since iforms can not be conditional and can not take arguments.
      

Changes  Path
+1 -1 metaprl/OMakefile
+2 -2 metaprl/filter/base/filter_cache_fun.ml
+7 -4 metaprl/filter/base/filter_magic.ml
+104 -83 metaprl/filter/base/filter_summary.ml
+1 -1 metaprl/filter/base/filter_summary_type.ml
+8 -3 metaprl/filter/base/filter_type.ml
+22 -35 metaprl/filter/filter/filter_parse.ml
+5 -18 metaprl/filter/filter/filter_prog.ml
+6 -9 metaprl/filter/filter/term_grammar.ml
+2 -2 metaprl/refiner/refiner/refine.ml
+4 -6 metaprl/refiner/refiner/refiner_debug.ml
+2 -3 metaprl/refiner/reflib/term_ty_infer.ml
+1 -1 metaprl/refiner/reflib/term_ty_infer.mli
+0 -3 metaprl/refiner/refsig/refine_sig.ml
+3 -6 metaprl/support/display/summary.ml
+2 -2 metaprl/support/shell/package_info.ml
+3 -3 metaprl/support/shell/shell_state.ml
+0 -0 metaprl/theories/itt/itt_list2.ml
+3 -3 metaprl/theories/itt/itt_list2.prla
+0 -2 metaprl/theories/itt/itt_synt_operator.ml
+0 -2 metaprl/theories/itt/itt_synt_var.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-21 21:17:03 -0800 (Mon, 21 Mar 2005)
Revision: 6995
Log message:

      - Filter_parse: wrapped a number of grammar-related entries with a proper
        handle_exn in order to make sure any error message would point to the
        correct location in the .ml[i] file, as opposed to "line 0, characters 0-1"
      
      - Lm_lexer: prefixed all the Failure error messages with "Lm_lexer: "
      
      Together these changes replace a _very_ confusing:
      
      > File "m_ast.mli", line 0, characters 0-1:
      > Failure: character sequence is not terminated
      
      with a much more self-explanatory:
      
      > While processing lex_token:
      >    Line 183, characters 1-34:
      >       Failure:
      >           Lm_lexer: regex: character sequence is not terminated
      

Changes  Path
+50 -20 metaprl/filter/filter/filter_parse.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-22 06:36:10 -0800 (Tue, 22 Mar 2005)
Revision: 6996
Log message:

      Removing Phobos from MetaPRL (sorry, Adam). Jason;s new grammar implementation
      is working very well and is much better integrated with MetaPRL. I've also
      converted the "M" grammar in theories/experimental/compile from Phobos to new
      style, this was fairly painless.
      

Changes  Path
+1 -3 metaprl/filter/OMakefile
+2 -2 metaprl/filter/filter/filter_parse.ml
+4 -21 metaprl/filter/filter/term_grammar.ml
Properties metaprl/refiner/term_ds
+2 -2 metaprl/theories/experimental/compile/OMakefile
+0 -1 metaprl/theories/experimental/compile/m_arith.mli
+215 -0 metaprl/theories/experimental/compile/m_ast.mli
+1 -0 metaprl/theories/experimental/compile/m_ir.ml
+0 -1 metaprl/theories/experimental/compile/m_ra_state.ml
+0 -1 metaprl/theories/experimental/compile/m_ra_state.mli
+0 -1 metaprl/theories/experimental/compile/m_ra_type.mlz
+14 -16 metaprl/theories/experimental/compile/m_test.ml
+0 -1 metaprl/theories/experimental/compile/m_x86_asm.mli
+1 -0 metaprl/theories/experimental/compile/m_x86_opt.ml
Deleted metaprl/theories/experimental/compile/syntax.pho
+0 -17 metaprl/util/ocamldep.mll

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-22 08:01:51 -0800 (Tue, 22 Mar 2005)
Revision: 6997
Log message:

      Partially resurrected the "M" compiler. The ext_fib_prog2 (Fibonachi example
      written in "m" syntax) compiles, runs, and produces a correct answer.
      

Changes  Path
+4 -0 metaprl/filter/base/filter_cache_fun.ml
+1 -3 metaprl/theories/experimental/compile/m_ir.ml
+1 -3 metaprl/theories/experimental/compile/m_ir.mli
+6 -6 metaprl/theories/experimental/compile/m_ra_main.ml
+4 -1 metaprl/theories/experimental/compile/runtime/x86_runtime.c

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-22 13:12:11 -0800 (Tue, 22 Mar 2005)
Revision: 7001
Log message:

      *Important*: when using xbinder{!v} hack, you do have to faithfully consider
      "v" to be a binding.  In particular, this means that _all_ SO variables may
      need to take the !v as an argument - even when you are not intending to
      substitute anything for it!
      
      Note: the "no-op" substitutions would notmally be dropped, so ther do not cost
      much. On the other hand, an occurs check could be a bit expensive (aspecially
      for a long context), so from the preformance POV it does not hurt to include
      [!v] even in contexts that would not normally contain it.
      

Changes  Path
+16 -3 metaprl/refiner/rewrite/rewrite_build_contractum.ml
+22 -22 mpcompiler/mmc/core/mmc_core_sweep.ml
+1 -1 mpcompiler/mmc/test/OMakefile
+22 -5 mpcompiler/mmc/test/mmc_tests_out.previous

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-22 14:48:56 -0800 (Tue, 22 Mar 2005)
Revision: 7002
Log message:

      Parse the Filter_grammar quotations correctly on the command line (the code
      that we used to have would bypass iforms and term_of_parsed_term).
      

Changes  Path
+6 -15 metaprl/support/shell/shell_state.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-22 15:21:08 -0800 (Tue, 22 Mar 2005)
Revision: 7003
Log message:

      Fixed lookahead propagation, and added empty productions.
      The grammars in mmc now parse.  The maximum compile time has increased
      from 0.3 sec to 0.45, but I have a few minor optimizations left.
      

Changes  Path
+42 -40 metaprl/filter/base/filter_exn.ml
+1 -1 metaprl-branches/fast_parser/filter/base/filter_magic.ml
+2 -0 mpcompiler/mmc/test/OMakefile
Added mpcompiler/mmc/test/grammar_test1.mly
Properties mpcompiler/mmc/test/grammar_test1.mly
Added mpcompiler/mmc/test/grammar_test2.mly
Properties mpcompiler/mmc/test/grammar_test2.mly
Added mpcompiler/mmc/test/mmc_grammar_test1.ml
Properties mpcompiler/mmc/test/mmc_grammar_test1.ml
Added mpcompiler/mmc/test/mmc_grammar_test1.mli
Properties mpcompiler/mmc/test/mmc_grammar_test1.mli
Added mpcompiler/mmc/test/mmc_grammar_test2.ml
Properties mpcompiler/mmc/test/mmc_grammar_test2.ml
Added mpcompiler/mmc/test/mmc_grammar_test2.mli
Properties mpcompiler/mmc/test/mmc_grammar_test2.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-22 19:56:51 -0800 (Tue, 22 Mar 2005)
Revision: 7009
Log message:

      Almost done, we had a power outage here.
      Some more optimizations on the propagation network.
      

Changes  Path
+1 -1 metaprl-branches/fast_parser/filter/base/filter_magic.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-23 09:35:46 -0800 (Wed, 23 Mar 2005)
Revision: 7011
Log message:

      Additional MAGIC annotations for the stuff that is marshaled.
      Preparing to merge.
      

Changes  Path
+1 -1 metaprl-branches/fast_parser/filter/base/filter_magic.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-23 09:46:13 -0800 (Wed, 23 Mar 2005)
Revision: 7013
Log message:

      Merged the fast_parser branch.
      

Changes  Path
+1 -1 metaprl/filter/base/filter_grammar.ml
+1 -1 metaprl/filter/base/filter_magic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-23 15:42:28 -0800 (Wed, 23 Mar 2005)
Revision: 7020
Log message:

      Allow arbitrary non-comma terms as token _subtypes_ in term declarations.
      
      For example, the following is now legal syntax:
      
      declare sequent [Sweep[code:SweepState, kind:SweepKind{'a}]{'op : SweepOperator}] { Ignore : Prop >- 'a } : 'a
      
      where previously it would drop the "{'a}" part and insist on "kind" having
      non-existing type SweepKind{} instead of SweepKind{'a}.
      

Changes  Path
+10 -12 metaprl/filter/filter/term_grammar.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-23 15:46:51 -0800 (Wed, 23 Mar 2005)
Revision: 7021
Log message:

      More proofs.
      

Changes  Path
+11 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml
+985 -184 metaprl/theories/itt/itt_reflection_example_lambda.prla
+8 -1 metaprl/theories/itt/itt_reflection_lambda_reduction.ml
+923 -977 metaprl/theories/itt/itt_synt_lang.prla
+4 -1 metaprl/theories/itt/itt_synt_subst.ml
+1336 -1240 metaprl/theories/itt/itt_synt_subst.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-23 22:00:17 -0800 (Wed, 23 Mar 2005)
Revision: 7024
Log message:

      When debug_grammar is set, apply_iforms would print the term before and after
      iform applications.
      

Changes  Path
+7 -4 metaprl/filter/filter/term_grammar.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-24 04:40:17 -0800 (Thu, 24 Mar 2005)
Revision: 7026
Log message:

      Minor API change: give access to the hyp index in the SeqHyp.fold function.
      

Changes  Path
+2 -1 metaprl/refiner/refiner/refiner_debug.ml
+1 -1 metaprl/refiner/reflib/term_hash_code.ml
+1 -1 metaprl/refiner/term_ds/term_man_ds.ml
+1 -1 metaprl/refiner/term_gen/term_man_gen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-03-24 08:47:36 -0800 (Thu, 24 Mar 2005)
Revision: 7033
Log message:

      Fixing a nasty bug in Term_ds - substitution for "v" in
            sequent{...; v: t[v]; ... >- ...}
      left t[v] unchnaged!
      
      This fixes the misterious closeT bug...
      

Changes  Path
+1 -1 metaprl/refiner/term_ds/term_base_ds.ml
+6 -13 mpcompiler/mmc/core/mmc_core_sweep.ml
+116 -18 mpcompiler/mmc/test/mmc_tests_out.previous

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-24 09:20:10 -0800 (Thu, 24 Mar 2005)
Revision: 7035
Log message:

      Implemented sweep and code generation for the Booleans.
      mmc_int_test/test_fact1 compiles and runs, but it
      produces the square of the factorial.  Interesting.
      
      I actually started this commit last night, but it aborted
      after I went to sleep, because of the white-space issue,
      and then I think Aleksey committed similar work:(
      

Changes  Path
+4 -3 metaprl/filter/base/filter_grammar.ml
+1 -0 mpcompiler/mmc/arch/x86/base/Files
+11 -11 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+66 -53 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
Added mpcompiler/mmc/arch/x86/base/mmc_x86_cc.ml
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_cc.ml
Added mpcompiler/mmc/arch/x86/base/mmc_x86_cc.mli
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_cc.mli
+3 -3 mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
+6 -6 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
+24 -12 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.ml
+3 -3 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_rename.ml
+12 -11 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml
+28 -0 mpcompiler/mmc/arch/x86/runtime/x86_glue.s
+19 -17 mpcompiler/mmc/arch/x86/runtime/x86_runtime.c
+2 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_mterm.mli
+37 -15 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
+32 -6 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+8 -2 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
+9 -0 mpcompiler/mmc/core/mmc_core_typeof.ml
+1 -0 mpcompiler/mmc/extensions/bool/Files
+20 -15 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+5 -5 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
Added mpcompiler/mmc/extensions/bool/mmc_x86_bool.ml
Properties mpcompiler/mmc/extensions/bool/mmc_x86_bool.ml
Added mpcompiler/mmc/extensions/bool/mmc_x86_bool.mli
Properties mpcompiler/mmc/extensions/bool/mmc_x86_bool.mli
+9 -9 mpcompiler/mmc/extensions/int/mmc_x86_int.ml
+5 -5 mpcompiler/mmc/test/mmc_int_test.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-24 11:38:58 -0800 (Thu, 24 Mar 2005)
Revision: 7038
Log message:

      Mmc_ext_integer duplicated the sweep rules in Mmc_ext_arithmetic.
      

Changes  Path
+19 -2 metaprl/filter/filter/filter_parse.ml
+7 -1 metaprl/refiner/rewrite/rewrite_match_redex.ml
+61 -53 mpcompiler/mmc/core/mmc_core_cps.ml
+1 -1 mpcompiler/mmc/core/mmc_core_cps.mli
+38 -25 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+20 -37 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+51 -39 mpcompiler/mmc/extensions/operator/mmc_ext_operator.ml

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-24 20:43:40 -0800 (Thu, 24 Mar 2005)
Revision: 7044
Log message:

      Now it compiles (it was broken for some type)
      

Changes  Path
+162 -80 metaprl/theories/cic/cic_ind_cases.ml
+353 -329 metaprl/theories/cic/cic_ind_type.ml
+115 -110 metaprl/theories/cic/cic_ind_type.mli
+8 -9 metaprl/theories/cic/cic_lambda.ml
+3 -7 metaprl/theories/cic/cic_lambda.mli
+76 -24 metaprl/theories/cic/cic_list.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-25 13:08:48 -0800 (Fri, 25 Mar 2005)
Revision: 7046
Log message:

      Normal spilling is pretty much working, although I have to figure out
      a type error after register allocation.  I need to head in for Cristian's
      journal club.
      
      This does not include spilling of parameters, just intra-procedural
      spilling.
      

Changes  Path
+17 -6 metaprl/refiner/term_ds/term_subst_ds.ml
+5 -9 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+43 -17 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+0 -10 mpcompiler/mmc/arch/x86/base/mmc_x86_util.ml
+0 -2 mpcompiler/mmc/arch/x86/base/mmc_x86_util.mli
+23 -10 mpcompiler/mmc/arch/x86/print/mmc_x86_print.ml
+4 -0 mpcompiler/mmc/arch/x86/print/mmc_x86_print.mli
+83 -65 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
+32 -32 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.ml
+1 -1 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.mli
+30 -41 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_rename.ml
+103 -89 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml
+46 -11 mpcompiler/mmc/arch/x86/type/mmc_x86_sweep.ml
+16 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.ml
+5 -0 mpcompiler/mmc/arch/x86/type/mmc_x86_type_check_core.mli
+11 -15 mpcompiler/mmc/arch/x86/type/mmc_x86_typeof.ml
+25 -12 mpcompiler/mmc/base/mmc_base_standardize.ml
+14 -3 mpcompiler/mmc/core/mmc_core_sweep.ml
+12 -0 mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
+6 -2 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-26 14:00:31 -0800 (Sat, 26 Mar 2005)
Revision: 7051
Log message:

      Indeed, Lm_symbol.to_string is the right solution to the
      standardize problem.
      

Changes  Path
+1 -18 metaprl/refiner/term_ds/term_subst_ds.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-26 15:49:54 -0800 (Sat, 26 Mar 2005)
Revision: 7052
Log message:

      
      
      In Filter_patt, interpret the variable "_" as representing
      a wildcard pattern.
      
      Starting work on spill assignment.
      

Changes  Path
+29 -16 metaprl/filter/filter/filter_patt.ml
+2 -1 mpcompiler/mmc/arch/ra/Files
Added mpcompiler/mmc/arch/ra/mmc_ra_spill.ml
Properties mpcompiler/mmc/arch/ra/mmc_ra_spill.ml
Added mpcompiler/mmc/arch/ra/mmc_ra_spill.mli
Properties mpcompiler/mmc/arch/ra/mmc_ra_spill.mli
+5 -1 mpcompiler/mmc/arch/ra/mmc_ra_state.ml
+5 -1 mpcompiler/mmc/arch/ra/mmc_ra_state.mli
+15 -0 mpcompiler/mmc/arch/ra/mmc_ra_type.mlz
+33 -14 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-03-26 17:09:28 -0800 (Sat, 26 Mar 2005)
Revision: 7053
Log message:

      Oops, the _ variable gets turned into an empty variable.  I'm not sure
      if we should fix Lm_symbol, but in any case, I've updated Filter_patt
      to consider "" to denote a wildcard pattern.
      
      Also, when we use simple wildcards, the syntax become unreadable
      (at least to me).  OCaml plans to treat variables that begin with an
      underscore as real variables, but with special meaning wrt dead code.
      In fact, it may already do this.
      
      To handle these issues, Filter_patt now considers the following veriables
      to denote wildcards:
         1. the empty string,
         2. a single underscore,
         3. a double underscore followed by anything.
      

Changes  Path
+10 -6 metaprl/filter/filter/filter_patt.ml
+64 -6 mpcompiler/mmc/arch/x86/regalloc/mmc_x86_backend.ml
+9 -0 mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.mli

Changes by: Nataly Novak (nnovak at gc.cuny.edu)
Date: 2005-03-27 20:14:28 -0800 (Sun, 27 Mar 2005)
Revision: 7059
Log message:

      Case analysis typing rule and reductions are ready.
      We don't have generic versions of them, instead instances are generated
      for each inductive type.
      For now, we don't write them anywhere - they are just printed (as terms).
      

Changes  Path
+218 -36 metaprl/theories/cic/cic_ind_cases.ml
+4 -2 metaprl/theories/cic/cic_ind_cases.mli
+4 -3 metaprl/theories/cic/cic_list.ml

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-27 20:25:22 -0800 (Sun, 27 Mar 2005)
Revision: 7060
Log message:

      Doing fixpoint rules via instances seems impossible;
      Generic fixpoint typing rule is way to complex (and reportedly
      the main source of bugs in Coq).
      So we stopped doing case+fixpoint instead we started to implement
      ITT-style induction operations (like list_ind) - in CIC they
      are called elimination rules.
      Coq community do not like them because they are not as natural to use
      as case+fixpoint but they are present in Coq.
      

Changes  Path
Properties metaprl/theories/cic
+2 -1 metaprl/theories/cic/OMakefile
Added metaprl/theories/cic/cic_ind_elim.ml
Properties metaprl/theories/cic/cic_ind_elim.ml
Added metaprl/theories/cic/cic_ind_elim.mli
Properties metaprl/theories/cic/cic_ind_elim.mli
+0 -2 metaprl/theories/cic/cic_list.ml

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-27 20:46:23 -0800 (Sun, 27 Mar 2005)
Revision: 7061
Log message:

      Forgot "extends Cic_ind_elim"
      

Changes  Path
+1 -0 metaprl/theories/cic/cic_list.ml

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-27 20:55:26 -0800 (Sun, 27 Mar 2005)
Revision: 7062
Log message:

      Preliminary research on making omegaT complete for universal fragment
      

Changes  Path
+77 -11 metaprl/theories/itt/itt_omega.ml
+3 -1 metaprl/theories/itt/itt_omega.mli

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-29 12:27:33 -0800 (Tue, 29 Mar 2005)
Revision: 7067
Log message:

      Sorry for slipping debug messages into my previous commit.
      

Changes  Path
+3 -3 metaprl/theories/itt/itt_omega.ml

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-30 17:28:43 -0800 (Wed, 30 Mar 2005)
Revision: 7069
Log message:

      Added some rules.
      

Changes  Path
+11 -0 metaprl/theories/itt/itt_reflection_example_lambda.ml
+14 -8 metaprl/theories/itt/itt_reflection_lambda_reduction.ml
+4 -4 metaprl/theories/itt/itt_reflection_new.ml
Added metaprl/theories/itt/itt_reflection_new.prla
Properties metaprl/theories/itt/itt_reflection_new.prla
+1 -0 metaprl/theories/itt/itt_rfun.ml
+5039 -5023 metaprl/theories/itt/itt_rfun.prla
+29 -0 metaprl/theories/itt/itt_synt_lang.ml
+880 -75 metaprl/theories/itt/itt_synt_lang.prla
+1 -1 metaprl/theories/itt/itt_synt_operator.ml
+999 -993 metaprl/theories/itt/itt_synt_operator.prla

Changes by: Xin Yu (xiny at cs.caltech.edu)
Date: 2005-03-30 23:20:27 -0800 (Wed, 30 Mar 2005)
Revision: 7072
Log message:

      Updated proofs.
      

Changes  Path
+698 -1524 metaprl/theories/itt/itt_reflection_example_lambda.prla
+955 -200 metaprl/theories/itt/itt_synt_lang.prla
+3 -0 metaprl/theories/itt/itt_synt_operator.ml
+328 -298 metaprl/theories/itt/itt_synt_operator.prla

Changes by: Nataly Novak (nnovak at gc.cuny.edu)
Date: 2005-03-31 19:13:21 -0800 (Thu, 31 Mar 2005)
Revision: 7075
Log message:

      replaced $0 with '$0' to treat folders with spaces correctly.
      Works under cygwin, I hope it also works under Linux
      

Changes  Path
+1 -1 metaprl/editor/ml/mpopt
+1 -1 metaprl/editor/ml/mptop

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-03-31 19:26:46 -0800 (Thu, 31 Mar 2005)
Revision: 7076
Log message:

      Exposed exists_elim in the interface
      

Changes  Path
+3 -0 metaprl/theories/itt/itt_logic.mli

Changes by: Nataly Novak (nnovak at gc.cuny.edu)
Date: 2005-03-31 20:59:24 -0800 (Thu, 31 Mar 2005)
Revision: 7077
Log message:

      Typing rule for dependent elimination for mutually inductive definitions.
      It compiles but it is not sound yet.
      

Changes  Path
+2 -1 metaprl/theories/cic/OMakefile
+58 -20 metaprl/theories/cic/cic_ind_elim.ml
+7 -6 metaprl/theories/cic/cic_ind_elim.mli
Added metaprl/theories/cic/cic_ind_elim_dep.ml
Properties metaprl/theories/cic/cic_ind_elim_dep.ml
Added metaprl/theories/cic/cic_ind_elim_dep.mli
Properties metaprl/theories/cic/cic_ind_elim_dep.mli