src/Tools/Code/code_runtime.ML
changeset 43560 d1650e3720fd
parent 42361 23f352990944
child 43619 3803869014aa
equal deleted inserted replaced
43559:c1966f322105 43560:d1650e3720fd
   334 val code_reflect_cmd = gen_code_reflect Code_Target.read_tyco Code.read_const;
   334 val code_reflect_cmd = gen_code_reflect Code_Target.read_tyco Code.read_const;
   335 
   335 
   336 
   336 
   337 (** Isar setup **)
   337 (** Isar setup **)
   338 
   338 
   339 val _ = ML_Context.add_antiq "code" (fn _ => Args.term >> ml_code_antiq);
   339 val _ =
       
   340   Context.>> (Context.map_theory
       
   341     (ML_Context.add_antiq (Binding.name "code") (fn _ => Args.term >> ml_code_antiq)));
   340 
   342 
   341 local
   343 local
   342 
   344 
   343 val datatypesK = "datatypes";
   345 val datatypesK = "datatypes";
   344 val functionsK = "functions";
   346 val functionsK = "functions";