64 val doc_sourceN: string val doc_source: Markup.T |
64 val doc_sourceN: string val doc_source: Markup.T |
65 val antiqN: string val antiq: Markup.T |
65 val antiqN: string val antiq: Markup.T |
66 val ML_antiquotationN: string |
66 val ML_antiquotationN: string |
67 val doc_antiquotationN: string |
67 val doc_antiquotationN: string |
68 val doc_antiquotation_optionN: string |
68 val doc_antiquotation_optionN: string |
69 val keyword_declN: string val keyword_decl: string -> Markup.T |
|
70 val command_declN: string val command_decl: string -> string -> Markup.T |
|
71 val keywordN: string val keyword: Markup.T |
69 val keywordN: string val keyword: Markup.T |
72 val operatorN: string val operator: Markup.T |
70 val operatorN: string val operator: Markup.T |
73 val commandN: string val command: Markup.T |
71 val commandN: string val command: Markup.T |
74 val stringN: string val string: Markup.T |
72 val stringN: string val string: Markup.T |
75 val altstringN: string val altstring: Markup.T |
73 val altstringN: string val altstring: Markup.T |
103 val no_reportN: string val no_report: Markup.T |
101 val no_reportN: string val no_report: Markup.T |
104 val badN: string val bad: Markup.T |
102 val badN: string val bad: Markup.T |
105 val functionN: string |
103 val functionN: string |
106 val ready: Properties.T |
104 val ready: Properties.T |
107 val loaded_theory: string -> Properties.T |
105 val loaded_theory: string -> Properties.T |
|
106 val keyword_decl: string -> Properties.T |
|
107 val command_decl: string -> string -> Properties.T |
108 val assign_execs: Properties.T |
108 val assign_execs: Properties.T |
109 val removed_versions: Properties.T |
109 val removed_versions: Properties.T |
110 val invoke_scala: string -> string -> Properties.T |
110 val invoke_scala: string -> string -> Properties.T |
111 val cancel_scala: string -> Properties.T |
111 val cancel_scala: string -> Properties.T |
112 end; |
112 end; |
233 val doc_antiquotation_optionN = "document antiquotation option"; |
233 val doc_antiquotation_optionN = "document antiquotation option"; |
234 |
234 |
235 |
235 |
236 (* outer syntax *) |
236 (* outer syntax *) |
237 |
237 |
238 val (keyword_declN, keyword_decl) = markup_string "keyword_decl" Markup.nameN; |
|
239 |
|
240 val command_declN = "command_decl"; |
|
241 |
|
242 fun command_decl name kind : Markup.T = |
|
243 (command_declN, [(Markup.nameN, name), (Markup.kindN, kind)]); |
|
244 |
|
245 val (keywordN, keyword) = markup_elem "keyword"; |
238 val (keywordN, keyword) = markup_elem "keyword"; |
246 val (operatorN, operator) = markup_elem "operator"; |
239 val (operatorN, operator) = markup_elem "operator"; |
247 val (commandN, command) = markup_elem "command"; |
240 val (commandN, command) = markup_elem "command"; |
248 val (stringN, string) = markup_elem "string"; |
241 val (stringN, string) = markup_elem "string"; |
249 val (altstringN, altstring) = markup_elem "altstring"; |
242 val (altstringN, altstring) = markup_elem "altstring"; |
315 |
308 |
316 val ready = [(functionN, "ready")]; |
309 val ready = [(functionN, "ready")]; |
317 |
310 |
318 fun loaded_theory name = [(functionN, "loaded_theory"), (Markup.nameN, name)]; |
311 fun loaded_theory name = [(functionN, "loaded_theory"), (Markup.nameN, name)]; |
319 |
312 |
|
313 fun keyword_decl name = [(functionN, "keyword_decl"), (Markup.nameN, name)]; |
|
314 fun command_decl name kind = |
|
315 [(functionN, "command_decl"), (Markup.nameN, name), (Markup.kindN, kind)]; |
|
316 |
320 val assign_execs = [(functionN, "assign_execs")]; |
317 val assign_execs = [(functionN, "assign_execs")]; |
321 val removed_versions = [(functionN, "removed_versions")]; |
318 val removed_versions = [(functionN, "removed_versions")]; |
322 |
319 |
323 fun invoke_scala name id = [(functionN, "invoke_scala"), (Markup.nameN, name), (idN, id)]; |
320 fun invoke_scala name id = [(functionN, "invoke_scala"), (Markup.nameN, name), (idN, id)]; |
324 fun cancel_scala id = [(functionN, "cancel_scala"), (idN, id)]; |
321 fun cancel_scala id = [(functionN, "cancel_scala"), (idN, id)]; |