Hi, I am trying to catch errors thrown by e.g. Syntax.check_prop
and manipulate the resulting string.
One problem is that the strings contain extra info delimited in some way by escape characters #"\^E" and #"\^F", is there a library function to give me the string stripped of that and/or as writeln
would show it?
Figured it out: the markup I am seeing is encoding of a YXML tree, YXML.content_of
gives me what I want.
Funnily enough, I was looking for exactly the same thing today, thanks! :happy: (tagging @Fabian Huch)
Glad I could help! Isabelle workings can be quite mysterious
Last updated: Dec 21 2024 at 16:20 UTC