[isabelle-dev] Method parsing, YXML and term construction.

Florian Haftmann florian.haftmann at informatik.tu-muenchen.de
Mon Feb 8 11:31:55 CET 2010

Hi Thomas,

Isabelle internalizes expressions in two steps:

	(1) parse :: raw string (type string) -> raw term (type term)
	(2) check :: raw term (type term) -> internalized term with types
inferred etc. (type term)

It seems to me that most things you want to do can be done using (2) only:

a) read your y using Syntax.read_term
b) assemble your f and x using datatype term, placing type inference
parameters wherever suitable using Type_Infer.param
c) put the term together
d) check it using Syntax.check_term.

Hope this helps,



PGP available:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20100208/118a11b1/attachment.sig>

More information about the isabelle-dev mailing list