Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2004-12-02 17:38:16 -0800 (Thu, 02 Dec 2004)
Revision: 6316
Log message:

      Merging Jason's mmc_parser branch.
      
      This adds a new Libmojave/rewriter-based parser similar to Phobos.
      The advantage of this new parser (compared to Phobos) is that it is
      much better integrated to the rest of the filter. In particular:
       - New-style grammar specifications reside in .mli and .ml, and not
         in a separate .pho file (note - .mli grammars are inherited; .ml ones
         are local)
       - The opname management is reused (no need to re-declare opnames in the
         grammar specifications).
       - Grammars are saved in the .cmoz/.cmiz instead of a separate file.
       - Grammars are properly scoped (and toploop knows about it).
       - Grammars are inherited along the module inheritance hierarchy
         and can be extended by the children.
       - Instead of a single "<:ext<" grammar, arbitrarily-named grammars may be
         defined.
      

Changes  Path
+5 -5 metaprl/editor/emacs/caml.el
Binary metaprl/editor/emacs/caml.elc
+2 -1 metaprl/filter/base/Files
+1 -0 metaprl/filter/base/OMakefile
+232 -128 metaprl/filter/base/filter_cache_fun.ml
+8 -0 metaprl/filter/base/filter_exn.ml
Added metaprl/filter/base/filter_grammar.ml
Properties metaprl/filter/base/filter_grammar.ml
Added metaprl/filter/base/filter_grammar.mli
Properties metaprl/filter/base/filter_grammar.mli
+4 -3 metaprl/filter/base/filter_magic.ml
+68 -33 metaprl/filter/base/filter_summary.ml
+79 -59 metaprl/filter/base/filter_summary_type.ml
+30 -29 metaprl/filter/base/filter_type.ml
+229 -39 metaprl/filter/filter/filter_parse.ml
+32 -17 metaprl/filter/filter/filter_prog.ml
+30 -10 metaprl/filter/filter/term_grammar.ml
+2 -1 metaprl/filter/filter/term_grammar.mli
+9 -4 metaprl/support/shell/package_info.ml
+4 -0 metaprl/support/shell/package_info.mli
+7 -1 metaprl/support/shell/shell_core.ml
+4 -3 metaprl/support/shell/shell_package.ml
+40 -0 metaprl/support/shell/shell_state.ml
+2 -0 metaprl/support/shell/shell_state.mli
Properties mpcompiler/mmc
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_asm.ml
+2 -1 mpcompiler/mmc/arch/x86/mmc_x86_backend.ml
+4 -0 mpcompiler/mmc/arch/x86/mmc_x86_codegen.ml
+1 -1 mpcompiler/mmc/arch/x86/mmc_x86_opt1.ml
+7 -3 mpcompiler/mmc/arch/x86/mmc_x86_regalloc.ml
+1 -0 mpcompiler/mmc/arch/x86/runtime/OMakefile
+1 -1 mpcompiler/mmc/base/mmc_base_hoist.ml
+1 -0 mpcompiler/mmc/core/Files
+38 -0 mpcompiler/mmc/core/mmc_core_ast.ml
+121 -1 mpcompiler/mmc/core/mmc_core_ast.mli
Added mpcompiler/mmc/core/mmc_core_grammar.ml
Properties mpcompiler/mmc/core/mmc_core_grammar.ml
Added mpcompiler/mmc/core/mmc_core_grammar.mli
Properties mpcompiler/mmc/core/mmc_core_grammar.mli
+10 -0 mpcompiler/mmc/extensions/bool/mmc_ext_bool.ml
+29 -0 mpcompiler/mmc/extensions/bool/mmc_ext_bool.mli
+17 -0 mpcompiler/mmc/extensions/int/mmc_ext_int.ml
+68 -0 mpcompiler/mmc/extensions/int/mmc_ext_int.mli
+1 -0 mpcompiler/mmc/extensions/operator/mmc_ext_operator.mli
+1 -1 mpcompiler/mmc/main/mmc_theory.ml
+1 -1 mpcompiler/mmc/main/mmc_theory.mli
+1 -0 mpcompiler/mmc/test/Files
+1 -1 mpcompiler/mmc/test/OMakefile
+5 -1 mpcompiler/mmc/test/mmc
Added mpcompiler/mmc/test/mmc_grammar.ml
Properties mpcompiler/mmc/test/mmc_grammar.ml
Added mpcompiler/mmc/test/mmc_grammar.mli
Properties mpcompiler/mmc/test/mmc_grammar.mli
+12 -10 mpcompiler/mmc/test/mmc_int_test.ml
+2 -1 mpcompiler/mmc/test/mmc_tests_out.previous