summaryrefslogtreecommitdiff
path: root/ccross.sml
blob: babe630e617c38ff59adbd70bd6a3a65a5cda827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
structure ccross:> CCROSS = struct
  structure T:> TOKENIZER =
    Tokenizer(structure H = Hashtable; structure S = Stream)

  structure ppc:> PPC = ppc(structure Tree = Tree; structure T = T)

  structure D:> DRIVER = Driver(ppc)

  structure ExnHandler:> EXN_HANDLER =
    ExnHandler(structure T = T; structure P = ppc)
end

val () = MLton.Exn.setTopLevelHandler ccross.ExnHandler.handler
val () = ccross.D.exec ()