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.
Synopsis
- 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) Source #
parses a complete isabelle theory file, but skips i.e. proofs
The axioms, goals, constants and data types of a theory
data TheoryHead Source #
the theory part before and including the begin keyword with a context
Instances
Eq TheoryHead Source # | |
Defined in Isabelle.IsaParse (==) :: TheoryHead -> TheoryHead -> Bool (/=) :: TheoryHead -> TheoryHead -> Bool |
warnSimpAttr :: Body -> [Diagnosis] Source #