blob: 3c8bcf4630ef7717220ad6f863440073f68b56b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
structure ccross:> CCROSS = struct
structure ST:> SYMTAB = Symtab(Hashtable)
structure T:> TOKENIZER =
Tokenizer(structure ST = ST; structure S = Stream)
structure ppc:> PPC = ppc(structure Tree = Tree; structure T = T)
structure Parser:> PARSER =
Parser(structure Tree = Tree; structure P = ppc)
structure D:> DRIVER = Driver(Parser)
structure ExnHandler:> EXN_HANDLER = ExnHandler
end
val () = MLton.Exn.setTopLevelHandler ccross.ExnHandler.handler
val () = ccross.D.exec ()
|