src/Pure/Syntax/ROOT.ML
changeset 417 6bb9eb9cb02f
parent 392 674d878719bd
child 549 5d904be18774
equal deleted inserted replaced
416:12f9f36e4484 417:6bb9eb9cb02f
     8 use "pretty.ML";
     8 use "pretty.ML";
     9 use "lexicon.ML";
     9 use "lexicon.ML";
    10 use "ast.ML";
    10 use "ast.ML";
    11 use "syn_ext.ML";
    11 use "syn_ext.ML";
    12 use "parser.ML";
    12 use "parser.ML";
    13 (*use "earley0A.ML";*)      (* FIXME remove *)
       
    14 use "type_ext.ML";
    13 use "type_ext.ML";
    15 use "sextension.ML";
    14 use "sextension.ML";
    16 use "mixfix.ML";
    15 use "mixfix.ML";
    17 use "printer.ML";
    16 use "printer.ML";
    18 use "syntax.ML";
    17 use "syntax.ML";
    22 structure Scanner: SCANNER = Lexicon;
    21 structure Scanner: SCANNER = Lexicon;
    23 structure Ast = AstFun(Pretty);
    22 structure Ast = AstFun(Pretty);
    24 structure SynExt = SynExtFun(structure Lexicon = Lexicon and Ast = Ast);
    23 structure SynExt = SynExtFun(structure Lexicon = Lexicon and Ast = Ast);
    25 structure Parser = ParserFun(structure Symtab = Symtab and Lexicon = Lexicon
    24 structure Parser = ParserFun(structure Symtab = Symtab and Lexicon = Lexicon
    26   and SynExt = SynExt);
    25   and SynExt = SynExt);
    27 (*structure Earley = EarleyFun(structure Symtab = Symtab and Lexicon = Lexicon
       
    28   and SynExt = SynExt);*)     (* FIXME remove *)
       
    29 structure TypeExt = TypeExtFun(structure Lexicon = Lexicon and SynExt = SynExt);
    26 structure TypeExt = TypeExtFun(structure Lexicon = Lexicon and SynExt = SynExt);
    30 structure SExtension = SExtensionFun(structure TypeExt = TypeExt and Parser = Parser);
    27 structure SExtension = SExtensionFun(structure TypeExt = TypeExt and Parser = Parser);
    31 structure Mixfix = MixfixFun(structure Lexicon = Lexicon and SynExt = SynExt and
    28 structure Mixfix = MixfixFun(structure Lexicon = Lexicon and SynExt = SynExt and
    32   SExtension = SExtension);
    29   SExtension = SExtension);
    33 structure Printer = PrinterFun(structure Symtab = Symtab and TypeExt = TypeExt
    30 structure Printer = PrinterFun(structure Symtab = Symtab and TypeExt = TypeExt
    34   and SExtension = SExtension);
    31   and SExtension = SExtension);
    35 structure Syntax = SyntaxFun(structure Symtab = Symtab and TypeExt = TypeExt
    32 structure Syntax = SyntaxFun(structure Symtab = Symtab and TypeExt = TypeExt
    36   and SExtension = SExtension and Mixfix = Mixfix and Printer = Printer);
    33   and SExtension = SExtension and Mixfix = Mixfix and Printer = Printer);
    37 structure BasicSyntax: BASIC_SYNTAX = Syntax;
    34 structure BasicSyntax: BASIC_SYNTAX = Syntax;
    38 
    35 
    39 structure OldMixfix: SEXTENSION0 = SExtension;   (* FIXME *)
    36 (* FIXME tmp hacks *)
    40 
    37 structure BasicSyntax = struct open BasicSyntax Mixfix end;
       
    38 structure OldMixfix: SEXTENSION0 = SExtension;