summaryrefslogtreecommitdiff
path: root/ccross.sml
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-04-11 21:54:16 +0200
committerVladimir Azarov <avm@intermediate-node.net>2025-04-11 21:54:16 +0200
commite99a8dc48ede26696be2ba75a8cb0d5122d94598 (patch)
treec3dcd1d6a9b96aaedd081f13b9dc7e7d6c07e2bd /ccross.sml
parent8e2dc7712de206b87e1c46df9383c3fa1e18a43a (diff)
#include directive
Diffstat (limited to 'ccross.sml')
-rw-r--r--ccross.sml8
1 files changed, 3 insertions, 5 deletions
diff --git a/ccross.sml b/ccross.sml
index 749687b..d42368d 100644
--- a/ccross.sml
+++ b/ccross.sml
@@ -4,13 +4,11 @@ structure ccross:> CCROSS = struct
structure P:> CPP = Cpp(T)
+ structure D:> DRIVER = Driver(P)
+
structure ExnHandler:> EXN_HANDLER =
ExnHandler(structure T = T; structure P = P)
end
val () = MLton.Exn.setTopLevelHandler ccross.ExnHandler.handler
-
-fun main [fname] = ccross.P.debugPrint fname
- | main _ = printLn "Expected a single argument: file name"
-
-val () = main $ CommandLine.arguments ()
+val () = ccross.D.exec ()