equal
deleted
inserted
replaced
68 |
68 |
69 val opt_evaluator = |
69 val opt_evaluator = |
70 Scan.option (@{keyword "["} |-- Parse.xname --| @{keyword "]"}) |
70 Scan.option (@{keyword "["} |-- Parse.xname --| @{keyword "]"}) |
71 |
71 |
72 val _ = |
72 val _ = |
73 Outer_Syntax.command @{command_spec "value"} "evaluate and print term" |
73 Outer_Syntax.command @{command_keyword value} "evaluate and print term" |
74 (opt_evaluator -- opt_modes -- Parse.term |
74 (opt_evaluator -- opt_modes -- Parse.term |
75 >> (fn ((some_name, modes), t) => Toplevel.keep (value_cmd some_name modes t))); |
75 >> (fn ((some_name, modes), t) => Toplevel.keep (value_cmd some_name modes t))); |
76 |
76 |
77 val _ = Theory.setup |
77 val _ = Theory.setup |
78 (Thy_Output.antiquotation @{binding value} |
78 (Thy_Output.antiquotation @{binding value} |