diff options
Diffstat (limited to 'driver.fun')
-rw-r--r-- | driver.fun | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,4 +1,4 @@ -functor Driver(P: PPC): DRIVER = struct +functor Driver(P: PARSER): DRIVER = struct structure P = P datatype execMode = Normal | DebugE | DebugT @@ -50,9 +50,15 @@ functor Driver(P: PPC): DRIVER = struct val file = valOf $ #file config in case (#mode config) of - Normal => die `"Normal mode is not implemented yet" % - | DebugT => P.T.debugPrint file - | DebugE => P.debugPrint file (#includeDirs config) + Normal => + let + val parseCtx = P.createParseCtx file (#includeDirs config) + val (_, _) = P.parseDef parseCtx + in + raise Unimplemented + end + | DebugT => P.P.T.debugPrint file + | DebugE => P.P.debugPrint file (#includeDirs config) end end |