Copyright | (c) C. Maeder and Uni Bremen 2005-2006 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
parse the outer syntax of an Isabelle theory file. The syntax is taken from http://isabelle.in.tum.de/dist/Isabelle/doc/isar-ref.pdf for Isabelle2005 and is adjusted for Isabelle2011-1.
- parseTheory :: Parser (TheoryHead, Body)
- data Body = Body {}
- data TheoryHead = TheoryHead {}
- data SimpValue a = SimpValue {}
- warnSimpAttr :: Body -> [Diagnosis]
- compatibleBodies :: Body -> Body -> [Diagnosis]
Documentation
parseTheory :: Parser (TheoryHead, Body)
parses a complete isabelle theory file, but skips i.e. proofs
data SimpValue a
warnSimpAttr :: Body -> [Diagnosis]
compatibleBodies :: Body -> Body -> [Diagnosis]
Check that constants and data type are unchanged and that no axioms was added and no theorem deleted.