| 
18
 | 
     1  | 
(*  Title:      Pure/Syntax/ROOT.ML
  | 
| 
0
 | 
     2  | 
    ID:         $Id$
  | 
| 
 | 
     3  | 
    Author:     Tobias Nipkow and Markus Wenzel, TU Muenchen
  | 
| 
 | 
     4  | 
  | 
| 
18
 | 
     5  | 
This file builds the syntax module.
  | 
| 
0
 | 
     6  | 
*)
  | 
| 
 | 
     7  | 
  | 
| 
18
 | 
     8  | 
use "pretty.ML";
  | 
| 
239
 | 
     9  | 
use "lexicon.ML";
  | 
| 
0
 | 
    10  | 
use "ast.ML";
  | 
| 
239
 | 
    11  | 
use "syn_ext.ML";
  | 
| 
18
 | 
    12  | 
use "parser.ML";
  | 
| 
47
 | 
    13  | 
use "earley0A.ML";
  | 
| 
0
 | 
    14  | 
use "type_ext.ML";
  | 
| 
 | 
    15  | 
use "sextension.ML";
  | 
| 
 | 
    16  | 
use "printer.ML";
  | 
| 
 | 
    17  | 
use "syntax.ML";
  | 
| 
 | 
    18  | 
  | 
| 
18
 | 
    19  | 
structure Pretty = PrettyFun();
  | 
| 
239
 | 
    20  | 
structure Lexicon = LexiconFun();
  | 
| 
 | 
    21  | 
structure Scanner: SCANNER = Lexicon;
  | 
| 
18
 | 
    22  | 
structure Ast = AstFun(Pretty);
  | 
| 
239
 | 
    23  | 
structure SynExt = SynExtFun(structure Lexicon = Lexicon and Ast = Ast);
  | 
| 
 | 
    24  | 
structure Parser = ParserFun(structure Symtab = Symtab and Lexicon = Lexicon
  | 
| 
 | 
    25  | 
  and SynExt = SynExt);
  | 
| 
 | 
    26  | 
structure Earley = EarleyFun(structure Symtab = Symtab and Lexicon = Lexicon
  | 
| 
 | 
    27  | 
  and SynExt = SynExt);
  | 
| 
 | 
    28  | 
structure TypeExt = TypeExtFun(structure Lexicon = Lexicon and SynExt = SynExt);
  | 
| 
 | 
    29  | 
structure SExtension = SExtensionFun(Earley);
  | 
| 
 | 
    30  | 
structure Printer = PrinterFun(structure Symtab = Symtab and TypeExt = TypeExt
  | 
| 
 | 
    31  | 
  and SExtension = SExtension);
  | 
| 
0
 | 
    32  | 
structure Syntax = SyntaxFun(structure Symtab = Symtab and TypeExt = TypeExt
  | 
| 
239
 | 
    33  | 
  and SExtension = SExtension and Printer = Printer);
  | 
| 
18
 | 
    34  | 
structure BasicSyntax: BASIC_SYNTAX = Syntax;
  | 
| 
0
 | 
    35  | 
  |