src/Pure/Isar/isar_syn.ML
changeset 8349 611342539639
parent 8235 a4fb9be6b19a
child 8370 6b45749d37d6
equal deleted inserted replaced
8348:ebbbfdb35c84 8349:611342539639
   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 =