-- SML.config
-- Copyright (C) 1985 by Xerox Corporation.  All rights reserved.
-- last edit by Satterthwaite, September 25, 1985 5:57:50 pm PDT

SML: CONFIG  -- LINKS: CODE
    IMPORTS
      Ascii, Atom, BasicTime, BcdOps, Commander, CompilerOps, Containers, Convert,
      FileNames, FileViewerOps, FS, IO, Labels, List, Loader, LoadState, LoaderOps,
      LoaderOpsExtras, MBQueue, Menus, PrincOpsUtils, Process, ProcessProps,
      RefText, Rope, Rules, SafeStorage, SafeStorageOps, TypeScript, TiogaMenuOps,
      VersionMapDefaults, ViewerEvents, ViewerOps, ViewerIO, ViewerTools,
      VM--, WindowManager
    EXPORTS SMIntImpl
    CONTROL SMIntImpl ~ {
  
  SMTreeOps ← SMTreeImpl[];

  ModelParser: CONFIG
      IMPORTS
        Atom, CS, IO, Rope, SMCommentTableOps, SMLDriver, SMTreeOps
      EXPORTS SMOps, SMUtil ~ {
    SMParseData;
    P1a ← SMScannerImpl[];
    P1b ← SMParserImpl[IO, SMP1];
    P1c ← SMTreeBuildImpl[];
    SMP1 ← P1a PLUS P1b PLUS P1c;
    SMReaderImpl[];
    };

  CedarParser: CONFIG
      IMPORTS
        Atom, IO, RefText, Rope, SMTypeCons
      EXPORTS CtoSP1, CtoSParseData ~ {
    CtoSParseData;
    P1x ← CtoSScannerImpl[];
    P1y ← CtoSParserImpl[IO, CtoSP1];
    P1z ← CtoSTreeBuildImpl[];
    CtoSP1 ← P1x PLUS P1y PLUS P1z;
    };

  ProjectionCache: CONFIG
    IMPORTS
      BcdStamps, CS, FS, Rope, VM
    EXPORTS SMProj ~ {
    RedBlackTreeImpl;
    SMProjImpl;
    };
    
  SMLoader: CONFIG
      IMPORTS
        Atom, BasicTime, BcdOps, IO, Loader, LoaderOps, LoaderOpsExtras, LoadState,
        Rope, SafeStorageOps, SMProj, SMTreeOps, SMVal, VM
      EXPORTS SMLDriver ~ {
    SMModelBcdImpl;
    SMLoadImpl;
    SMLDriverImpl
    };
    
  CSImpl;
  BcdStampsImpl;
  SMTypeConsImpl;
  SMFIImpl;
  ProjectionCache;
  
  ModelParser;
  SMCommentTableImpl;
  SMPrettyImpl;
  CedarParser;
  SMEvalImpl;
  SMValImpl;
  SMCompImpl;
  SMLoader;
  SMBcdImpl;
  SMIntImpl;
  
  }.