blob: 64be5db4503a1078aceb4f8ed4c87c8ab244bfcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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(ppc)
structure D:> DRIVER = Driver(Parser)
structure ExnHandler:> EXN_HANDLER = ExnHandler
end
val () = MLton.Exn.setTopLevelHandler ccross.ExnHandler.handler
val () = ccross.D.exec ()
|