equal
deleted
inserted
replaced
2319 ((filter OuterLex.is_proper o OuterSyntax.scan Position.none) cmd) |
2319 ((filter OuterLex.is_proper o OuterSyntax.scan Position.none) cmd) |
2320 of SOME f => (writeln "Now generating code..."; f (theory thyname)) |
2320 of SOME f => (writeln "Now generating code..."; f (theory thyname)) |
2321 | NONE => error ("Bad directive " ^ quote cmd))) |
2321 | NONE => error ("Bad directive " ^ quote cmd))) |
2322 handle TOPLEVEL_ERROR => OS.Process.exit OS.Process.failure; |
2322 handle TOPLEVEL_ERROR => OS.Process.exit OS.Process.failure; |
2323 |
2323 |
2324 val _ = ML_Context.add_antiq "code" (Args.term >> ml_code_antiq); |
2324 val _ = ML_Context.add_antiq "code" (fn _ => Args.term >> ml_code_antiq); |
2325 |
2325 |
2326 |
2326 |
2327 (* serializer setup, including serializer defaults *) |
2327 (* serializer setup, including serializer defaults *) |
2328 |
2328 |
2329 val setup = |
2329 val setup = |