text‹Serialise 🍋‹yxml_of_term›to native string of target language›
code_printing type_constructor yxml_of_term ⇀ (SML) "string" and (OCaml) "string" and (Haskell) "String" and (Scala) "String"
| constant yot_empty ⇀ (SML) "\"\"" and (OCaml) "\"\"" and (Haskell) "\"\"" and (Scala) "\"\""
| constant yot_literal ⇀ (SML) "_" and (OCaml) "_" and (Haskell) "_" and (Scala) "_"
| constant yot_append ⇀ (SML) "String.concat [(_), (_)]" and (OCaml) "String.concat \"\" [(_); (_)]" and (Haskell) infixr 5 "++" and (Scala) infixl 5 "+"
| constant yot_concat ⇀ (SML) "String.concat" and (OCaml) "String.concat \"\"" and (Haskell) "Prelude.concat" and (Scala) "_.mkString(\"\")"
text‹
Stripped-down implementations of Isabelle's XML tree with YXML encoding as
defined in🍋‹~~/src/Pure/PIDE/xml.ML›, 🍋‹~~/src/Pure/PIDE/yxml.ML›
sufficient to encode 🍋‹Code_Evaluation.term› as in 🍋‹~~/src/Pure/term_xml.ML›. ›
definition tagged :: "String.literal \ String.literal option \ xml_tree list \ xml_tree" where"tagged tag x ts = Elem tag (case x of None \ [] | Some x' \ [(STR ''0'', x')]) ts"
definition list where"list f xs = map (node \ f) xs"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.