Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-01 13:59:06 -0800 (Tue, 01 Feb 2005)
Revision: 6559
Log message:

      Removing extensions/fix.
      

Changes  Path
Added mpcompiler-branches/opname_classes3/mmc/extensions/fix/README
Properties mpcompiler-branches/opname_classes3/mmc/extensions/fix/README

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-02 03:06:01 -0800 (Wed, 02 Feb 2005)
Revision: 6565
Log message:

      Whew, mmc now compiles with full type information.
      
      Here are some tradeoffs.
      
         1. Type information is *very* useful.  I caught many errors
            in mmc with it.
         2. It also requires you be more verbose.  For example, you
            might need separate terms:
      
               Foo{'e : Exp}
               FooList{'el : List{Exp}}
      
            you probably got away with just Foo{'a} before.
         3. It is also unsound.  This is mainly because there is no relation
            between rules, so one rule can't tell any type constraints of
            another rule.
      

Changes  Path
+10 -15 metaprl-branches/opname_classes3/filter/base/filter_cache_fun.ml
+1 -1 metaprl-branches/opname_classes3/filter/base/filter_magic.ml
+1 -0 metaprl-branches/opname_classes3/filter/base/filter_type.ml
+10 -8 metaprl-branches/opname_classes3/filter/filter/filter_parse.ml
+16 -9 metaprl-branches/opname_classes3/filter/filter/filter_patt.ml
+25 -11 metaprl-branches/opname_classes3/filter/filter/term_grammar.ml
+3 -3 metaprl-branches/opname_classes3/refiner/refiner/refiner_debug.ml
+1 -1 metaprl-branches/opname_classes3/refiner/refsig/term_sig.ml
+1 -1 metaprl-branches/opname_classes3/refiner/term_ds/term_ds.ml
+1 -1 metaprl-branches/opname_classes3/refiner/term_ds/term_ds_sig.ml
+9 -6 metaprl-branches/opname_classes3/refiner/term_ds/term_man_ds.ml
+1 -1 metaprl-branches/opname_classes3/refiner/term_gen/term_man_gen.ml
+1 -1 metaprl-branches/opname_classes3/refiner/term_std/term_std.ml
+1 -1 metaprl-branches/opname_classes3/refiner/term_std/term_std_sig.ml
+11 -131 metaprl-branches/opname_classes3/support/display/perv.ml
+107 -17 metaprl-branches/opname_classes3/support/display/perv.mli
+0 -1 mpcompiler-branches/opname_classes3/mmc/OMakefile
+9 -111 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_asm.ml
+33 -16 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_asm.mli
+95 -90 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_backend.ml
+8 -8 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_closure.ml
+43 -61 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_codegen.ml
+18 -7 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_codegen.mli
+56 -56 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_convention.ml
+22 -27 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_frame.ml
+15 -15 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_frame.mli
+1 -1 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_hoist.ml
+3 -3 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_opt1.ml
+18 -28 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_prologue.ml
+16 -9 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_prologue.mli
+12 -13 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_slop.ml
+59 -57 mpcompiler-branches/opname_classes3/mmc/arch/x86/mmc_x86_spill.ml
+6 -1 mpcompiler-branches/opname_classes3/mmc/base/mmc_base_judgment.mli
+0 -7 mpcompiler-branches/opname_classes3/mmc/base/mmc_base_meta.ml
+5 -3 mpcompiler-branches/opname_classes3/mmc/base/mmc_base_meta.mli
+75 -61 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_closure.ml
+0 -4 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_closure.mli
+138 -93 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_cps.ml
+5 -1 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_cps.mli
+11 -18 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_front.ml
+1 -0 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_front.mli
+1 -1 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_hoist.ml
+16 -22 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_inline.ml
+2 -3 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_inline.mli
+4 -4 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_optimize.ml
+18 -27 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_reserve.ml
+3 -6 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_reserve.mli
+0 -121 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_sweep_ty.ml
+3 -0 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_sweep_ty.mli
+1 -0 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_tast.mli
+2 -10 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_type_erase.ml
+10 -3 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_type_erase.mli
+128 -0 mpcompiler-branches/opname_classes3/mmc/core/mmc_core_type_infer.ml
+13 -20 mpcompiler-branches/opname_classes3/mmc/extensions/array/mmc_ext_array.ml
+7 -5 mpcompiler-branches/opname_classes3/mmc/extensions/array/mmc_ext_array.mli
+29 -24 mpcompiler-branches/opname_classes3/mmc/extensions/array/mmc_ext_array_x86.ml
+27 -45 mpcompiler-branches/opname_classes3/mmc/extensions/bool/mmc_ext_bool.ml
+2 -2 mpcompiler-branches/opname_classes3/mmc/extensions/bool/mmc_ext_boolean_x86.ml
+20 -42 mpcompiler-branches/opname_classes3/mmc/extensions/int/mmc_ext_int.ml
+43 -43 mpcompiler-branches/opname_classes3/mmc/extensions/int/mmc_ext_integer_x86.ml
+7 -10 mpcompiler-branches/opname_classes3/mmc/extensions/loop/mmc_ext_loop.ml
+3 -1 mpcompiler-branches/opname_classes3/mmc/extensions/loop/mmc_ext_loop.mli
+42 -55 mpcompiler-branches/opname_classes3/mmc/extensions/operator/mmc_ext_operator.ml
+6 -2 mpcompiler-branches/opname_classes3/mmc/extensions/operator/mmc_ext_operator.mli
+8 -8 mpcompiler-branches/opname_classes3/mmc/extensions/reserve/mmc_ext_reserve.ml
+1 -1 mpcompiler-branches/opname_classes3/mmc/extensions/reserve/mmc_ext_reserve.mli
+8 -8 mpcompiler-branches/opname_classes3/mmc/extensions/reserve/mmc_ext_reserve_x86.ml
+2 -2 mpcompiler-branches/opname_classes3/mmc/extensions/special/mmc_ext_special_x86.ml
+12 -20 mpcompiler-branches/opname_classes3/mmc/extensions/tuple/mmc_ext_tuple.ml
+7 -5 mpcompiler-branches/opname_classes3/mmc/extensions/tuple/mmc_ext_tuple.mli
+9 -4 mpcompiler-branches/opname_classes3/mmc/extensions/tuple/mmc_ext_tuple_x86.ml
+3 -7 mpcompiler-branches/opname_classes3/mmc/extensions/unit/mmc_ext_unit.ml
+5 -2 mpcompiler-branches/opname_classes3/mmc/extensions/unit/mmc_ext_unit.mli
+0 -1 mpcompiler-branches/opname_classes3/mmc/main/mmc_theory.ml
+0 -1 mpcompiler-branches/opname_classes3/mmc/main/mmc_theory.mli
+37 -37 mpcompiler-branches/opname_classes3/mmc/opt/direct/core/mmc_opt_direct.ml
+23 -23 mpcompiler-branches/opname_classes3/mmc/test/mmc_array_test.ml
+8 -3 mpcompiler-branches/opname_classes3/mmc/test/mmc_spill_test.ml

Changes by: ( at unknown.email)
Date: 2005-02-03 12:25:54 -0800 (Thu, 03 Feb 2005)
Revision: 6584
Log message:

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

Changes  Path
Copied metaprl-branches/opname_classes4
Copied mpcompiler-branches/opname_classes4
Copied texinputs-branches/opname_classes4
Deleted texinputs-branches/opname_classes4/1cm.sty
Deleted texinputs-branches/opname_classes4/1cml.sty
Deleted texinputs-branches/opname_classes4/Makefile
Deleted texinputs-branches/opname_classes4/Makefile-common
Deleted texinputs-branches/opname_classes4/PPR-macros.tex
Deleted texinputs-branches/opname_classes4/PPRmyppr.sty
Deleted texinputs-branches/opname_classes4/bcp.bib
Deleted texinputs-branches/opname_classes4/citlogo.eps
Deleted texinputs-branches/opname_classes4/citlogo2.eps
Deleted texinputs-branches/opname_classes4/config.ppr
Deleted texinputs-branches/opname_classes4/cornell-logo.eps
Deleted texinputs-branches/opname_classes4/dag50.eps
Deleted texinputs-branches/opname_classes4/der.tex
Deleted texinputs-branches/opname_classes4/gate.eps
Deleted texinputs-branches/opname_classes4/gate.pdf
Binary texinputs-branches/opname_classes4/gccuny-logo.eps
Binary texinputs-branches/opname_classes4/gccuny-logo.gif
Binary texinputs-branches/opname_classes4/gccuny-logo.pdf
Deleted texinputs-branches/opname_classes4/include.tex
Deleted texinputs-branches/opname_classes4/omscmsy.fd
Deleted texinputs-branches/opname_classes4/ot1cmr.fd
Deleted texinputs-branches/opname_classes4/ot1cmss.fd
Deleted texinputs-branches/opname_classes4/ot1lcmss.fd
Deleted texinputs-branches/opname_classes4/ot1lcmtt.fd
Deleted texinputs-branches/opname_classes4/pprpdf
Deleted texinputs-branches/opname_classes4/proof.sty
Deleted texinputs-branches/opname_classes4/slides-nogin.cls
Deleted texinputs-branches/opname_classes4/splncs.bst
Deleted texinputs-branches/opname_classes4/umsa.fd
Deleted texinputs-branches/opname_classes4/umsb.fd

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-03 12:26:59 -0800 (Thu, 03 Feb 2005)
Revision: 6585
Log message:

      Ouch, we had:
      
      dform display_hyp_sep_df : display_hyp_sep{'tag} =
         display_hyp_sep{'tag}
      

Changes  Path
+0 -9 mpcompiler-branches/opname_classes3/mmc/base/mmc_base_dform.ml
+0 -0 mpcompiler-branches/opname_classes3/mmc/test/mmc_core_test.ml
+12 -12 mpcompiler-branches/opname_classes3/util/mm_dform_util.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-02-03 18:14:03 -0800 (Thu, 03 Feb 2005)
Revision: 6587
Log message:

      Yet another instance of the opname_classes branch, merged once again with the
      trunk changes and re-branched.
      
      Known issues:
       - The .mli opname declarations are added to the .cmoz in the reverse order.
         This, among other things causes Failure ("unknown typeclass:
         Mmc_base_judgment!Prop") exception on cd'ing into the /mmc_base_judgment
         module.
       - The .mli opname declarations are added to the .cmoz even when .cmoz has its
         own copy. That results in the "ls" output (and other things, such as .cmoz
         and .prla files) being unnecessarily cluttered.
       - If the same shape is declared several times (possibly with incompatible
         types), does anybody notice?
      
      Potential TODOs and RFEs:
       - Proper type checking for display forms.
       - Could we may be come up with a way to propagate certain declarations from
         .ml into .cmiz (instead of the other way around)? Some declarations needs
         to stay in the .ml in order to get properly documented.
       - "declare sequent" shortcuts:
          - when the type is { Term : Term >- Term } : Term, allow omitting it
          - when the type is { Term : Term >- Term } : Foo, allow typing just ": Foo"
       - Perv!nil/Perv!cons should have the Dform type.
          - When the sequent conclusion is omitted, a we should use something other
            than Perv!nil for the conclusion. This new "default conclusion" term
            should be a member of a singleton type (in the Term typeclass), and MMC
            should be using that in the type of Mmc_core_ast!ty_args
          - Base_reflection should use its own cons and nil for bterm lists.
       - The new stuff (both the new syntax and the typechecking algorithm) need to
         be documented.
      

Changes  Path
+54 -52 metaprl-branches/opname_classes4/editor/ml/nuprl_eval.ml
+3 -1 metaprl-branches/opname_classes4/editor/ml/nuprl_jprover.ml
+703 -155 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.ml
+1 -0 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.mli
+55 -19 metaprl-branches/opname_classes4/filter/base/filter_exn.ml
+3 -2 metaprl-branches/opname_classes4/filter/base/filter_exn.mli
+41 -0 metaprl-branches/opname_classes4/filter/base/filter_grammar.ml
+7 -0 metaprl-branches/opname_classes4/filter/base/filter_grammar.mli
+6 -4 metaprl-branches/opname_classes4/filter/base/filter_magic.ml
+464 -49 metaprl-branches/opname_classes4/filter/base/filter_summary.ml
+13 -3 metaprl-branches/opname_classes4/filter/base/filter_summary_type.ml
+98 -22 metaprl-branches/opname_classes4/filter/base/filter_type.ml
+7 -11 metaprl-branches/opname_classes4/filter/base/filter_util.ml
+0 -2 metaprl-branches/opname_classes4/filter/base/filter_util.mli
+769 -421 metaprl-branches/opname_classes4/filter/filter/filter_parse.ml
+23 -15 metaprl-branches/opname_classes4/filter/filter/filter_patt.ml
+39 -9 metaprl-branches/opname_classes4/filter/filter/filter_prog.ml
+559 -150 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+5 -3 metaprl-branches/opname_classes4/filter/filter/term_grammar.mli
+1 -0 metaprl-branches/opname_classes4/filter/phobos/phobos_constants.ml
+1 -1 metaprl-branches/opname_classes4/filter/phobos/phobos_parser.mly
+29 -26 metaprl-branches/opname_classes4/library/basic.ml
+52 -49 metaprl-branches/opname_classes4/library/db.ml
+17 -15 metaprl-branches/opname_classes4/library/definition.ml
+9 -7 metaprl-branches/opname_classes4/library/library.ml
+5 -3 metaprl-branches/opname_classes4/library/link.ml
+6 -4 metaprl-branches/opname_classes4/library/mbterm.ml
+58 -36 metaprl-branches/opname_classes4/library/nuprl5.ml
+40 -38 metaprl-branches/opname_classes4/library/orb.ml
+32 -12 metaprl-branches/opname_classes4/refiner/refbase/opname.ml
+13 -4 metaprl-branches/opname_classes4/refiner/refbase/opname.mli
+2 -2 metaprl-branches/opname_classes4/refiner/refiner/refine.ml
+2 -2 metaprl-branches/opname_classes4/refiner/refiner/refine.mli
+24 -11 metaprl-branches/opname_classes4/refiner/refiner/refine_error.ml
+4 -4 metaprl-branches/opname_classes4/refiner/refiner/refine_error.mli
+200 -64 metaprl-branches/opname_classes4/refiner/refiner/refiner_debug.ml
+9 -1 metaprl-branches/opname_classes4/refiner/refiner/refiner_ds.ml
+9 -2 metaprl-branches/opname_classes4/refiner/refiner/refiner_std.ml
+1 -0 metaprl-branches/opname_classes4/refiner/reflib/Files
+33 -24 metaprl-branches/opname_classes4/refiner/reflib/ascii_io.ml
+12 -4 metaprl-branches/opname_classes4/refiner/reflib/dform.ml
+1 -0 metaprl-branches/opname_classes4/refiner/reflib/jall.ml
+1 -0 metaprl-branches/opname_classes4/refiner/reflib/lib_term.ml
+200 -126 metaprl-branches/opname_classes4/refiner/reflib/refine_exn.ml
+121 -107 metaprl-branches/opname_classes4/refiner/reflib/simple_print.ml
+10 -10 metaprl-branches/opname_classes4/refiner/reflib/term_compare.ml
+103 -69 metaprl-branches/opname_classes4/refiner/reflib/term_match_table.ml
+5 -1 metaprl-branches/opname_classes4/refiner/reflib/term_match_table.mli
+124 -124 metaprl-branches/opname_classes4/refiner/reflib/term_order.ml
Added metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
Properties metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
Added metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
Properties metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
+1 -0 metaprl-branches/opname_classes4/refiner/reflib/unify_mm.ml
+1 -0 metaprl-branches/opname_classes4/refiner/refsig/Files
+27 -8 metaprl-branches/opname_classes4/refiner/refsig/refine_error_sig.ml
+8 -2 metaprl-branches/opname_classes4/refiner/refsig/refiner_sig.ml
+4 -2 metaprl-branches/opname_classes4/refiner/refsig/rewrite_sig.ml
Added metaprl-branches/opname_classes4/refiner/refsig/term_eval_sig.ml
Properties metaprl-branches/opname_classes4/refiner/refsig/term_eval_sig.ml
+10 -0 metaprl-branches/opname_classes4/refiner/refsig/term_man_sig.ml
+5 -0 metaprl-branches/opname_classes4/refiner/refsig/term_meta_sig.ml
+8 -4 metaprl-branches/opname_classes4/refiner/refsig/term_op_sig.ml
+3 -0 metaprl-branches/opname_classes4/refiner/refsig/term_shape_sig.ml
+37 -14 metaprl-branches/opname_classes4/refiner/refsig/term_sig.ml
Added metaprl-branches/opname_classes4/refiner/refsig/term_ty_sig.ml
Properties metaprl-branches/opname_classes4/refiner/refsig/term_ty_sig.ml
+26 -14 metaprl-branches/opname_classes4/refiner/rewrite/rewrite.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite.mli
+2 -2 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_build_contractum.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_build_contractum.mli
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_compile_contractum.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_compile_contractum.mli
+14 -14 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_compile_redex.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_compile_redex.mli
+5 -3 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_debug.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_debug.mli
+5 -4 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_match_redex.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_match_redex.mli
+6 -4 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_meta.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_meta.mli
+2 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_types.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_util.ml
+1 -1 metaprl-branches/opname_classes4/refiner/rewrite/rewrite_util.mli
+3 -3 metaprl-branches/opname_classes4/refiner/term_ds/term_addr_ds.ml
+2 -2 metaprl-branches/opname_classes4/refiner/term_ds/term_addr_ds.mli
+4 -4 metaprl-branches/opname_classes4/refiner/term_ds/term_base_ds.ml
+4 -4 metaprl-branches/opname_classes4/refiner/term_ds/term_base_ds.mli
+7 -7 metaprl-branches/opname_classes4/refiner/term_ds/term_ds.ml
+7 -7 metaprl-branches/opname_classes4/refiner/term_ds/term_ds_sig.ml
Added metaprl-branches/opname_classes4/refiner/term_ds/term_eval_ds.ml
Properties metaprl-branches/opname_classes4/refiner/term_ds/term_eval_ds.ml
Added metaprl-branches/opname_classes4/refiner/term_ds/term_eval_ds.mli
Properties metaprl-branches/opname_classes4/refiner/term_ds/term_eval_ds.mli
+114 -10 metaprl-branches/opname_classes4/refiner/term_ds/term_man_ds.ml
+2 -2 metaprl-branches/opname_classes4/refiner/term_ds/term_man_ds.mli
+28 -4 metaprl-branches/opname_classes4/refiner/term_ds/term_op_ds.ml
+6 -5 metaprl-branches/opname_classes4/refiner/term_ds/term_op_ds.mli
+8 -6 metaprl-branches/opname_classes4/refiner/term_ds/term_subst_ds.ml
+6 -5 metaprl-branches/opname_classes4/refiner/term_ds/term_subst_ds.mli
+1 -0 metaprl-branches/opname_classes4/refiner/term_gen/Files
+3 -3 metaprl-branches/opname_classes4/refiner/term_gen/term_addr_gen.ml
+2 -2 metaprl-branches/opname_classes4/refiner/term_gen/term_addr_gen.mli
+6 -6 metaprl-branches/opname_classes4/refiner/term_gen/term_hash.ml
+7 -7 metaprl-branches/opname_classes4/refiner/term_gen/term_header_constr.ml
+100 -5 metaprl-branches/opname_classes4/refiner/term_gen/term_man_gen.ml
+1 -1 metaprl-branches/opname_classes4/refiner/term_gen/term_man_gen.mli
+61 -3 metaprl-branches/opname_classes4/refiner/term_gen/term_meta_gen.ml
+1 -1 metaprl-branches/opname_classes4/refiner/term_gen/term_meta_gen.mli
+32 -5 metaprl-branches/opname_classes4/refiner/term_gen/term_shape_gen.ml
+7 -0 metaprl-branches/opname_classes4/refiner/term_gen/term_shape_gen.mli
Added metaprl-branches/opname_classes4/refiner/term_gen/term_ty_gen.ml
Properties metaprl-branches/opname_classes4/refiner/term_gen/term_ty_gen.ml
Added metaprl-branches/opname_classes4/refiner/term_gen/term_ty_gen.mli
Properties metaprl-branches/opname_classes4/refiner/term_gen/term_ty_gen.mli
+1 -1 metaprl-branches/opname_classes4/refiner/term_std/term_base_std.ml
+1 -1 metaprl-branches/opname_classes4/refiner/term_std/term_base_std.mli
Added metaprl-branches/opname_classes4/refiner/term_std/term_eval_std.ml
Properties metaprl-branches/opname_classes4/refiner/term_std/term_eval_std.ml
Added metaprl-branches/opname_classes4/refiner/term_std/term_eval_std.mli
Properties metaprl-branches/opname_classes4/refiner/term_std/term_eval_std.mli
+25 -1 metaprl-branches/opname_classes4/refiner/term_std/term_op_std.ml
+1 -1 metaprl-branches/opname_classes4/refiner/term_std/term_op_std.mli
+7 -7 metaprl-branches/opname_classes4/refiner/term_std/term_std.ml
+7 -7 metaprl-branches/opname_classes4/refiner/term_std/term_std_sig.ml
+5 -5 metaprl-branches/opname_classes4/refiner/term_std/term_subst_std.ml
+1 -1 metaprl-branches/opname_classes4/refiner/term_std/term_subst_std.mli
+217 -201 metaprl-branches/opname_classes4/support/display/comment.ml
+189 -187 metaprl-branches/opname_classes4/support/display/comment.mli
+114 -106 metaprl-branches/opname_classes4/support/display/perv.ml
+164 -44 metaprl-branches/opname_classes4/support/display/perv.mli
+117 -91 metaprl-branches/opname_classes4/support/display/summary.ml
+10 -64 metaprl-branches/opname_classes4/support/display/summary.mli
+37 -2 metaprl-branches/opname_classes4/support/shell/package_info.ml
+6 -1 metaprl-branches/opname_classes4/support/shell/package_info.mli
+0 -12 metaprl-branches/opname_classes4/support/shell/proof_edit.ml
+15 -3 metaprl-branches/opname_classes4/support/shell/shell_core.ml
+7 -12 metaprl-branches/opname_classes4/support/shell/shell_package.ml
+75 -15 metaprl-branches/opname_classes4/support/shell/shell_state.ml
+4 -1 metaprl-branches/opname_classes4/support/shell/shell_state.mli
+13 -15 metaprl-branches/opname_classes4/support/tactics/dtactic.ml
+8 -7 metaprl-branches/opname_classes4/support/tactics/top_conversionals.ml
+16 -12 metaprl-branches/opname_classes4/support/tactics/top_tacticals.ml
+0 -0 metaprl-branches/opname_classes4/support/tactics/top_tacticals.mli
+26 -25 metaprl-branches/opname_classes4/theories/base/base_meta.ml
+20 -20 metaprl-branches/opname_classes4/theories/base/base_meta.mli
+3 -3 metaprl-branches/opname_classes4/theories/base/base_reflection.ml
+2 -2 metaprl-branches/opname_classes4/theories/base/base_reflection.mli
+1 -1 metaprl-branches/opname_classes4/theories/base/base_rewrite.ml
+1 -1 metaprl-branches/opname_classes4/theories/base/base_rewrite.mli
+101 -106 metaprl-branches/opname_classes4/theories/cic/cic_ind_cases.ml
+291 -295 metaprl-branches/opname_classes4/theories/cic/cic_ind_type.ml
+85 -85 metaprl-branches/opname_classes4/theories/cic/cic_ind_type.mli
+6 -6 metaprl-branches/opname_classes4/theories/cic/cic_lambda.ml
+4 -4 metaprl-branches/opname_classes4/theories/cic/cic_lambda.mli
+18 -18 metaprl-branches/opname_classes4/theories/cic/cic_list.ml
+1 -0 metaprl-branches/opname_classes4/theories/czf/czf_itt_rel.ml
+3 -3 metaprl-branches/opname_classes4/theories/experimental/compile/m_ast.ml
+1 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_ast.mli
+4 -4 metaprl-branches/opname_classes4/theories/experimental/compile/m_cps.ml
+1 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_doc_ir.ml
+1 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_doc_ir.mli
+2 -2 metaprl-branches/opname_classes4/theories/experimental/compile/m_doc_proposal.ml
+1 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_doc_proposal.mli
+4 -4 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.ml
+2 -2 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.mli
+5 -5 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir_ast.ml
+1 -0 metaprl-branches/opname_classes4/theories/experimental/compile/m_standardize.ml
+10 -8 metaprl-branches/opname_classes4/theories/experimental/compile/m_test.ml
+12 -12 metaprl-branches/opname_classes4/theories/experimental/compile/m_x86_asm.ml
+4 -4 metaprl-branches/opname_classes4/theories/experimental/compile/m_x86_asm.mli
+12 -12 metaprl-branches/opname_classes4/theories/experimental/compile/m_x86_codegen.ml
+11 -11 metaprl-branches/opname_classes4/theories/experimental/compile/m_x86_term.ml
Properties metaprl-branches/opname_classes4/theories/experimental/syntax
Added metaprl-branches/opname_classes4/theories/experimental/syntax/OMakefile
Properties metaprl-branches/opname_classes4/theories/experimental/syntax/OMakefile
Added metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.ml
Properties metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.ml
Added metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.mli
Properties metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.mli
+1 -1 metaprl-branches/opname_classes4/theories/fir/mfir_sequent.ml
+1 -1 metaprl-branches/opname_classes4/theories/fir/mfir_sequent.mli
+3 -0 metaprl-branches/opname_classes4/theories/itt/OMakefile
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_algebra_df.ml
+1 -5 metaprl-branches/opname_classes4/theories/itt/itt_atom.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_atom.mli
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_atom.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_bintree.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_bintree.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_closure.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_closure.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_cyclic_group.ml
+50 -0 metaprl-branches/opname_classes4/theories/itt/itt_cyclic_group.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_datatree.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_derive.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_field2.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_field2.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_field_e.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_field_e.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fun.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_group.ml
+51 -0 metaprl-branches/opname_classes4/theories/itt/itt_group.prla
+6 -3 metaprl-branches/opname_classes4/theories/itt/itt_grouplikeobj.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_grouplikeobj.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_intdomain.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_intdomain.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_intdomain_e.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_intdomain_e.prla
Added metaprl-branches/opname_classes4/theories/itt/itt_labels.mlz
Properties metaprl-branches/opname_classes4/theories/itt/itt_labels.mlz
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_mpoly.prla
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2.prla
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2_bench.prla
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3.prla
+53 -0 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3_bench.prla
+2 -1 metaprl-branches/opname_classes4/theories/itt/itt_obj_base_rewrite.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_obj_base_rewrite.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_order.ml
+50 -0 metaprl-branches/opname_classes4/theories/itt/itt_order.prla
+7 -2 metaprl-branches/opname_classes4/theories/itt/itt_pairwise.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_poly.ml
+49 -0 metaprl-branches/opname_classes4/theories/itt/itt_poly.prla
+1 -1 metaprl-branches/opname_classes4/theories/itt/itt_prec.mli
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_quotient_group.ml
+51 -0 metaprl-branches/opname_classes4/theories/itt/itt_quotient_group.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_rat.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_rat.mli
+50 -0 metaprl-branches/opname_classes4/theories/itt/itt_rat.prla
+2 -1 metaprl-branches/opname_classes4/theories/itt/itt_rbtree.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_record.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record.mli
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_record.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_record_exm.ml
+72 -20 metaprl-branches/opname_classes4/theories/itt/itt_record_exm.prla
+58 -5 metaprl-branches/opname_classes4/theories/itt/itt_record_label.prla
+12 -10 metaprl-branches/opname_classes4/theories/itt/itt_record_renaming.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_record_renaming.mli
+55 -3 metaprl-branches/opname_classes4/theories/itt/itt_record_renaming.prla
+1 -3 metaprl-branches/opname_classes4/theories/itt/itt_reflection.prla
+1 -3 metaprl-branches/opname_classes4/theories/itt/itt_reflection_example_lambda.prla
+1 -3 metaprl-branches/opname_classes4/theories/itt/itt_reflection_test.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_relation_str.ml
+6 -3 metaprl-branches/opname_classes4/theories/itt/itt_ring2.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_ring2.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_ring_e.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_ring_e.prla
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_ring_uce.ml
+51 -0 metaprl-branches/opname_classes4/theories/itt/itt_ring_uce.prla
+3 -2 metaprl-branches/opname_classes4/theories/itt/itt_set_str.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_sortedtree.ml
+65 -14 metaprl-branches/opname_classes4/theories/itt/itt_sortedtree.prla
+10 -3 metaprl-branches/opname_classes4/theories/itt/itt_test.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_unitring.ml
+52 -0 metaprl-branches/opname_classes4/theories/itt/itt_unitring.prla
+2 -15 metaprl-branches/opname_classes4/theories/phobos/phobos_theory.ml
+0 -0 metaprl-branches/opname_classes4/theories/sil/sil_program.ml
+5 -0 metaprl-branches/opname_classes4/theories/sil/sil_programs.ml
+5 -0 metaprl-branches/opname_classes4/theories/sil/sil_programs.mli
+0 -0 metaprl-branches/opname_classes4/theories/sil/sil_sos.ml
+0 -0 metaprl-branches/opname_classes4/theories/sil/sil_state.ml
+1 -0 metaprl-branches/opname_classes4/theories/tptp/tptp.ml
+7001 -8113 metaprl-branches/opname_classes4/theories/tptp/tptp.prla
+1 -0 metaprl-branches/opname_classes4/theories/tptp/tptp_cache.ml
+4 -2 metaprl-branches/opname_classes4/util/gen_refiner_debug.pl
+4 -1 metaprl-branches/opname_classes4/util/gen_refiner_debug_err.pl
Deleted mpcompiler/util/mmc_term_util.ml
Deleted mpcompiler/util/mmc_term_util.mli
+0 -1 mpcompiler-branches/opname_classes4/mmc/OMakefile
+33 -174 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_asm.ml
+96 -47 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_asm.mli
+95 -90 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_backend.ml
+8 -8 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_closure.ml
+43 -61 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_codegen.ml
+18 -7 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_codegen.mli
+56 -56 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_convention.ml
+22 -27 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_frame.ml
+15 -15 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_frame.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_hoist.ml
+3 -3 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_opt1.ml
+18 -28 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.ml
+16 -9 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.mli
+22 -21 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_slop.ml
+59 -57 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_spill.ml
+0 -9 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_dform.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_hoist.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_hoist.mli
+0 -23 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.ml
+39 -4 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.mli
+0 -7 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_meta.ml
+6 -4 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_meta.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_standardize.ml
+0 -2 mpcompiler-branches/opname_classes4/mmc/core/Files
+12 -70 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_ast.ml
+56 -38 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_ast.mli
+75 -62 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_closure.ml
+0 -4 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_closure.mli
+138 -95 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.ml
+8 -4 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.mli
+11 -18 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_front.ml
+2 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_front.mli
+7 -7 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_grammar.ml
+7 -7 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_grammar.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_hoist.ml
+16 -22 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_inline.ml
+4 -3 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_inline.mli
+2 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_list_util.ml
+2 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_list_util.mli
+4 -4 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_optimize.ml
+18 -27 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_reserve.ml
+5 -8 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_reserve.mli
+95 -32 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_sweep_ty.ml
+3 -0 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_sweep_ty.mli
+16 -46 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.ml
+48 -13 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast_util.ml
+100 -78 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.ml
+14 -8 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.mli
+37 -37 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_erase.ml
+12 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_erase.mli
+145 -19 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_infer.ml
+9 -14 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_value.ml
+6 -4 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_value.mli
+13 -20 mpcompiler-branches/opname_classes4/mmc/extensions/array/mmc_ext_array.ml
+7 -5 mpcompiler-branches/opname_classes4/mmc/extensions/array/mmc_ext_array.mli
+29 -24 mpcompiler-branches/opname_classes4/mmc/extensions/array/mmc_ext_array_x86.ml
+27 -45 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_bool.ml
+21 -15 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_bool.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_boolean_x86.ml
+20 -42 mpcompiler-branches/opname_classes4/mmc/extensions/int/mmc_ext_int.ml
+34 -31 mpcompiler-branches/opname_classes4/mmc/extensions/int/mmc_ext_int.mli
+43 -43 mpcompiler-branches/opname_classes4/mmc/extensions/int/mmc_ext_integer_x86.ml
+7 -10 mpcompiler-branches/opname_classes4/mmc/extensions/loop/mmc_ext_loop.ml
+3 -1 mpcompiler-branches/opname_classes4/mmc/extensions/loop/mmc_ext_loop.mli
+42 -55 mpcompiler-branches/opname_classes4/mmc/extensions/operator/mmc_ext_operator.ml
+43 -7 mpcompiler-branches/opname_classes4/mmc/extensions/operator/mmc_ext_operator.mli
+8 -8 mpcompiler-branches/opname_classes4/mmc/extensions/reserve/mmc_ext_reserve.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/reserve/mmc_ext_reserve.mli
+8 -8 mpcompiler-branches/opname_classes4/mmc/extensions/reserve/mmc_ext_reserve_x86.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/special/mmc_ext_special.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/special/mmc_ext_special.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/special/mmc_ext_special_x86.ml
+1 -6 mpcompiler-branches/opname_classes4/mmc/extensions/string/mmc_ext_string.ml
+5 -2 mpcompiler-branches/opname_classes4/mmc/extensions/string/mmc_ext_string.mli
+12 -20 mpcompiler-branches/opname_classes4/mmc/extensions/tuple/mmc_ext_tuple.ml
+7 -5 mpcompiler-branches/opname_classes4/mmc/extensions/tuple/mmc_ext_tuple.mli
+9 -4 mpcompiler-branches/opname_classes4/mmc/extensions/tuple/mmc_ext_tuple_x86.ml
+5 -4 mpcompiler-branches/opname_classes4/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+4 -3 mpcompiler-branches/opname_classes4/mmc/extensions/tyexists/mmc_ext_tyexists.mli
+3 -7 mpcompiler-branches/opname_classes4/mmc/extensions/unit/mmc_ext_unit.ml
+5 -2 mpcompiler-branches/opname_classes4/mmc/extensions/unit/mmc_ext_unit.mli
+0 -1 mpcompiler-branches/opname_classes4/mmc/main/mmc_theory.ml
+0 -1 mpcompiler-branches/opname_classes4/mmc/main/mmc_theory.mli
+37 -37 mpcompiler-branches/opname_classes4/mmc/opt/direct/core/mmc_opt_direct.ml
+23 -23 mpcompiler-branches/opname_classes4/mmc/test/mmc_array_test.ml
+0 -0 mpcompiler-branches/opname_classes4/mmc/test/mmc_core_test.ml
+8 -3 mpcompiler-branches/opname_classes4/mmc/test/mmc_spill_test.ml
+0 -1 mpcompiler-branches/opname_classes4/util/Files
+9 -8 mpcompiler-branches/opname_classes4/util/mm_arith_util.ml
+8 -7 mpcompiler-branches/opname_classes4/util/mm_arith_util.mli
+14 -13 mpcompiler-branches/opname_classes4/util/mm_dform_util.ml
+4 -4 mpcompiler-branches/opname_classes4/util/mm_dform_util.mli
+16 -9 mpcompiler-branches/opname_classes4/util/mm_list_util.ml
+10 -6 mpcompiler-branches/opname_classes4/util/mm_list_util.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-05 17:14:46 -0800 (Sat, 05 Feb 2005)
Revision: 6603
Log message:

      Added display-form type checking.  This was a little painful because
      some theories were using xlist as a normal list.  In the end, I changed
      the declarations to the following.
      
         declare xcons{'a : Dform; 'b : Dform} : Dform
         declare xnil : Dform
      
      Base_reflection has its own list, using rcons and rnil.
      You need to use the functions mk_rlist_term, is_rlist_term, etc.,
      instead of mk_xlist_term, is_xlist_term.
      
      The .prla updates are just for the opname renaming.
      

Changes  Path
+2 -0 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.ml
+48 -45 metaprl-branches/opname_classes4/filter/base/filter_exn.ml
+1 -0 metaprl-branches/opname_classes4/filter/base/filter_summary_type.ml
+34 -28 metaprl-branches/opname_classes4/filter/base/filter_type.ml
+21 -23 metaprl-branches/opname_classes4/filter/filter/filter_parse.ml
+32 -4 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+3 -2 metaprl-branches/opname_classes4/refiner/refbase/opname.ml
+5 -4 metaprl-branches/opname_classes4/refiner/refbase/opname.mli
+12 -0 metaprl-branches/opname_classes4/refiner/refiner/refiner_debug.ml
+34 -15 metaprl-branches/opname_classes4/refiner/reflib/refine_exn.ml
+98 -9 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
+5 -4 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
+5 -0 metaprl-branches/opname_classes4/refiner/refsig/term_man_sig.ml
+1 -0 metaprl-branches/opname_classes4/refiner/refsig/term_meta_sig.ml
+4 -2 metaprl-branches/opname_classes4/refiner/term_ds/term_base_ds.ml
+1 -0 metaprl-branches/opname_classes4/refiner/term_ds/term_ds_sig.ml
+2 -0 metaprl-branches/opname_classes4/refiner/term_ds/term_man_ds.ml
+9 -5 metaprl-branches/opname_classes4/refiner/term_gen/term_man_gen.ml
+5 -0 metaprl-branches/opname_classes4/refiner/term_gen/term_meta_gen.ml
+19 -21 metaprl-branches/opname_classes4/support/display/base_dform.ml
+9 -9 metaprl-branches/opname_classes4/support/display/base_dform.mli
+68 -68 metaprl-branches/opname_classes4/support/display/comment.ml
+3 -3 metaprl-branches/opname_classes4/support/display/comment.mli
+2 -2 metaprl-branches/opname_classes4/support/display/nuprl_font.ml
+5 -0 metaprl-branches/opname_classes4/support/display/ocaml.mlz
+22 -101 metaprl-branches/opname_classes4/support/display/ocaml_base_df.ml
+67 -67 metaprl-branches/opname_classes4/support/display/ocaml_base_df.mli
+23 -23 metaprl-branches/opname_classes4/support/display/ocaml_expr_df.ml
+2 -2 metaprl-branches/opname_classes4/support/display/ocaml_mt_df.ml
+57 -57 metaprl-branches/opname_classes4/support/display/ocaml_patt_df.ml
+10 -10 metaprl-branches/opname_classes4/support/display/ocaml_sig_df.ml
+4 -4 metaprl-branches/opname_classes4/support/display/ocaml_str_df.ml
+23 -23 metaprl-branches/opname_classes4/support/display/ocaml_type_df.ml
+6 -7 metaprl-branches/opname_classes4/support/display/perv.ml
+34 -26 metaprl-branches/opname_classes4/support/display/perv.mli
+134 -127 metaprl-branches/opname_classes4/support/display/summary.ml
+9 -9 metaprl-branches/opname_classes4/support/shell/shell_fs.ml
+10 -10 metaprl-branches/opname_classes4/support/shell/shell_root.ml
+47 -38 metaprl-branches/opname_classes4/support/shell/shell_state.ml
+63 -5 metaprl-branches/opname_classes4/theories/base/base_reflection.ml
+13 -0 metaprl-branches/opname_classes4/theories/base/base_reflection.mli
+7 -7 metaprl-branches/opname_classes4/theories/base/base_rewrite.prla
+2 -2 metaprl-branches/opname_classes4/theories/cic/cic_lambda.prla
+2 -2 metaprl-branches/opname_classes4/theories/cic/cic_list.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_abel_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_all.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_axioms.prla
+18 -18 metaprl-branches/opname_classes4/theories/czf/czf_itt_bool.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_comment.prla
+12 -12 metaprl-branches/opname_classes4/theories/czf/czf_itt_coset.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_cyclic_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_cyclic_subgroup.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_dall.prla
+14 -14 metaprl-branches/opname_classes4/theories/czf/czf_itt_dexists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_empty.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_eq.prla
+28 -28 metaprl-branches/opname_classes4/theories/czf/czf_itt_equiv.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_exists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_false.prla
+16 -16 metaprl-branches/opname_classes4/theories/czf/czf_itt_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_group_bvd.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_group_power.prla
+24 -24 metaprl-branches/opname_classes4/theories/czf/czf_itt_hom.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_implies.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_infinity.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_inv_image.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_isect.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_iso.prla
+20 -20 metaprl-branches/opname_classes4/theories/czf/czf_itt_ker.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_kleingroup.prla
+15 -15 metaprl-branches/opname_classes4/theories/czf/czf_itt_member.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_nat.prla
+8 -8 metaprl-branches/opname_classes4/theories/czf/czf_itt_normal_subgroup.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_or.prla
+9 -9 metaprl-branches/opname_classes4/theories/czf/czf_itt_pair.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_power.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_pre_theory.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_rel.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_sall.prla
+17 -17 metaprl-branches/opname_classes4/theories/czf/czf_itt_sep.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_set.prla
+10 -10 metaprl-branches/opname_classes4/theories/czf/czf_itt_set_bvd.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_set_ind.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_setdiff.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_sexists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_singleton.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_subgroup.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_subset.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_true.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_union.prla
+0 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.ml
+5 -0 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.mli
+4 -2 metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.ml
+0 -2 metaprl-branches/opname_classes4/theories/fir/mfir_sequent.ml
+2 -2 metaprl-branches/opname_classes4/theories/fir/mfir_test.prla
+6 -6 metaprl-branches/opname_classes4/theories/fol/cfol_itt_all.prla
+9 -9 metaprl-branches/opname_classes4/theories/fol/cfol_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/cfol_itt_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_ctheory.prla
+12 -12 metaprl-branches/opname_classes4/theories/fol/fol_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_false.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_implies.prla
+10 -10 metaprl-branches/opname_classes4/theories/fol/fol_itt_or.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_true.prla
+5 -5 metaprl-branches/opname_classes4/theories/fol/fol_not.prla
+11 -11 metaprl-branches/opname_classes4/theories/fol/fol_prop.prla
+13 -13 metaprl-branches/opname_classes4/theories/fol/fol_struct.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/ctt_markov.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_antiquotient.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_atom.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bintree.prla
+17 -17 metaprl-branches/opname_classes4/theories/itt/itt_bisect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bool.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bunion.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_closure.prla
+32 -32 metaprl-branches/opname_classes4/theories/itt/itt_collection.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_cyclic_group.prla
+8 -8 metaprl-branches/opname_classes4/theories/itt/itt_decidable.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_derive.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dfun.prla
+22 -22 metaprl-branches/opname_classes4/theories/itt/itt_disect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dprod.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dprod_imp.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_eq_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_equal.prla
+14 -14 metaprl-branches/opname_classes4/theories/itt/itt_esquash.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ext_equal.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_field2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_field_e.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fset.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fun.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fun2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_functions.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_grouplikeobj.prla
+11 -7 metaprl-branches/opname_classes4/theories/itt/itt_int_arith.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_arith.prla
+26 -15 metaprl-branches/opname_classes4/theories/itt/itt_int_base.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_int_base.mli
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_bench.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_bench2.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_int_ext.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_ext.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_test.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_intdomain.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_intdomain_e.prla
+23 -23 metaprl-branches/opname_classes4/theories/itt/itt_isect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_list.prla
+3 -1 metaprl-branches/opname_classes4/theories/itt/itt_list2.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_list2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_logic.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2_bench.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3_bench.prla
+6 -5 metaprl-branches/opname_classes4/theories/itt/itt_nat.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_nat.prla
+18 -18 metaprl-branches/opname_classes4/theories/itt/itt_nequal.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_obj_base_rewrite.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_order.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_pairwise.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_pointwise.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_pointwise2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_poly.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_prod.prla
+6 -6 metaprl-branches/opname_classes4/theories/itt/itt_prop_decide.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_quotient.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_quotient_group.prla
+5 -1 metaprl-branches/opname_classes4/theories/itt/itt_rat.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rat.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rat2.prla
+12 -6 metaprl-branches/opname_classes4/theories/itt/itt_record.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record0.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_exm.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_label.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_label0.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_renaming.prla
+20 -19 metaprl-branches/opname_classes4/theories/itt/itt_reflection.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection_example_lambda.prla
+20 -19 metaprl-branches/opname_classes4/theories/itt/itt_reflection_new.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection_test.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rfun.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rfun.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring_e.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring_uce.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_set.prla
+13 -13 metaprl-branches/opname_classes4/theories/itt/itt_singleton.prla
+7 -3 metaprl-branches/opname_classes4/theories/itt/itt_sort.ml
+23 -23 metaprl-branches/opname_classes4/theories/itt/itt_sort.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_sortedtree.prla
+21 -21 metaprl-branches/opname_classes4/theories/itt/itt_squash.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_squiggle.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_struct.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_struct2.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_struct3.prla
+21 -21 metaprl-branches/opname_classes4/theories/itt/itt_subset.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_subset2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_subtype.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_supinf.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_synt_operator.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_synt_var.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_tsquash.prla
+14 -14 metaprl-branches/opname_classes4/theories/itt/itt_tunion.prla
+31 -31 metaprl-branches/opname_classes4/theories/itt/itt_union.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_unit.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_unitring.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_void.prla
+26 -26 metaprl-branches/opname_classes4/theories/itt/itt_w.prla
+11 -11 metaprl-branches/opname_classes4/theories/itt/itt_well_founded.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/jprover_tests.prla
+2 -2 metaprl-branches/opname_classes4/theories/kat/kat_axioms.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/ma_message__automata.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_Dconstant_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_once_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_recognizer1_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_ring__leader1_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_send__once_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_trigger1_object_directory.prla
+4 -4 metaprl-branches/opname_classes4/theories/sil/sil_state.ml
+2 -2 metaprl-branches/opname_classes4/theories/tptp/tptp.prla
+6 -6 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_asm.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.mli
+6 -6 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_meta.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_ast.mli
+5 -5 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_closure.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.prla
+6 -9 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.ml
+3 -3 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.prla
+1 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_value.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_boolean.prla
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/operator/mmc_ext_operator.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/test/mmc_core_test.prla
+2 -2 mpcompiler-branches/opname_classes4/util/mm_dform_util.ml
+4 -4 mpcompiler-branches/opname_classes4/util/mm_dform_util.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-05 19:55:00 -0800 (Sat, 05 Feb 2005)
Revision: 6606
Log message:

      Disallow type constraints rules and rewrites.  For type inference,
      type rewrites become equalities.
      
         declare rewrite TyElem{TyExp} <--> Exp
      
      This means, in addition to the rewrite, that TyElem{TyExp} = Exp.
      So, if we are unifying t1 and t2, it is legal to unify t1 with TyElem{TyExp},
      and Exp with t2.
      
      >    Known issues:
      >     - The .mli opname declarations are added to the .cmoz in the reverse order.
      >       This, among other things causes Failure ("unknown typeclass:
      >       Mmc_base_judgment!Prop") exception on cd'ing into the /mmc_base_judgment
      >       module.
      >     - The .mli opname declarations are added to the .cmoz even when .cmoz has its
      >       own copy. That results in the "ls" output (and other things, such as .cmoz
      >       and .prla files) being unnecessarily cluttered.
      
      These are fixed.  Only the declarations that don't exist in the .ml are copied.
      
      >     - If the same shape is declared several times (possibly with incompatible
      >       types), does anybody notice?
      
      This is now checked in Filter_cache_fun.
      
      >    Potential TODOs and RFEs:
      >     - Proper type checking for display forms.
      
      Implemented.
      
      >     - Could we may be come up with a way to propagate certain declarations from
      >       .ml into .cmiz (instead of the other way around)? Some declarations needs
      >       to stay in the .ml in order to get properly documented.
      
      What about copying the documentation from the .mli (preserving the order)?
      
      >     - "declare sequent" shortcuts:
      >        - when the type is { Term : Term >- Term } : Term, allow omitting it
      >        - when the type is { Term : Term >- Term } : Foo, allow typing just ": Foo"
      
      Implemented.
      
      >     - Perv!nil/Perv!cons should have the Dform type.
      >        - When the sequent conclusion is omitted, a we should use something other
      >          than Perv!nil for the conclusion. This new "default conclusion" term
      >          should be a member of a singleton type (in the Term typeclass), and MMC
      >          should be using that in the type of Mmc_core_ast!ty_args
      >        - Base_reflection should use its own cons and nil for bterm lists.
      
      Implemented.
      
      >     - The new stuff (both the new syntax and the typechecking algorithm) need to
      >       be documented.
      
      I need to do this.
      

Changes  Path
+61 -51 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.ml
+1 -0 metaprl-branches/opname_classes4/filter/base/filter_summary_type.ml
+3 -1 metaprl-branches/opname_classes4/filter/base/filter_type.ml
+7 -2 metaprl-branches/opname_classes4/filter/filter/filter_parse.ml
+28 -13 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+1 -0 metaprl-branches/opname_classes4/refiner/refiner/refiner_debug.ml
+95 -36 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
+11 -7 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
+1 -0 metaprl-branches/opname_classes4/refiner/refsig/term_shape_sig.ml
+1 -0 metaprl-branches/opname_classes4/refiner/term_gen/term_shape_gen.ml
+6 -0 metaprl-branches/opname_classes4/support/display/perv.mli
+14 -0 metaprl-branches/opname_classes4/support/shell/package_info.ml
+8 -6 metaprl-branches/opname_classes4/support/shell/package_info.mli
+3 -1 metaprl-branches/opname_classes4/support/shell/shell_core.ml
+16 -3 metaprl-branches/opname_classes4/support/shell/shell_state.ml
+6 -1 metaprl-branches/opname_classes4/support/shell/shell_state.mli
+2 -0 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.mli
+22 -28 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_reserve.ml
+24 -35 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.ml
+2 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.mli
+3 -3 mpcompiler-branches/opname_classes4/mmc/extensions/array/mmc_ext_array.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_bool.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/int/mmc_ext_int.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/string/mmc_ext_string.ml
+4 -4 mpcompiler-branches/opname_classes4/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/unit/mmc_ext_unit.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-06 15:21:43 -0800 (Sun, 06 Feb 2005)
Revision: 6607
Log message:

      Typechecking is now stricter.
         -- For rules and rewrites, the goal types are existentially quantified.
         -- Rewrites are type-invariant.  For example, the following will fail.
      
            declare typeclass A
            declare typeclass B -> A
            declare foo : A
            declare bar : B
      
            prim_rw bad : foo <--> bar
      
            This is rejected because the (bar --> foo) rewrite is bogus.
      
      At this point, the type system is basically sound, apart from
      rule and rewrite arguments, and assuming the implementation is
      correct.  Let's merge.
      

Changes  Path
+6 -6 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.ml
+1 -0 metaprl-branches/opname_classes4/filter/base/filter_summary_type.ml
+21 -18 metaprl-branches/opname_classes4/filter/base/filter_type.ml
+24 -23 metaprl-branches/opname_classes4/filter/filter/filter_parse.ml
+6 -0 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+2 -0 metaprl-branches/opname_classes4/refiner/refiner/refiner_debug.ml
+343 -395 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
+7 -6 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
+1 -0 metaprl-branches/opname_classes4/refiner/refsig/term_meta_sig.ml
+7 -9 metaprl-branches/opname_classes4/support/display/perv.mli
+7 -0 metaprl-branches/opname_classes4/support/shell/package_info.ml
+9 -8 metaprl-branches/opname_classes4/support/shell/package_info.mli
+1 -0 metaprl-branches/opname_classes4/support/shell/shell_core.ml
+66 -55 metaprl-branches/opname_classes4/support/shell/shell_state.ml
+1 -0 metaprl-branches/opname_classes4/support/shell/shell_state.mli
+0 -0 metaprl-branches/opname_classes4/theories/base/base_reflection.ml
+2 -2 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir_ast.ml
+4 -0 metaprl-branches/opname_classes4/theories/phobos/phobos_base.mli
+2 -2 metaprl-branches/opname_classes4/theories/phobos/phobos_theory.ml
+6 -10 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_asm.mli
+3 -2 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_closure.ml
+4 -4 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_codegen.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_convention.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_frame.ml
+8 -8 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_frame.mli
+11 -4 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_slop.ml
+3 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_spill.ml
+8 -0 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.mli
+3 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_hoist.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/array/mmc_ext_array_x86.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-06 19:33:24 -0800 (Sun, 06 Feb 2005)
Revision: 6611
Log message:

      1. Some work on mmc.
      
      2. Fixed the problem with parsed term in comments.
      > 1) The problem with <:doc< ... << ... >> ... >>
      >
      > still exists.
      
         The terms in comments are now parsed.
      

Changes  Path
+2 -1 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+2 -0 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.ml
+18 -4 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_infer.ml
+13 -3 mpcompiler-branches/opname_classes4/mmc/extensions/int/mmc_ext_int.ml
+1 -1 mpcompiler-branches/opname_classes4/mmc/test/mmc

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-02-07 04:25:55 -0800 (Mon, 07 Feb 2005)
Revision: 6624
Log message:

      ***************************************************************************
      ****             !!!!!         WARNING            !!!!!                ****
      ***************************************************************************
      !!!!!           This commit breaks binary compatibility               !!!!!
      !!!!!         Export all your uncommitted proofs before updating      !!!!!
      !!!!!                                                                 !!!!!
      !!!!!  If you export to a .prla that did not exist before, you will   !!!!!
      !!!!!  to edit it manually after you update - find the line that      !!!!!
      !!!!!  starts with "NPerv!cons" replace the last (third) occurrence   !!!!!
      !!!!!  of "cons" with "xcons", then replace last (third) occurrence   !!!!!
      !!!!!  nil" with "xnil" on the "Perv!nil" line.                       !!!!!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      
      Merging the opname_classes branch!
      
      This commit inroduces types to MetaPRL syntax with an informal (but pretty
      precise) typechecking. Hopefully Jason will write some documentation
      describing how to use this.
      
      This fixes bug 370 and bug 371.
      

Changes  Path
+54 -52 metaprl/editor/ml/nuprl_eval.ml
+3 -1 metaprl/editor/ml/nuprl_jprover.ml
+733 -181 metaprl/filter/base/filter_cache_fun.ml
+1 -0 metaprl/filter/base/filter_cache_fun.mli
+78 -39 metaprl/filter/base/filter_exn.ml
+3 -2 metaprl/filter/base/filter_exn.mli
+41 -0 metaprl/filter/base/filter_grammar.ml
+7 -0 metaprl/filter/base/filter_grammar.mli
+9 -4 metaprl/filter/base/filter_magic.ml
+144 -109 metaprl/filter/base/filter_ocaml.ml
+525 -177 metaprl/filter/base/filter_summary.ml
+4 -1 metaprl/filter/base/filter_summary.mli
+16 -3 metaprl/filter/base/filter_summary_type.ml
+114 -33 metaprl/filter/base/filter_type.ml
+7 -11 metaprl/filter/base/filter_util.ml
+0 -2 metaprl/filter/base/filter_util.mli
+796 -438 metaprl/filter/filter/filter_parse.ml
+23 -15 metaprl/filter/filter/filter_patt.ml
+30 -18 metaprl/filter/filter/filter_prog.ml
+621 -153 metaprl/filter/filter/term_grammar.ml
+5 -3 metaprl/filter/filter/term_grammar.mli
+1 -0 metaprl/filter/phobos/phobos_constants.ml
+1 -1 metaprl/filter/phobos/phobos_parser.mly
+29 -26 metaprl/library/basic.ml
+52 -49 metaprl/library/db.ml
+17 -15 metaprl/library/definition.ml
+9 -7 metaprl/library/library.ml
+5 -3 metaprl/library/link.ml
+6 -4 metaprl/library/mbterm.ml
+58 -36 metaprl/library/nuprl5.ml
+40 -38 metaprl/library/orb.ml
+27 -12 metaprl/refiner/refbase/opname.ml
+17 -8 metaprl/refiner/refbase/opname.mli
+2 -2 metaprl/refiner/refiner/refine.ml
+2 -2 metaprl/refiner/refiner/refine.mli
+24 -11 metaprl/refiner/refiner/refine_error.ml
+4 -4 metaprl/refiner/refiner/refine_error.mli
+330 -78 metaprl/refiner/refiner/refiner_debug.ml
+9 -1 metaprl/refiner/refiner/refiner_ds.ml
+9 -2 metaprl/refiner/refiner/refiner_std.ml
+1 -0 metaprl/refiner/reflib/Files
+33 -24 metaprl/refiner/reflib/ascii_io.ml
+12 -4 metaprl/refiner/reflib/dform.ml
+1 -0 metaprl/refiner/reflib/jall.ml
+1 -0 metaprl/refiner/reflib/lib_term.ml
+234 -141 metaprl/refiner/reflib/refine_exn.ml
+121 -107 metaprl/refiner/reflib/simple_print.ml
+10 -10 metaprl/refiner/reflib/term_compare.ml
+101 -74 metaprl/refiner/reflib/term_match_table.ml
+5 -1 metaprl/refiner/reflib/term_match_table.mli
+124 -124 metaprl/refiner/reflib/term_order.ml
Added metaprl/refiner/reflib/term_ty_infer.ml
Properties metaprl/refiner/reflib/term_ty_infer.ml
Added metaprl/refiner/reflib/term_ty_infer.mli
Properties metaprl/refiner/reflib/term_ty_infer.mli
+1 -0 metaprl/refiner/reflib/unify_mm.ml
+1 -0 metaprl/refiner/refsig/Files
+27 -8 metaprl/refiner/refsig/refine_error_sig.ml
+8 -2 metaprl/refiner/refsig/refiner_sig.ml
+4 -2 metaprl/refiner/refsig/rewrite_sig.ml
+14 -0 metaprl/refiner/refsig/term_man_sig.ml
+10 -3 metaprl/refiner/refsig/term_meta_sig.ml
+8 -4 metaprl/refiner/refsig/term_op_sig.ml
+4 -0 metaprl/refiner/refsig/term_shape_sig.ml
+37 -14 metaprl/refiner/refsig/term_sig.ml
Added metaprl/refiner/refsig/term_ty_sig.ml
Properties metaprl/refiner/refsig/term_ty_sig.ml
+26 -14 metaprl/refiner/rewrite/rewrite.ml
+1 -1 metaprl/refiner/rewrite/rewrite.mli
+2 -2 metaprl/refiner/rewrite/rewrite_build_contractum.ml
+1 -1 metaprl/refiner/rewrite/rewrite_build_contractum.mli
+1 -1 metaprl/refiner/rewrite/rewrite_compile_contractum.ml
+1 -1 metaprl/refiner/rewrite/rewrite_compile_contractum.mli
+14 -14 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+1 -1 metaprl/refiner/rewrite/rewrite_compile_redex.mli
+5 -3 metaprl/refiner/rewrite/rewrite_debug.ml
+1 -1 metaprl/refiner/rewrite/rewrite_debug.mli
+5 -4 metaprl/refiner/rewrite/rewrite_match_redex.ml
+1 -1 metaprl/refiner/rewrite/rewrite_match_redex.mli
+6 -4 metaprl/refiner/rewrite/rewrite_meta.ml
+1 -1 metaprl/refiner/rewrite/rewrite_meta.mli
+2 -1 metaprl/refiner/rewrite/rewrite_types.ml
+1 -1 metaprl/refiner/rewrite/rewrite_util.ml
+1 -1 metaprl/refiner/rewrite/rewrite_util.mli
+3 -3 metaprl/refiner/term_ds/term_addr_ds.ml
+2 -2 metaprl/refiner/term_ds/term_addr_ds.mli
+8 -6 metaprl/refiner/term_ds/term_base_ds.ml
+4 -4 metaprl/refiner/term_ds/term_base_ds.mli
+7 -7 metaprl/refiner/term_ds/term_ds.ml
+8 -7 metaprl/refiner/term_ds/term_ds_sig.ml
+119 -10 metaprl/refiner/term_ds/term_man_ds.ml
+2 -2 metaprl/refiner/term_ds/term_man_ds.mli
+30 -4 metaprl/refiner/term_ds/term_op_ds.ml
+6 -5 metaprl/refiner/term_ds/term_op_ds.mli
+8 -6 metaprl/refiner/term_ds/term_subst_ds.ml
+6 -5 metaprl/refiner/term_ds/term_subst_ds.mli
+1 -0 metaprl/refiner/term_gen/Files
+3 -3 metaprl/refiner/term_gen/term_addr_gen.ml
+2 -2 metaprl/refiner/term_gen/term_addr_gen.mli
+6 -6 metaprl/refiner/term_gen/term_hash.ml
+7 -7 metaprl/refiner/term_gen/term_header_constr.ml
+105 -10 metaprl/refiner/term_gen/term_man_gen.ml
+1 -1 metaprl/refiner/term_gen/term_man_gen.mli
+69 -5 metaprl/refiner/term_gen/term_meta_gen.ml
+1 -1 metaprl/refiner/term_gen/term_meta_gen.mli
+33 -5 metaprl/refiner/term_gen/term_shape_gen.ml
+3 -0 metaprl/refiner/term_gen/term_shape_gen.mli
Added metaprl/refiner/term_gen/term_ty_gen.ml
Properties metaprl/refiner/term_gen/term_ty_gen.ml
Added metaprl/refiner/term_gen/term_ty_gen.mli
Properties metaprl/refiner/term_gen/term_ty_gen.mli
+1 -1 metaprl/refiner/term_std/term_base_std.ml
+1 -1 metaprl/refiner/term_std/term_base_std.mli
+25 -1 metaprl/refiner/term_std/term_op_std.ml
+1 -1 metaprl/refiner/term_std/term_op_std.mli
+7 -7 metaprl/refiner/term_std/term_std.ml
+7 -7 metaprl/refiner/term_std/term_std_sig.ml
+5 -5 metaprl/refiner/term_std/term_subst_std.ml
+1 -1 metaprl/refiner/term_std/term_subst_std.mli
+22 -46 metaprl/support/display/base_dform.ml
+22 -21 metaprl/support/display/base_dform.mli
+300 -294 metaprl/support/display/comment.ml
+191 -189 metaprl/support/display/comment.mli
+25 -216 metaprl/support/display/nuprl_font.ml
+189 -186 metaprl/support/display/nuprl_font.mli
+5 -0 metaprl/support/display/ocaml.mlz
+22 -101 metaprl/support/display/ocaml_base_df.ml
+67 -67 metaprl/support/display/ocaml_base_df.mli
+51 -23 metaprl/support/display/ocaml_expr_df.ml
+2 -2 metaprl/support/display/ocaml_mt_df.ml
+57 -57 metaprl/support/display/ocaml_patt_df.ml
+10 -10 metaprl/support/display/ocaml_sig_df.ml
+4 -4 metaprl/support/display/ocaml_str_df.ml
+23 -23 metaprl/support/display/ocaml_type_df.ml
+110 -102 metaprl/support/display/perv.ml
+173 -46 metaprl/support/display/perv.mli
+220 -171 metaprl/support/display/summary.ml
+14 -64 metaprl/support/display/summary.mli
+58 -2 metaprl/support/shell/package_info.ml
+9 -1 metaprl/support/shell/package_info.mli
+0 -12 metaprl/support/shell/proof_edit.ml
+18 -5 metaprl/support/shell/shell_core.ml
+9 -9 metaprl/support/shell/shell_fs.ml
+11 -16 metaprl/support/shell/shell_package.ml
+10 -10 metaprl/support/shell/shell_root.ml
+10 -7 metaprl/support/shell/shell_rule.ml
+3 -1 metaprl/support/shell/shell_rule.mli
+134 -41 metaprl/support/shell/shell_state.ml
+10 -1 metaprl/support/shell/shell_state.mli
+13 -15 metaprl/support/tactics/dtactic.ml
+8 -7 metaprl/support/tactics/top_conversionals.ml
+16 -12 metaprl/support/tactics/top_tacticals.ml
+0 -0 metaprl/support/tactics/top_tacticals.mli
+26 -25 metaprl/theories/base/base_meta.ml
+20 -20 metaprl/theories/base/base_meta.mli
+67 -9 metaprl/theories/base/base_reflection.ml
+15 -2 metaprl/theories/base/base_reflection.mli
+1 -1 metaprl/theories/base/base_rewrite.ml
+1 -1 metaprl/theories/base/base_rewrite.mli
+7 -7 metaprl/theories/base/base_rewrite.prla
+101 -106 metaprl/theories/cic/cic_ind_cases.ml
+296 -300 metaprl/theories/cic/cic_ind_type.ml
+85 -85 metaprl/theories/cic/cic_ind_type.mli
+7 -7 metaprl/theories/cic/cic_lambda.ml
+4 -4 metaprl/theories/cic/cic_lambda.mli
+2 -2 metaprl/theories/cic/cic_lambda.prla
+18 -18 metaprl/theories/cic/cic_list.ml
+2 -2 metaprl/theories/cic/cic_list.prla
+2 -2 metaprl/theories/czf/czf_itt_abel_group.prla
+2 -2 metaprl/theories/czf/czf_itt_all.prla
+2 -2 metaprl/theories/czf/czf_itt_and.prla
+2 -2 metaprl/theories/czf/czf_itt_axioms.prla
+18 -18 metaprl/theories/czf/czf_itt_bool.prla
+0 -69 metaprl/theories/czf/czf_itt_comment.ml
+69 -69 metaprl/theories/czf/czf_itt_comment.mli
+2 -2 metaprl/theories/czf/czf_itt_comment.prla
+12 -12 metaprl/theories/czf/czf_itt_coset.prla
+2 -2 metaprl/theories/czf/czf_itt_cyclic_group.prla
+2 -2 metaprl/theories/czf/czf_itt_cyclic_subgroup.prla
+19 -19 metaprl/theories/czf/czf_itt_dall.prla
+14 -14 metaprl/theories/czf/czf_itt_dexists.prla
+2 -2 metaprl/theories/czf/czf_itt_empty.prla
+2 -2 metaprl/theories/czf/czf_itt_eq.prla
+28 -28 metaprl/theories/czf/czf_itt_equiv.prla
+2 -2 metaprl/theories/czf/czf_itt_exists.prla
+2 -2 metaprl/theories/czf/czf_itt_false.prla
+16 -16 metaprl/theories/czf/czf_itt_group.prla
+2 -2 metaprl/theories/czf/czf_itt_group_bvd.prla
+2 -2 metaprl/theories/czf/czf_itt_group_power.prla
+24 -24 metaprl/theories/czf/czf_itt_hom.prla
+2 -2 metaprl/theories/czf/czf_itt_implies.prla
+2 -2 metaprl/theories/czf/czf_itt_infinity.prla
+2 -2 metaprl/theories/czf/czf_itt_inv_image.prla
+2 -2 metaprl/theories/czf/czf_itt_isect.prla
+2 -2 metaprl/theories/czf/czf_itt_iso.prla
+20 -20 metaprl/theories/czf/czf_itt_ker.prla
+2 -2 metaprl/theories/czf/czf_itt_kleingroup.prla
+15 -15 metaprl/theories/czf/czf_itt_member.prla
+2 -2 metaprl/theories/czf/czf_itt_nat.prla
+8 -8 metaprl/theories/czf/czf_itt_normal_subgroup.prla
+2 -2 metaprl/theories/czf/czf_itt_or.prla
+9 -9 metaprl/theories/czf/czf_itt_pair.prla
+2 -2 metaprl/theories/czf/czf_itt_power.prla
+2 -2 metaprl/theories/czf/czf_itt_pre_theory.prla
+1 -0 metaprl/theories/czf/czf_itt_rel.ml
+2 -2 metaprl/theories/czf/czf_itt_rel.prla
+2 -2 metaprl/theories/czf/czf_itt_sall.prla
+17 -17 metaprl/theories/czf/czf_itt_sep.prla
+19 -19 metaprl/theories/czf/czf_itt_set.prla
+10 -10 metaprl/theories/czf/czf_itt_set_bvd.prla
+2 -2 metaprl/theories/czf/czf_itt_set_ind.prla
+2 -2 metaprl/theories/czf/czf_itt_setdiff.prla
+2 -2 metaprl/theories/czf/czf_itt_sexists.prla
+2 -2 metaprl/theories/czf/czf_itt_singleton.prla
+2 -2 metaprl/theories/czf/czf_itt_subgroup.prla
+2 -2 metaprl/theories/czf/czf_itt_subset.prla
+2 -2 metaprl/theories/czf/czf_itt_true.prla
+19 -19 metaprl/theories/czf/czf_itt_union.prla
+3 -3 metaprl/theories/experimental/compile/m_ast.ml
+1 -1 metaprl/theories/experimental/compile/m_ast.mli
+4 -4 metaprl/theories/experimental/compile/m_cps.ml
+1 -1 metaprl/theories/experimental/compile/m_doc_ir.ml
+1 -1 metaprl/theories/experimental/compile/m_doc_ir.mli
+2 -2 metaprl/theories/experimental/compile/m_doc_proposal.ml
+1 -1 metaprl/theories/experimental/compile/m_doc_proposal.mli
+4 -5 metaprl/theories/experimental/compile/m_ir.ml
+7 -2 metaprl/theories/experimental/compile/m_ir.mli
+7 -7 metaprl/theories/experimental/compile/m_ir_ast.ml
+1 -0 metaprl/theories/experimental/compile/m_standardize.ml
+10 -8 metaprl/theories/experimental/compile/m_test.ml
+13 -22 metaprl/theories/experimental/compile/m_x86_asm.ml
+5 -14 metaprl/theories/experimental/compile/m_x86_asm.mli
+12 -12 metaprl/theories/experimental/compile/m_x86_codegen.ml
+11 -11 metaprl/theories/experimental/compile/m_x86_term.ml
+3 -3 metaprl/theories/experimental/mcc/fir/type/m_fir.ml
+1 -1 metaprl/theories/experimental/mcc/fir/type/m_prec.ml
Properties metaprl/theories/experimental/syntax
Added metaprl/theories/experimental/syntax/OMakefile
Properties metaprl/theories/experimental/syntax/OMakefile
Added metaprl/theories/experimental/syntax/syntax_test.ml
Properties metaprl/theories/experimental/syntax/syntax_test.ml
Added metaprl/theories/experimental/syntax/syntax_test.mli
Properties metaprl/theories/experimental/syntax/syntax_test.mli
+1 -1 metaprl/theories/fir/mfir_record.ml
+1 -3 metaprl/theories/fir/mfir_sequent.ml
+1 -1 metaprl/theories/fir/mfir_sequent.mli
+2 -2 metaprl/theories/fir/mfir_test.prla
+6 -6 metaprl/theories/fol/cfol_itt_all.prla
+9 -9 metaprl/theories/fol/cfol_itt_and.prla
+2 -2 metaprl/theories/fol/cfol_itt_base.prla
+2 -2 metaprl/theories/fol/fol_ctheory.prla
+12 -12 metaprl/theories/fol/fol_itt_and.prla
+2 -2 metaprl/theories/fol/fol_itt_false.prla
+2 -2 metaprl/theories/fol/fol_itt_implies.prla
+10 -10 metaprl/theories/fol/fol_itt_or.prla
+2 -2 metaprl/theories/fol/fol_itt_true.prla
+5 -5 metaprl/theories/fol/fol_not.prla
+11 -11 metaprl/theories/fol/fol_prop.prla
+13 -13 metaprl/theories/fol/fol_struct.prla
+2 -0 metaprl/theories/itt/OMakefile
+2 -2 metaprl/theories/itt/ctt_markov.prla
+2 -2 metaprl/theories/itt/itt_algebra_df.ml
+2 -2 metaprl/theories/itt/itt_antiquotient.prla
+2 -6 metaprl/theories/itt/itt_atom.ml
+2 -2 metaprl/theories/itt/itt_atom.mli
+55 -2 metaprl/theories/itt/itt_atom.prla
+1 -0 metaprl/theories/itt/itt_bintree.ml
+54 -2 metaprl/theories/itt/itt_bintree.prla
+17 -17 metaprl/theories/itt/itt_bisect.prla
+2 -2 metaprl/theories/itt/itt_bool.prla
+2 -2 metaprl/theories/itt/itt_bunion.prla
+1 -0 metaprl/theories/itt/itt_closure.ml
+54 -2 metaprl/theories/itt/itt_closure.prla
+2 -2 metaprl/theories/itt/itt_collection.ml
+32 -32 metaprl/theories/itt/itt_collection.prla
+13 -120 metaprl/theories/itt/itt_comment.ml
+84 -84 metaprl/theories/itt/itt_comment.mli
+1 -0 metaprl/theories/itt/itt_cyclic_group.ml
+52 -2 metaprl/theories/itt/itt_cyclic_group.prla
+1 -0 metaprl/theories/itt/itt_datatree.ml
+8 -8 metaprl/theories/itt/itt_decidable.prla
+1 -0 metaprl/theories/itt/itt_derive.ml
+9 -9 metaprl/theories/itt/itt_derive.prla
+2 -2 metaprl/theories/itt/itt_dfun.prla
+22 -22 metaprl/theories/itt/itt_disect.prla
+2 -2 metaprl/theories/itt/itt_dprod.prla
+2 -2 metaprl/theories/itt/itt_dprod_imp.prla
+2 -2 metaprl/theories/itt/itt_eq_base.prla
+2 -2 metaprl/theories/itt/itt_equal.prla
+14 -14 metaprl/theories/itt/itt_esquash.prla
+2 -2 metaprl/theories/itt/itt_ext_equal.prla
+1 -0 metaprl/theories/itt/itt_field2.ml
+54 -2 metaprl/theories/itt/itt_field2.prla
+1 -0 metaprl/theories/itt/itt_field_e.ml
+54 -2 metaprl/theories/itt/itt_field_e.prla
+2 -2 metaprl/theories/itt/itt_fset.prla
+2 -2 metaprl/theories/itt/itt_fun.ml
+2 -2 metaprl/theories/itt/itt_fun.prla
+2 -2 metaprl/theories/itt/itt_fun2.prla
+2 -2 metaprl/theories/itt/itt_functions.prla
+1 -0 metaprl/theories/itt/itt_group.ml
+53 -2 metaprl/theories/itt/itt_group.prla
+6 -3 metaprl/theories/itt/itt_grouplikeobj.ml
+54 -2 metaprl/theories/itt/itt_grouplikeobj.prla
+11 -7 metaprl/theories/itt/itt_int_arith.ml
+2 -2 metaprl/theories/itt/itt_int_arith.prla
+29 -18 metaprl/theories/itt/itt_int_base.ml
+4 -3 metaprl/theories/itt/itt_int_base.mli
+2 -2 metaprl/theories/itt/itt_int_base.prla
+2 -2 metaprl/theories/itt/itt_int_bench.prla
+2 -2 metaprl/theories/itt/itt_int_bench2.prla
+9 -9 metaprl/theories/itt/itt_int_ext.ml
+2 -2 metaprl/theories/itt/itt_int_ext.prla
+2 -2 metaprl/theories/itt/itt_int_test.prla
+1 -0 metaprl/theories/itt/itt_intdomain.ml
+54 -2 metaprl/theories/itt/itt_intdomain.prla
+1 -0 metaprl/theories/itt/itt_intdomain_e.ml
+54 -2 metaprl/theories/itt/itt_intdomain_e.prla
+23 -23 metaprl/theories/itt/itt_isect.prla
Added metaprl/theories/itt/itt_labels.ml
Properties metaprl/theories/itt/itt_labels.ml
Added metaprl/theories/itt/itt_labels.mli
Properties metaprl/theories/itt/itt_labels.mli
+9 -9 metaprl/theories/itt/itt_list.ml
+2 -2 metaprl/theories/itt/itt_list.prla
+3 -1 metaprl/theories/itt/itt_list2.ml
+2 -2 metaprl/theories/itt/itt_list2.prla
+5 -5 metaprl/theories/itt/itt_logic.ml
+2 -2 metaprl/theories/itt/itt_logic.prla
+55 -2 metaprl/theories/itt/itt_mpoly.prla
+55 -2 metaprl/theories/itt/itt_mpoly2.prla
+55 -2 metaprl/theories/itt/itt_mpoly2_bench.prla
+55 -2 metaprl/theories/itt/itt_mpoly3.prla
+55 -2 metaprl/theories/itt/itt_mpoly3_bench.prla
+7 -6 metaprl/theories/itt/itt_nat.ml
+2 -2 metaprl/theories/itt/itt_nat.prla
+18 -18 metaprl/theories/itt/itt_nequal.prla
+2 -1 metaprl/theories/itt/itt_obj_base_rewrite.ml
+54 -2 metaprl/theories/itt/itt_obj_base_rewrite.prla
+1 -0 metaprl/theories/itt/itt_order.ml
+52 -2 metaprl/theories/itt/itt_order.prla
+7 -2 metaprl/theories/itt/itt_pairwise.ml
+2 -2 metaprl/theories/itt/itt_pairwise.prla
+5 -5 metaprl/theories/itt/itt_pointwise.prla
+5 -5 metaprl/theories/itt/itt_pointwise2.prla
+1 -0 metaprl/theories/itt/itt_poly.ml
+51 -2 metaprl/theories/itt/itt_poly.prla
+1 -1 metaprl/theories/itt/itt_prec.mli
+2 -2 metaprl/theories/itt/itt_prod.prla
+6 -6 metaprl/theories/itt/itt_prop_decide.prla
+2 -2 metaprl/theories/itt/itt_quotient.prla
+1 -0 metaprl/theories/itt/itt_quotient_group.ml
+53 -2 metaprl/theories/itt/itt_quotient_group.prla
+9 -6 metaprl/theories/itt/itt_rat.ml
+1 -0 metaprl/theories/itt/itt_rat.mli
+52 -2 metaprl/theories/itt/itt_rat.prla
+2 -2 metaprl/theories/itt/itt_rat2.prla
+1 -0 metaprl/theories/itt/itt_rbtree.ml
+13 -6 metaprl/theories/itt/itt_record.ml
+2 -2 metaprl/theories/itt/itt_record.mli
+54 -2 metaprl/theories/itt/itt_record.prla
+2 -2 metaprl/theories/itt/itt_record0.prla
+1 -0 metaprl/theories/itt/itt_record_exm.ml
+74 -22 metaprl/theories/itt/itt_record_exm.prla
+60 -7 metaprl/theories/itt/itt_record_label.prla
+2 -2 metaprl/theories/itt/itt_record_label0.prla
+12 -10 metaprl/theories/itt/itt_record_renaming.ml
+1 -0 metaprl/theories/itt/itt_record_renaming.mli
+57 -5 metaprl/theories/itt/itt_record_renaming.prla
+20 -19 metaprl/theories/itt/itt_reflection.ml
+3 -5 metaprl/theories/itt/itt_reflection.prla
+3 -5 metaprl/theories/itt/itt_reflection_example_lambda.prla
+20 -19 metaprl/theories/itt/itt_reflection_new.ml
+3 -5 metaprl/theories/itt/itt_reflection_test.prla
+1 -0 metaprl/theories/itt/itt_relation_str.ml
+5 -5 metaprl/theories/itt/itt_rfun.ml
+1 -1 metaprl/theories/itt/itt_rfun.mli
+2 -2 metaprl/theories/itt/itt_rfun.prla
+6 -3 metaprl/theories/itt/itt_ring2.ml
+54 -2 metaprl/theories/itt/itt_ring2.prla
+1 -0 metaprl/theories/itt/itt_ring_e.ml
+54 -2 metaprl/theories/itt/itt_ring_e.prla
+1 -0 metaprl/theories/itt/itt_ring_uce.ml
+53 -2 metaprl/theories/itt/itt_ring_uce.prla
+2 -2 metaprl/theories/itt/itt_set.prla
+3 -2 metaprl/theories/itt/itt_set_str.ml
+13 -13 metaprl/theories/itt/itt_singleton.prla
+7 -3 metaprl/theories/itt/itt_sort.ml
+23 -23 metaprl/theories/itt/itt_sort.prla
+1 -0 metaprl/theories/itt/itt_sortedtree.ml
+67 -16 metaprl/theories/itt/itt_sortedtree.prla
+21 -21 metaprl/theories/itt/itt_squash.prla
+2 -2 metaprl/theories/itt/itt_squiggle.prla
+2 -2 metaprl/theories/itt/itt_struct.prla
+2 -2 metaprl/theories/itt/itt_struct2.prla
+5 -5 metaprl/theories/itt/itt_struct3.prla
+21 -21 metaprl/theories/itt/itt_subset.prla
+2 -2 metaprl/theories/itt/itt_subset2.prla
+2 -2 metaprl/theories/itt/itt_subtype.prla
+2 -2 metaprl/theories/itt/itt_supinf.prla
+2 -2 metaprl/theories/itt/itt_synt_bterm.prla
+2 -2 metaprl/theories/itt/itt_synt_operator.prla
+2 -2 metaprl/theories/itt/itt_synt_var.prla
+10 -3 metaprl/theories/itt/itt_test.ml
+9 -9 metaprl/theories/itt/itt_tsquash.prla
+14 -14 metaprl/theories/itt/itt_tunion.prla
+31 -31 metaprl/theories/itt/itt_union.prla
+5 -5 metaprl/theories/itt/itt_unit.prla
+1 -0 metaprl/theories/itt/itt_unitring.ml
+54 -2 metaprl/theories/itt/itt_unitring.prla
+5 -5 metaprl/theories/itt/itt_void.prla
+26 -26 metaprl/theories/itt/itt_w.prla
+11 -11 metaprl/theories/itt/itt_well_founded.prla
+2 -2 metaprl/theories/itt/jprover_tests.prla
+2 -2 metaprl/theories/kat/kat_axioms.prla
+2 -2 metaprl/theories/mesa/ma_message__automata.prla
+2 -2 metaprl/theories/mesa/nuprl_Dconstant_object_directory.prla
+2 -2 metaprl/theories/mesa/nuprl_once_object_directory.prla
+2 -2 metaprl/theories/mesa/nuprl_recognizer1_object_directory.prla
+2 -2 metaprl/theories/mesa/nuprl_ring__leader1_object_directory.prla
+2 -2 metaprl/theories/mesa/nuprl_send__once_object_directory.prla
+2 -2 metaprl/theories/mesa/nuprl_trigger1_object_directory.prla
+4 -0 metaprl/theories/phobos/phobos_base.mli
+4 -17 metaprl/theories/phobos/phobos_theory.ml
+0 -0 metaprl/theories/sil/sil_program.ml
+5 -0 metaprl/theories/sil/sil_programs.ml
+5 -0 metaprl/theories/sil/sil_programs.mli
+0 -0 metaprl/theories/sil/sil_sos.ml
+4 -4 metaprl/theories/sil/sil_state.ml
+2 -2 metaprl/theories/sil/sil_state_types.ml
+3 -2 metaprl/theories/tptp/tptp.ml
+7003 -8115 metaprl/theories/tptp/tptp.prla
+1 -0 metaprl/theories/tptp/tptp_cache.ml
+5 -2 metaprl/util/gen_refiner_debug.pl
+4 -1 metaprl/util/gen_refiner_debug_err.pl
+0 -1 mpcompiler/mmc/OMakefile
+33 -174 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+92 -47 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+95 -90 mpcompiler/mmc/arch/x86/mmc_x86_backend.ml
+11 -10 mpcompiler/mmc/arch/x86/mmc_x86_closure.ml
+43 -61 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+18 -7 mpcompiler/mmc/arch/x86/mmc_x86_codegen.mli
+56 -56 mpcompiler/mmc/arch/x86/mmc_x86_convention.ml
+22 -27 mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
+15 -15 mpcompiler/mmc/arch/x86/mmc_x86_frame.mli
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_hoist.ml
+3 -3 mpcompiler/mmc/arch/x86/mmc_x86_opt1.ml
+24 -25 mpcompiler/mmc/arch/x86/mmc_x86_prologue.ml
+16 -9 mpcompiler/mmc/arch/x86/mmc_x86_prologue.mli
+22 -21 mpcompiler/mmc/arch/x86/mmc_x86_slop.ml
+62 -58 mpcompiler/mmc/arch/x86/mmc_x86_spill.ml
+0 -9 mpcompiler/mmc/base/mmc_base_dform.ml
+1 -1 mpcompiler/mmc/base/mmc_base_hoist.ml
+1 -1 mpcompiler/mmc/base/mmc_base_hoist.mli
+2 -23 mpcompiler/mmc/base/mmc_base_judgment.ml
+47 -4 mpcompiler/mmc/base/mmc_base_judgment.mli
+0 -7 mpcompiler/mmc/base/mmc_base_meta.ml
+6 -4 mpcompiler/mmc/base/mmc_base_meta.mli
+1 -1 mpcompiler/mmc/base/mmc_base_standardize.ml
+0 -2 mpcompiler/mmc/core/Files
+12 -70 mpcompiler/mmc/core/mmc_core_ast.ml
+56 -38 mpcompiler/mmc/core/mmc_core_ast.mli
+78 -65 mpcompiler/mmc/core/mmc_core_closure.ml
+0 -4 mpcompiler/mmc/core/mmc_core_closure.mli
+149 -98 mpcompiler/mmc/core/mmc_core_cps.ml
+8 -4 mpcompiler/mmc/core/mmc_core_cps.mli
+2 -2 mpcompiler/mmc/core/mmc_core_cps.prla
+11 -18 mpcompiler/mmc/core/mmc_core_front.ml
+2 -1 mpcompiler/mmc/core/mmc_core_front.mli
+7 -7 mpcompiler/mmc/core/mmc_core_grammar.ml
+7 -7 mpcompiler/mmc/core/mmc_core_grammar.mli
+4 -2 mpcompiler/mmc/core/mmc_core_hoist.ml
+16 -22 mpcompiler/mmc/core/mmc_core_inline.ml
+4 -3 mpcompiler/mmc/core/mmc_core_inline.mli
+2 -1 mpcompiler/mmc/core/mmc_core_list_util.ml
+2 -1 mpcompiler/mmc/core/mmc_core_list_util.mli
+4 -4 mpcompiler/mmc/core/mmc_core_optimize.ml
+17 -26 mpcompiler/mmc/core/mmc_core_reserve.ml
+5 -8 mpcompiler/mmc/core/mmc_core_reserve.mli
+95 -32 mpcompiler/mmc/core/mmc_core_sweep_ty.ml
+3 -0 mpcompiler/mmc/core/mmc_core_sweep_ty.mli
+20 -53 mpcompiler/mmc/core/mmc_core_tast.ml
+48 -13 mpcompiler/mmc/core/mmc_core_tast.mli
+1 -1 mpcompiler/mmc/core/mmc_core_tast_util.ml
+105 -94 mpcompiler/mmc/core/mmc_core_type_check.ml
+15 -8 mpcompiler/mmc/core/mmc_core_type_check.mli
+2 -2 mpcompiler/mmc/core/mmc_core_type_check.prla
+37 -37 mpcompiler/mmc/core/mmc_core_type_erase.ml
+12 -1 mpcompiler/mmc/core/mmc_core_type_erase.mli
+147 -21 mpcompiler/mmc/core/mmc_core_type_infer.ml
+9 -14 mpcompiler/mmc/core/mmc_core_value.ml
+6 -4 mpcompiler/mmc/core/mmc_core_value.mli
+14 -21 mpcompiler/mmc/extensions/array/mmc_ext_array.ml
+7 -5 mpcompiler/mmc/extensions/array/mmc_ext_array.mli
+29 -24 mpcompiler/mmc/extensions/array/mmc_ext_array_x86.ml
+27 -45 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+21 -15 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+2 -2 mpcompiler/mmc/extensions/bool/mmc_ext_boolean.prla
+2 -2 mpcompiler/mmc/extensions/bool/mmc_ext_boolean_x86.ml
+34 -46 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+34 -31 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+43 -43 mpcompiler/mmc/extensions/int/mmc_ext_integer_x86.ml
+7 -10 mpcompiler/mmc/extensions/loop/mmc_ext_loop.ml
+3 -1 mpcompiler/mmc/extensions/loop/mmc_ext_loop.mli
+42 -55 mpcompiler/mmc/extensions/operator/mmc_ext_operator.ml
+43 -7 mpcompiler/mmc/extensions/operator/mmc_ext_operator.mli
+8 -8 mpcompiler/mmc/extensions/reserve/mmc_ext_reserve.ml
+1 -1 mpcompiler/mmc/extensions/reserve/mmc_ext_reserve.mli
+8 -8 mpcompiler/mmc/extensions/reserve/mmc_ext_reserve_x86.ml
+2 -2 mpcompiler/mmc/extensions/special/mmc_ext_special.ml
+2 -2 mpcompiler/mmc/extensions/special/mmc_ext_special.mli
+2 -2 mpcompiler/mmc/extensions/special/mmc_ext_special_x86.ml
+2 -7 mpcompiler/mmc/extensions/string/mmc_ext_string.ml
+5 -2 mpcompiler/mmc/extensions/string/mmc_ext_string.mli
+12 -20 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+7 -5 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.mli
+9 -4 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple_x86.ml
+7 -6 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+4 -3 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.mli
+4 -8 mpcompiler/mmc/extensions/unit/mmc_ext_unit.ml
+5 -2 mpcompiler/mmc/extensions/unit/mmc_ext_unit.mli
+0 -1 mpcompiler/mmc/main/mmc_theory.ml
+0 -1 mpcompiler/mmc/main/mmc_theory.mli
+37 -37 mpcompiler/mmc/opt/direct/core/mmc_opt_direct.ml
+1 -1 mpcompiler/mmc/test/mmc
+23 -23 mpcompiler/mmc/test/mmc_array_test.ml
+0 -0 mpcompiler/mmc/test/mmc_core_test.ml
+2 -2 mpcompiler/mmc/test/mmc_core_test.prla
+8 -3 mpcompiler/mmc/test/mmc_spill_test.ml
+0 -1 mpcompiler/util/Files
+9 -8 mpcompiler/util/mm_arith_util.ml
+8 -7 mpcompiler/util/mm_arith_util.mli
+14 -13 mpcompiler/util/mm_dform_util.ml
+4 -4 mpcompiler/util/mm_dform_util.mli
+16 -9 mpcompiler/util/mm_list_util.ml
+10 -6 mpcompiler/util/mm_list_util.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-08 00:04:25 -0800 (Tue, 08 Feb 2005)
Revision: 6629
Log message:

      I overlooked free type variables in the environment during existential
      quantification in rules and rewrites.  This fixes it.  However, note
      that rewrites like the following don't typecheck.
      
         prim_rw add_sub_one :
            ('a in int) -->
            'a <--> (('a +@ 1) -@ 1)
      
      The rewrite is quite sensible in Itt, but problematic because it
      applies to any term in the system (including display forms
      for example).  The quick solution is to add the constraint.
      
         prim_rw add_sub_one ('a :> Term) :
            ('a in int) -->
            'a <--> (('a +@ 1) -@ 1)
      
      This is a bit suboptimal, but rewrites like this are very rare,
      and the extra alpha-equality adds only O(1) overhead.
      

Changes  Path
+12 -7 metaprl/filter/base/filter_cache_fun.ml
+2 -0 metaprl/filter/base/filter_type.ml
+1 -1 metaprl/filter/filter/filter_parse.ml
+4 -2 metaprl/filter/filter/term_grammar.ml
+59 -43 metaprl/refiner/reflib/term_ty_infer.ml
+1 -0 metaprl/refiner/reflib/term_ty_infer.mli
+2 -3 metaprl/theories/base/base_rewrite.ml
+1 -1 metaprl/theories/base/base_rewrite.mli
+7 -6 metaprl/theories/itt/itt_int_base.ml
+2 -2 metaprl/theories/itt/itt_int_ext.ml
+1 -1 metaprl/theories/itt/itt_int_ext.prla
+6 -6 metaprl/theories/itt/itt_rat.ml
+2 -2 metaprl/theories/itt/itt_record_renaming.ml
+2 -1 metaprl/theories/itt/itt_reflection.ml
+1 -0 metaprl/theories/itt/itt_reflection.mli
+2 -2 metaprl/theories/itt/itt_reflection.prla
+149 -5 metaprl/theories/ocaml_doc/ocaml_doc_exn1.ml
+1 -1 metaprl/theories/ocaml_doc/ocaml_doc_expr4.ml
+1 -1 mpcompiler/mmc/base/mmc_base_standardize.ml
+0 -6 mpcompiler/mmc/core/mmc_core_cps.ml
+0 -6 mpcompiler/mmc/core/mmc_core_grammar.ml
+1 -1 mpcompiler/mmc/core/mmc_core_type_infer.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-13 11:48:21 -0800 (Sun, 13 Feb 2005)
Revision: 6668
Log message:

      Corrected the subtyping rule for hyp contexts.
      

Changes  Path
+248 -116 metaprl/refiner/reflib/term_ty_infer.ml
+1 -1 mpcompiler/mmc/core/mmc_core_closure.ml
+1 -1 mpcompiler/mmc/core/mmc_core_tast.ml
+2 -2 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 10:27:25 -0800 (Mon, 21 Feb 2005)
Revision: 6732
Log message:

      Debugging type inference.
      

Changes  Path
+2 -2 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+63 -0 mpcompiler/mmc/extensions/operator/mmc_ext_operator.ml
+4 -0 mpcompiler/mmc/extensions/operator/mmc_ext_operator.mli
Added mpcompiler/mmc/test/mpkonsole
Properties mpcompiler/mmc/test/mpkonsole
Added mpcompiler/mmc/test/mpxterm
Properties mpcompiler/mmc/test/mpxterm

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 11:51:43 -0800 (Mon, 21 Feb 2005)
Revision: 6734
Log message:

      Check token types too.
      

Changes  Path
+1 -1 metaprl/filter/filter/filter_parse.ml
+6 -0 metaprl/refiner/refiner/refiner_debug.ml
+11 -4 metaprl/refiner/reflib/term_ty_infer.ml
+2 -0 metaprl/refiner/refsig/term_man_sig.ml
+51 -0 metaprl/refiner/term_ds/term_man_ds.ml
+59 -0 metaprl/refiner/term_gen/term_man_gen.ml
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_convention.ml
+4 -4 mpcompiler/mmc/core/mmc_core_type_erase.ml
+6 -7 mpcompiler/mmc/core/mmc_core_type_infer.ml
+3 -3 mpcompiler/mmc/extensions/operator/mmc_ext_operator.ml
+1 -1 mpcompiler/mmc/test/mpxterm

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 13:48:53 -0800 (Mon, 21 Feb 2005)
Revision: 6735
Log message:

      More minor updates.  We're now stuck in an infinite loop in CPS.
      

Changes  Path
+6 -1 mpcompiler/mmc/core/mmc_core_theory.ml
+1 -0 mpcompiler/mmc/core/mmc_core_theory.mli
+8 -9 mpcompiler/mmc/core/mmc_core_type_erase.ml
+33 -37 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 16:16:40 -0800 (Mon, 21 Feb 2005)
Revision: 6736
Log message:

      1. tycps_tyfun_std had some serious problems.
      2. Removed mmc_core_def, since we get the ability from iforms.
      3. Print stages during debug compiling, so we have some idea where
         things go wrong.
      

Changes  Path
+7 -6 mpcompiler/mmc/base/Files
Added mpcompiler/mmc/base/mmc_base_tactic.ml
Properties mpcompiler/mmc/base/mmc_base_tactic.ml
Added mpcompiler/mmc/base/mmc_base_tactic.mli
Properties mpcompiler/mmc/base/mmc_base_tactic.mli
+0 -1 mpcompiler/mmc/core/Files
+11 -20 mpcompiler/mmc/core/mmc_core_cps.ml
Deleted mpcompiler/mmc/core/mmc_core_def.ml
Deleted mpcompiler/mmc/core/mmc_core_def.mli
+1 -13 mpcompiler/mmc/core/mmc_core_theory.ml
+0 -1 mpcompiler/mmc/core/mmc_core_theory.mli
+1 -1 mpcompiler/mmc/core/mmc_core_type_infer.ml
+4 -9 mpcompiler/mmc/extensions/reserve/mmc_ext_reserve.ml
+6 -1 mpcompiler/mmc/extensions/reserve/mmc_ext_reserve.mli
+17 -18 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 17:46:01 -0800 (Mon, 21 Feb 2005)
Revision: 6739
Log message:

      Working on the backend.  The terms changed a lot, so most of the
      files are not compiled.  I'll add them back as I work through the
      backend.
      

Changes  Path
+17 -16 mpcompiler/mmc/arch/x86/Files
+53 -38 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+41 -43 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+10 -10 mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
+7 -7 mpcompiler/mmc/arch/x86/mmc_x86_frame.mli
+8 -3 mpcompiler/mmc/arch/x86/mmc_x86_theory.ml
+1 -0 mpcompiler/mmc/core/mmc_core_theory.mli
+2 -3 mpcompiler/mmc/extensions/array/Files
+2 -3 mpcompiler/mmc/extensions/bool/Files
+2 -3 mpcompiler/mmc/extensions/int/Files
+2 -1 mpcompiler/mmc/extensions/operator/Files
+2 -3 mpcompiler/mmc/extensions/reserve/Files
+2 -3 mpcompiler/mmc/extensions/special/Files
+1 -1 mpcompiler/mmc/extensions/string/Files
+2 -3 mpcompiler/mmc/extensions/tuple/Files
+1 -1 mpcompiler/mmc/extensions/tyexists/Files
+2 -3 mpcompiler/mmc/extensions/unit/Files
+6 -8 mpcompiler/mmc/main/mmc_theory.ml
+5 -5 mpcompiler/mmc/main/mmc_theory.mli
+16 -17 mpcompiler/mmc/test/mmc
+1 -1 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 18:03:12 -0800 (Mon, 21 Feb 2005)
Revision: 6740
Log message:

      Added a <-- form for productions, which really makes more sense than
      the --> form we are using.
      

Changes  Path
+26 -0 metaprl/filter/filter/filter_parse.ml
+1 -0 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+4 -0 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 19:31:29 -0800 (Mon, 21 Feb 2005)
Revision: 6741
Log message:

      Different quotations should not be required to use the
      same lexer.  This commit adds the ability to define multiple
      lexers (the grammars can still be shared).
      
      Now, instead of
         lex_token "[0-9]+" --> number[lexeme:n]
      you have to specify the lexer
         declare mmc : Lexer
         ...
         lex_token mmc : "[0-9]+" --> number[lexeme:n]
      
      CAUTION: this commit breaks binary compatibility.  I'm sorry about
      this hassle--the change doesn't really affect those of you who
      don't use the input grammars.  In any case, you should export any
      unsaved work before updating from cvs.
      

Changes  Path
+5 -2 metaprl/filter/base/OMakefile
+6 -6 metaprl/filter/base/filter_cache_fun.ml
+74 -22 metaprl/filter/base/filter_grammar.ml
+8 -2 metaprl/filter/base/filter_grammar.mli
+3 -2 metaprl/filter/base/filter_magic.ml
+2 -2 metaprl/filter/base/filter_summary_type.ml
+14 -14 metaprl/filter/filter/filter_parse.ml
+6 -0 metaprl/support/display/perv.mli
+14 -0 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+14 -14 mpcompiler/mmc/core/mmc_core_ast.mli
+7 -6 mpcompiler/mmc/core/mmc_core_grammar.mli
+9 -9 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+19 -19 mpcompiler/mmc/extensions/int/mmc_ext_int.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-21 20:50:16 -0800 (Mon, 21 Feb 2005)
Revision: 6745
Log message:

      The assembly grammar is partially defined.
      

Changes  Path
+101 -4 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 14:17:33 -0800 (Tue, 22 Feb 2005)
Revision: 6746
Log message:

      Added two new iform terms:
      
         1. xsovar[x:v]{'cvars; 'args} is iform translated to a so-var.
         2. A hyp of the form
      
               x: xhypcontext{'cvars; 'args}
      
            gets translated to a hyp context.
      
      In both cases, the 'cvars and 'args should be an xlist.
      
      The x86 assembly grammar is nearly complete.  Starting on the
      tast grammar.
      

Changes  Path
+91 -2 metaprl/filter/base/filter_grammar.ml
+2 -3 metaprl/filter/base/filter_summary.ml
+15 -0 metaprl/refiner/refiner/refiner_debug.ml
+2 -1 metaprl/refiner/reflib/term_ty_infer.ml
+3 -0 metaprl/refiner/refsig/term_op_sig.ml
+23 -0 metaprl/refiner/term_ds/term_op_ds.ml
+22 -1 metaprl/refiner/term_std/term_op_std.ml
+17 -0 metaprl/support/display/perv.mli
+109 -4 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+225 -25 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+2 -2 mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
+1 -1 mpcompiler/mmc/core/mmc_core_ast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 15:32:35 -0800 (Tue, 22 Feb 2005)
Revision: 6747
Log message:

      Added most of the grammar for the tast.
      

Changes  Path
+93 -93 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+1 -1 mpcompiler/mmc/core/mmc_core_ast.ml
+86 -67 mpcompiler/mmc/core/mmc_core_ast.mli
+3 -3 mpcompiler/mmc/core/mmc_core_grammar.mli
+159 -0 mpcompiler/mmc/core/mmc_core_tast.mli
+8 -8 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+29 -29 mpcompiler/mmc/extensions/int/mmc_ext_int.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 15:43:14 -0800 (Tue, 22 Feb 2005)
Revision: 6748
Log message:

      Added tast grammars for integers and Booleans.
      

Changes  Path
+19 -4 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+38 -2 mpcompiler/mmc/extensions/int/mmc_ext_int.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 18:31:27 -0800 (Tue, 22 Feb 2005)
Revision: 6749
Log message:

      Lm_parser was not computing the nullable productions properly,
      and it was using goto 0 after reduce on an empty production.
      

Changes  Path
+1 -0 mpcompiler/mmc/arch/x86/Files
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+13 -178 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+4 -9 mpcompiler/mmc/arch/x86/mmc_x86_codegen.mli
+4 -0 mpcompiler/mmc/arch/x86/mmc_x86_frame.mli
+2 -0 mpcompiler/mmc/core/mmc_core_ast.mli
+0 -1 mpcompiler/mmc/core/mmc_core_grammar.mli
+8 -0 mpcompiler/mmc/core/mmc_core_hoist.mli
+17 -12 mpcompiler/mmc/core/mmc_core_tast.mli
+2 -8 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 19:05:37 -0800 (Tue, 22 Feb 2005)
Revision: 6750
Log message:

      Added contexts, so you can write such things as:
      
         <:tast< fun#std (x: ty, <H>) -> e >>
         <:tast< fun#std <H> -> e >>
      

Changes  Path
+2 -2 metaprl/filter/base/filter_grammar.ml
+6 -1 mpcompiler/mmc/core/mmc_core_ast.mli
+4 -0 mpcompiler/mmc/core/mmc_core_tast.ml
+50 -28 mpcompiler/mmc/core/mmc_core_tast.mli
+0 -4 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+2 -1 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 20:25:41 -0800 (Tue, 22 Feb 2005)
Revision: 6751
Log message:

      Added support for nested quotations.  Here is an example.
      
      interactive foo :
         sequent { <H> >- <:tast< let v : << TyInt >> = 1 in v >> in TyTop }
      

Changes  Path
+109 -62 metaprl/filter/base/filter_grammar.ml
+3 -2 metaprl/filter/base/filter_grammar.mli
+1 -1 metaprl/filter/filter/filter_prog.ml
+153 -135 metaprl/filter/filter/term_grammar.ml
+2 -0 metaprl/refiner/refiner/refine.ml
+6 -0 metaprl/refiner/refiner/refiner_debug.ml
+8 -0 metaprl/refiner/refsig/refine_sig.ml
+4 -0 metaprl/support/display/perv.mli
+15 -0 mpcompiler/mmc/core/mmc_core_tast.ml
+40 -14 mpcompiler/mmc/core/mmc_core_tast.mli
+1 -1 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-22 20:59:10 -0800 (Tue, 22 Feb 2005)
Revision: 6753
Log message:

      Can almost specify a code generation step.
      

Changes  Path
+2 -1 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+2 -1 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+4 -2 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+8 -0 mpcompiler/mmc/core/mmc_core_tast.ml
+15 -1 mpcompiler/mmc/core/mmc_core_tast.mli
+1 -0 mpcompiler/mmc/core/mmc_core_theory.ml
+1 -1 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-23 11:24:00 -0800 (Wed, 23 Feb 2005)
Revision: 6755
Log message:

      Yay, my first codegen rule, codegen_hoist_fun.  It is wrong,
      but that's beside the point.
      

Changes  Path
+4 -0 metaprl/refiner/reflib/refine_exn.ml
+40 -0 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+190 -70 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+2 -8 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+22 -0 mpcompiler/mmc/core/mmc_core_tast.ml
+49 -20 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-23 12:58:38 -0800 (Wed, 23 Feb 2005)
Revision: 6756
Log message:

      Progress for generating code for closures.
      
      We need a better way to parse nested quotations.
      Currently, quotations are matched by the lexer, which
      can only match regular expressions.  One option is to
      hard-code quotation matching into the lexer, which is
      esentially the way camlp4 does it.
      

Changes  Path
+21 -9 metaprl/filter/base/filter_grammar.ml
+18 -16 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+11 -2 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+9 -4 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-23 20:53:46 -0800 (Wed, 23 Feb 2005)
Revision: 6757
Log message:

      Added nested lexing to handle nested matching pairs.
      The syntax is:
      
         lex_token <lexer> : <left> <right> [--> <token>]
      
      So, a Caml-style nesting comment could be ignored as follows.
      
         lex_token mmc : "[(][*]" "[*][)]"
      
      Quotations are handled this way too.
      
         (*
          * arg1 is the start delimiter, arg2 is the end delimiter.
          * the default quotation is "term".
          *)
         lex_token mmc : "<<" ">>" --> tok_quotation{xquotation[arg1:s, lexeme:s]}
      
      The xquotations are expanded eagerly, at lex time.  They are still
      expanded as iforms, so you can always type them in directly if you want.
      
         iform parse_as_term : foo[q:s] <--> xquotation["term", q:s]
      

Changes  Path
+4 -2 metaprl/filter/base/filter_cache_fun.ml
+163 -58 metaprl/filter/base/filter_grammar.ml
+7 -3 metaprl/filter/base/filter_grammar.mli
+1 -1 metaprl/filter/base/filter_magic.ml
+2 -1 metaprl/filter/base/filter_summary_type.ml
+8 -1 metaprl/filter/base/filter_type.ml
+22 -10 metaprl/filter/filter/filter_parse.ml
+17 -11 metaprl/filter/filter/term_grammar.ml
+2 -9 metaprl/filter/filter/term_grammar.mli
+13 -1 metaprl/refiner/refiner/refiner_debug.ml
+3 -0 metaprl/refiner/refsig/term_op_sig.ml
+19 -0 metaprl/refiner/term_ds/term_op_ds.ml
+19 -0 metaprl/refiner/term_std/term_op_std.ml
+1 -1 metaprl/support/display/perv.mli
+6 -3 metaprl/support/shell/shell_state.ml
+8 -9 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+3 -3 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+6 -6 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-26 10:14:15 -0800 (Sat, 26 Feb 2005)
Revision: 6763
Log message:

      Changed args to be a vector instead of a list.
      This is to match with tuples.
      

Changes  Path
+3 -0 metaprl/filter/base/filter_grammar.ml
+3 -1 metaprl/filter/filter/term_grammar.ml
+2 -2 metaprl/refiner/reflib/term_ty_infer.ml
+20 -8 mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
+54 -7 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+8 -8 mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
+28 -14 mpcompiler/mmc/core/mmc_core_ast.ml
+166 -86 mpcompiler/mmc/core/mmc_core_ast.mli
+48 -41 mpcompiler/mmc/core/mmc_core_closure.ml
+25 -15 mpcompiler/mmc/core/mmc_core_cps.ml
+9 -9 mpcompiler/mmc/core/mmc_core_front.ml
+4 -0 mpcompiler/mmc/core/mmc_core_grammar.ml
+4 -0 mpcompiler/mmc/core/mmc_core_grammar.mli
+23 -22 mpcompiler/mmc/core/mmc_core_inline.ml
+1 -1 mpcompiler/mmc/core/mmc_core_inline.mli
+7 -5 mpcompiler/mmc/core/mmc_core_optimize.ml
+12 -3 mpcompiler/mmc/core/mmc_core_reserve.ml
+15 -9 mpcompiler/mmc/core/mmc_core_tast.ml
+77 -48 mpcompiler/mmc/core/mmc_core_tast.mli
+12 -11 mpcompiler/mmc/core/mmc_core_type_check.ml
+12 -7 mpcompiler/mmc/core/mmc_core_type_erase.ml
+7 -11 mpcompiler/mmc/core/mmc_core_type_infer.ml
+5 -5 mpcompiler/mmc/core/mmc_core_value.ml
+2 -0 mpcompiler/mmc/extensions/array/mmc_ext_array.ml
+25 -0 mpcompiler/mmc/extensions/array/mmc_ext_array.mli
+6 -8 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+2 -2 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+2 -2 mpcompiler/mmc/extensions/loop/mmc_ext_loop.ml
+1 -0 mpcompiler/mmc/lir/LIR-notes.txt
+0 -1 mpcompiler/mmc/main/mmc_theory.mli
+2 -0 mpcompiler/mmc/opt/direct/core/mmc_opt_direct.ml
+19 -23 mpcompiler/mmc/test/mmc_array_test.ml
+4 -8 mpcompiler/mmc/test/mmc_spill_test.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-26 14:14:55 -0800 (Sat, 26 Feb 2005)
Revision: 6764
Log message:

      Upgraded the existential type.
      

Changes  Path
+30 -15 mpcompiler/mmc/core/mmc_core_tast.mli
+1 -1 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+82 -57 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+32 -7 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.mli
+94 -32 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+47 -5 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 11:40:35 -0800 (Sun, 27 Feb 2005)
Revision: 6765
Log message:

      Add the return type to functions.
      

Changes  Path
+17 -17 mpcompiler/mmc/core/mmc_core_closure.ml
+14 -14 mpcompiler/mmc/core/mmc_core_cps.ml
+3 -3 mpcompiler/mmc/core/mmc_core_front.ml
+1 -1 mpcompiler/mmc/core/mmc_core_hoist.ml
+6 -6 mpcompiler/mmc/core/mmc_core_inline.ml
+3 -3 mpcompiler/mmc/core/mmc_core_optimize.ml
+18 -17 mpcompiler/mmc/core/mmc_core_tast.ml
+8 -8 mpcompiler/mmc/core/mmc_core_tast.mli
+7 -48 mpcompiler/mmc/core/mmc_core_type_check.ml
+5 -5 mpcompiler/mmc/core/mmc_core_type_erase.ml
+2 -2 mpcompiler/mmc/core/mmc_core_type_infer.ml
+1 -1 mpcompiler/mmc/core/mmc_core_value.ml
+2 -2 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+0 -12 mpcompiler/mmc/extensions/loop/mmc_ext_loop.ml
+1 -1 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
Deleted mpcompiler/mmc/lir/LIR-notes.txt
Deleted mpcompiler/mmc/lir/mmc_lir_ast.ml
Added mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
Properties mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
Deleted mpcompiler/mmc/lir/mmc_lir_of_tast.ml
Deleted mpcompiler/mmc/lir/mmc_lir_simplify.ml
Deleted mpcompiler/mmc/lir/mmc_lir_simplify.mli
+2 -2 mpcompiler/mmc/opt/direct/core/mmc_opt_direct.ml
+0 -2 mpcompiler/mmc/test/mmc_grammar.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 12:15:49 -0800 (Sun, 27 Feb 2005)
Revision: 6766
Log message:

      Fixed some typing problems I introduced on the last commit.
      

Changes  Path
+1 -1 mpcompiler/mmc/core/mmc_core_closure.ml
+6 -6 mpcompiler/mmc/core/mmc_core_cps.ml
+10 -4 mpcompiler/mmc/core/mmc_core_tast.ml
+1 -1 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+2 -3 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 13:50:32 -0800 (Sun, 27 Feb 2005)
Revision: 6767
Log message:

      Closure elimination is half finished.
      

Changes  Path
+7 -0 mpcompiler/mmc/OMakefile
+10 -0 mpcompiler/mmc/core/mmc_core_ast.mli
+15 -0 mpcompiler/mmc/core/mmc_core_tast.ml
+45 -8 mpcompiler/mmc/core/mmc_core_tast.mli
+0 -2 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+19 -0 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+6 -4 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.mli
Added mpcompiler/mmc/lir/Files
Properties mpcompiler/mmc/lir/Files
Properties mpcompiler/mmc/lir/closure_elim
Added mpcompiler/mmc/lir/closure_elim/Files
Properties mpcompiler/mmc/lir/closure_elim/Files
Added mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim.ml
Properties mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim.ml
Added mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim.mli
Properties mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim.mli
Added mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml
Properties mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml
Added mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.mli
Properties mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.mli
Deleted mpcompiler/mmc/lir/mmc_lir_closure_elim.ml
Added mpcompiler/mmc/lir/mmc_lir_theory.ml
Properties mpcompiler/mmc/lir/mmc_lir_theory.ml
Added mpcompiler/mmc/lir/mmc_lir_theory.mli
Properties mpcompiler/mmc/lir/mmc_lir_theory.mli
+1 -1 mpcompiler/mmc/test/mmc_int_test.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 15:18:43 -0800 (Sun, 27 Feb 2005)
Revision: 6768
Log message:

      Pack the closures as existentially quantified tuples.
      

Changes  Path
+2 -2 mpcompiler/mmc/base/mmc_base_meta.ml
+79 -20 mpcompiler/mmc/core/mmc_core_tast.ml
+59 -11 mpcompiler/mmc/core/mmc_core_tast.mli
+2 -2 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+9 -0 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml
+10 -2 mpcompiler/mmc/main/mmc_theory.ml
+4 -0 mpcompiler/mmc/main/mmc_theory.mli
+2 -1 mpcompiler/mmc/test/mmc

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 15:56:01 -0800 (Sun, 27 Feb 2005)
Revision: 6769
Log message:

      For a standard application, project the (env, f) and call with the
      extra argument.
      

Changes  Path
+4 -4 mpcompiler/mmc/core/mmc_core_tast.ml
+6 -6 mpcompiler/mmc/core/mmc_core_tast.mli
+2 -0 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+2 -2 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+1 -1 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.mli
+14 -1 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 17:39:13 -0800 (Sun, 27 Feb 2005)
Revision: 6770
Log message:

      Simple closure elimination is finished.
      

Changes  Path
+2 -3 mpcompiler/mmc/core/mmc_core_tast.ml
+11 -12 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.ml
+0 -2 mpcompiler/mmc/extensions/tuple/mmc_ext_tuple.mli
+2 -3 mpcompiler/mmc/extensions/tyexists/mmc_ext_tyexists.ml
+78 -15 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml
+2 -0 mpcompiler/util/mm_arith_util.ml
+3 -0 mpcompiler/util/mm_arith_util.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 19:36:10 -0800 (Sun, 27 Feb 2005)
Revision: 6771
Log message:

      Added support for closure elimination for recursive functions.
      Also, place all hoisted functions in a big "let rec".
      

Changes  Path
+1 -0 metaprl/refiner/rewrite/rewrite_build_contractum.ml
+31 -0 mpcompiler/mmc/core/mmc_core_hoist.ml
+64 -32 mpcompiler/mmc/core/mmc_core_tast.ml
+72 -25 mpcompiler/mmc/core/mmc_core_tast.mli
+35 -11 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-27 19:52:29 -0800 (Sun, 27 Feb 2005)
Revision: 6772
Log message:

      Additional minor fixes.
      

Changes  Path
+2 -6 mpcompiler/mmc/core/mmc_core_tast.ml
+2 -2 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 09:39:37 -0800 (Mon, 28 Feb 2005)
Revision: 6773
Log message:

      Update the display forms.
      

Changes  Path
+2 -2 mpcompiler/mmc/core/mmc_core_tast.ml
+7 -2 mpcompiler/mmc/lir/closure_elim/mmc_lir_closure_elim_core.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 10:03:35 -0800 (Mon, 28 Feb 2005)
Revision: 6774
Log message:

      Reorganized the x86 directory hierarchy.
      

Changes  Path
+7 -1 mpcompiler/mmc/OMakefile
+0 -17 mpcompiler/mmc/arch/x86/Files
Properties mpcompiler/mmc/arch/x86/base
Added mpcompiler/mmc/arch/x86/base/Files
Properties mpcompiler/mmc/arch/x86/base/Files
Added mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
Added mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
Added mpcompiler/mmc/arch/x86/base/mmc_x86_frame.ml
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_frame.ml
Added mpcompiler/mmc/arch/x86/base/mmc_x86_frame.mli
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_frame.mli
Added mpcompiler/mmc/arch/x86/base/mmc_x86_util.ml
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_util.ml
Added mpcompiler/mmc/arch/x86/base/mmc_x86_util.mli
Properties mpcompiler/mmc/arch/x86/base/mmc_x86_util.mli
Properties mpcompiler/mmc/arch/x86/codegen
Added mpcompiler/mmc/arch/x86/codegen/Files
Properties mpcompiler/mmc/arch/x86/codegen/Files
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_asm.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_backend.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_backend.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_closure.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_closure.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_coalesce.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_coalesce.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_codegen.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_convention.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_convention.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_dead.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_dead.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_frame.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_frame.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_hoist.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_hoist.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_opt1.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_opt1.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_prologue.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_prologue.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_regalloc.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_regalloc.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_slop.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_slop.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_spill.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_spill.mli
Deleted mpcompiler/mmc/arch/x86/mmc_x86_util.ml
Deleted mpcompiler/mmc/arch/x86/mmc_x86_util.mli
Properties mpcompiler/mmc/arch/x86/opt
Added mpcompiler/mmc/arch/x86/opt/Files
Properties mpcompiler/mmc/arch/x86/opt/Files
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_dead.ml
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_dead.ml
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_dead.mli
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_dead.mli
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.ml
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.ml
Added mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.mli
Properties mpcompiler/mmc/arch/x86/opt/mmc_x86_opt1.mli
Properties mpcompiler/mmc/arch/x86/print
Added mpcompiler/mmc/arch/x86/print/Files
Properties mpcompiler/mmc/arch/x86/print/Files
Added mpcompiler/mmc/arch/x86/print/mmc_x86_backend.ml
Properties mpcompiler/mmc/arch/x86/print/mmc_x86_backend.ml
Added mpcompiler/mmc/arch/x86/print/mmc_x86_backend.mli
Properties mpcompiler/mmc/arch/x86/print/mmc_x86_backend.mli
Properties mpcompiler/mmc/arch/x86/regalloc
Added mpcompiler/mmc/arch/x86/regalloc/Files
Properties mpcompiler/mmc/arch/x86/regalloc/Files
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_coalesce.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_coalesce.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_coalesce.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_coalesce.mli
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_convention.mli
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_regalloc.mli
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_slop.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_slop.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_slop.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_slop.mli
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.ml
Added mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.mli
Properties mpcompiler/mmc/arch/x86/regalloc/mmc_x86_spill.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 12:20:50 -0800 (Mon, 28 Feb 2005)
Revision: 6775
Log message:

      Core code generation is complete.
      

Changes  Path
+50 -10 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.ml
+223 -49 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+0 -68 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.ml
+0 -10 mpcompiler/mmc/arch/x86/base/mmc_x86_frame.mli
+2 -2 mpcompiler/mmc/arch/x86/base/mmc_x86_util.ml
+111 -63 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.ml
+5 -5 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.mli
+41 -35 mpcompiler/mmc/core/mmc_core_tast.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 12:55:30 -0800 (Mon, 28 Feb 2005)
Revision: 6776
Log message:

      Added code generation for tuples and existential types.
      

Changes  Path
+53 -11 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+2 -0 mpcompiler/mmc/arch/x86/codegen/Files
+0 -18 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.ml
+1 -0 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.mli
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.mli
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.ml
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.ml
Added mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.mli
Properties mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 13:21:37 -0800 (Mon, 28 Feb 2005)
Revision: 6777
Log message:

      Almost finished tuples.
      

Changes  Path
+20 -0 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-28 17:58:21 -0800 (Mon, 28 Feb 2005)
Revision: 6781
Log message:

      We decided all extension-specific code should go in the extensions/
      directory regardless of which stage it belongs to.
      

Changes  Path
+2 -0 mpcompiler/mmc/arch/x86/base/mmc_x86_asm.mli
+0 -2 mpcompiler/mmc/arch/x86/codegen/Files
+18 -9 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.ml
+2 -2 mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_core.mli
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.ml
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tuple.mli
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.ml
Deleted mpcompiler/mmc/arch/x86/codegen/mmc_x86_codegen_tyexists.mli
+1 -0 mpcompiler/mmc/extensions/tuple/Files
Deleted mpcompiler/mmc/extensions/tuple/mmc_ext_tuple_x86.ml
Deleted mpcompiler/mmc/extensions/tuple/mmc_ext_tuple_x86.mli
Added mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
Properties mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.ml
Added mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.mli
Properties mpcompiler/mmc/extensions/tuple/mmc_x86_tuple.mli
+1 -0 mpcompiler/mmc/extensions/tyexists/Files
Added mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml
Properties mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.ml
Added mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.mli
Properties mpcompiler/mmc/extensions/tyexists/mmc_x86_tyexists.mli