equal
deleted
inserted
replaced
60 val (value_code, [SOME value_name']) = Code_ML.evaluation_code_of thy |
60 val (value_code, [SOME value_name']) = Code_ML.evaluation_code_of thy |
61 (the_default target some_target) "" naming program' [value_name]; |
61 (the_default target some_target) "" naming program' [value_name]; |
62 val sml_code = "let\n" ^ value_code ^ "\nin " ^ value_name' |
62 val sml_code = "let\n" ^ value_code ^ "\nin " ^ value_name' |
63 ^ space_implode " " (map (enclose "(" ")") args) ^ " end"; |
63 ^ space_implode " " (map (enclose "(" ")") args) ^ " end"; |
64 in ML_Context.evaluate ctxt false reff sml_code end; |
64 in ML_Context.evaluate ctxt false reff sml_code end; |
65 in Code_Thingol.eval thy postproc evaluator t end; |
65 in Code_Thingol.dynamic_eval_value thy postproc evaluator t end; |
66 |
66 |
67 |
67 |
68 (** instrumentalization by antiquotation **) |
68 (** instrumentalization by antiquotation **) |
69 |
69 |
70 local |
70 local |