Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/branches/idlbasis-devel/src/MLRISC/Tools/MDL/mdl-glue.sml
ViewVC logotype

View of /sml/branches/idlbasis-devel/src/MLRISC/Tools/MDL/mdl-glue.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 848 - (download) (annotate)
Mon Jun 25 19:29:29 2001 UTC (18 years, 9 months ago)
File size: 2772 byte(s)
This commit was manufactured by cvs2svn to create branch
'idlbasis-devel'.
(*
 * This file just links everything together
 *)

structure MDLAstUtil = MDLAstUtil(MDLAst)

structure MDLPP = MDLAstPrettyPrinter(MDLAstUtil)

structure MDLTypeUtils = MDLTypeUtils(MDLPP)

structure MDLEnv = MDLEnv(MDLTypeUtils)

structure MDLRewriter = MDLAstRewriter(MDLAst)
structure MDLTrans = MDLAstTranslation
     (structure AstPP       = MDLPP
      structure AstRewriter = MDLRewriter
     )

structure MDLCompile = MDLCompile
   (structure AstPP    = MDLPP
    structure Env      = MDLEnv
    structure AstUtil  = MDLAstUtil
    structure Rewriter = MDLRewriter
    structure Trans    = MDLTrans
    structure Consts   = MDLAstConstants(MDLAst)
    structure AstUtil  = MDLAstUtil
    structure TypeUtils= MDLTypeUtils
   )

structure MDLTyping = MDLTyping
   (structure Env      = MDLEnv
    structure TypeUtil = MDLTypeUtils
    structure AstUtil  = MDLAstUtil
    structure AstPP    = MDLPP
    structure Comp     = MDLCompile
   )

structure MDLRTLTools = MDLRTLTools
   (structure AstUtil   = MDLAstUtil
    structure MLTreeRTL = MDLMLTreeRTL
   )

structure MLRiscTypes = MLRiscTypes
   (structure Comp = MDLCompile
    structure RTL  = MDLMLTreeRTL
   )

structure MDLRTLComp = MDLRTLComp
   (structure Comp = MDLCompile
    structure Typing = MDLTyping
    structure RTLTools = MDLRTLTools
    structure MLRiscTypes = MLRiscTypes
   )

structure MDLParser = 
   MDLParserDriver
      (structure AstPP = MDLPP
       val MDLmode = true
       open MDLAst
       fun newCell(id,nickname) = 
            CELLdecl{id=id,nickname=nickname,
                     from=ref 0,to=ref ~1, alias=NONE, count=NONE,
                     bits=0, 
                     print=LAMBDAexp[CLAUSE([WILDpat],NONE,
                                            LITexp(STRINGlit id))],
                     aggregable=false,
                     defaults=[]
                    }
       val extraCells = 
            [newCell("CELLSET","cellset")
            ]
      )

structure MDLGen = MDLGen
(  structure Comp       = MDLCompile
   structure Parser     = MDLParser
   structure Cells      = MDLGenCells(MDLCompile)
   structure Instr      = MDLGenInstr(MDLCompile)
   structure Shuffle    = MDLDummyGen(MDLCompile)
   structure Asm        = MDLGenAsm(MDLCompile)
   structure MC         = MDLGenMC(MDLCompile)
   structure Jumps      = MDLDummyGen(MDLCompile)
   structure Dasm       = MDLDummyGen(MDLCompile)
   structure Props      = MDLGenInsnProps(MDLRTLComp)
   structure Rewrite    = MDLGenRewrite(MDLRTLComp)
   structure RTLComp    = MDLRTLComp
   structure RTLProps   = MDLGenRTLProps(MDLRTLComp)
   structure SSAProps   = MDLGenSSAProps(MDLRTLComp)
  (* structure DelaySlots = MDLDelaySlots(MDLCompile)
   structure SchedProps = MDLSchedProps(MDLRTLComp)
   *)
)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0