205 OuterSyntax.command "use" "eval ML text from file" K.diag |
205 OuterSyntax.command "use" "eval ML text from file" K.diag |
206 (P.name >> IsarCmd.use); |
206 (P.name >> IsarCmd.use); |
207 |
207 |
208 val mlP = |
208 val mlP = |
209 OuterSyntax.command "ML" "eval ML text (diagnostic)" K.diag |
209 OuterSyntax.command "ML" "eval ML text (diagnostic)" K.diag |
210 (P.text >> IsarCmd.use_mltext) |
210 (P.text >> IsarCmd.use_mltext true); |
|
211 |
|
212 val ml_commandP = |
|
213 OuterSyntax.command "ML_command" "eval ML text" K.diag |
|
214 (P.text >> IsarCmd.use_mltext false); |
211 |
215 |
212 val ml_setupP = |
216 val ml_setupP = |
213 OuterSyntax.command "ML_setup" "eval ML text (may change theory)" K.thy_decl |
217 OuterSyntax.command "ML_setup" "eval ML text (may change theory)" K.thy_decl |
214 (P.text >> IsarCmd.use_mltext_theory); |
218 (P.text >> IsarCmd.use_mltext_theory); |
215 |
219 |
610 text_rawP, sectP, subsectP, subsubsectP, txtP, txt_rawP, |
614 text_rawP, sectP, subsectP, subsubsectP, txtP, txt_rawP, |
611 (*theory sections*) |
615 (*theory sections*) |
612 classesP, classrelP, defaultsortP, typedeclP, typeabbrP, nontermP, |
616 classesP, classrelP, defaultsortP, typedeclP, typeabbrP, nontermP, |
613 aritiesP, constsP, syntaxP, translationsP, axiomsP, defsP, |
617 aritiesP, constsP, syntaxP, translationsP, axiomsP, defsP, |
614 constdefsP, theoremsP, lemmasP, globalP, localP, useP, mlP, |
618 constdefsP, theoremsP, lemmasP, globalP, localP, useP, mlP, |
615 ml_setupP, setupP, parse_ast_translationP, parse_translationP, |
619 ml_commandP, ml_setupP, setupP, parse_ast_translationP, |
616 print_translationP, typed_print_translationP, |
620 parse_translationP, print_translationP, typed_print_translationP, |
617 print_ast_translationP, token_translationP, oracleP, |
621 print_ast_translationP, token_translationP, oracleP, |
618 (*proof commands*) |
622 (*proof commands*) |
619 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
623 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
620 defP, fixP, letP, thenP, thenceP, fromP, withP, noteP, beginP, endP, |
624 defP, fixP, letP, thenP, thenceP, fromP, withP, noteP, beginP, endP, |
621 nextP, qedP, terminal_proofP, immediate_proofP, default_proofP, |
625 nextP, qedP, terminal_proofP, immediate_proofP, default_proofP, |