equal
deleted
inserted
replaced
221 OuterSyntax.command "ML_setup" "eval ML text (may change theory)" K.thy_decl |
221 OuterSyntax.command "ML_setup" "eval ML text (may change theory)" K.thy_decl |
222 (P.text >> IsarCmd.use_mltext_theory); |
222 (P.text >> IsarCmd.use_mltext_theory); |
223 |
223 |
224 val setupP = |
224 val setupP = |
225 OuterSyntax.command "setup" "apply ML theory setup" K.thy_decl |
225 OuterSyntax.command "setup" "apply ML theory setup" K.thy_decl |
226 (P.text >> (Toplevel.theory o IsarThy.use_setup)); |
226 (P.text >> (Toplevel.theory o Context.use_setup)); |
227 |
227 |
228 |
228 |
229 (* translation functions *) |
229 (* translation functions *) |
230 |
230 |
231 val parse_ast_translationP = |
231 val parse_ast_translationP = |