Featherweight_OCL/Featherweight_OCL
Achim D. Brucker 49f5347083
ci/woodpecker/push/build Pipeline failed Details
Fixed session name.
2022-03-25 20:52:40 +00:00
..
basic_types Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
collection_types Migration to Isabelle 2021-1 (based on afp-2021-12-28). 2021-12-30 19:13:15 +00:00
document Migration to Isabelle 2021-1 (based on afp-2021-12-28). 2021-12-30 19:13:15 +00:00
examples/Employee_Model Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
ROOT Fixed session name. 2022-03-25 20:52:40 +00:00
UML_Contracts.thy Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
UML_Library.thy Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
UML_Logic.thy Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
UML_Main.thy Clarified file structure. Official AFP entry is now in directory Featherweight_OCL. 2017-01-07 00:04:06 +00:00
UML_PropertyProfiles.thy Migration to Isabelle 2021-1 (based on afp-2021-12-28). 2021-12-30 19:13:15 +00:00
UML_State.thy Migration to Isabelle 2021-1 (based on afp-2021-12-28). 2021-12-30 19:13:15 +00:00
UML_Tools.thy Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
UML_Types.thy Import of official AFP entry for Isabelle 2019. 2019-06-22 23:44:04 +01:00
readme.txt Import of current (Isabelle 2017) release of Featherweight OCL. 2017-11-30 23:17:27 +00:00

readme.txt

This directory contains the detailed AFP submission of the
"Featherweight OCL" semantics for OCL as well as our proposal
for Appendix A of the OCL standard.

Beyond the standard mechanism 

(* < *)
<<skipped isar text, not shown in doc >>
(* > *)

The two main targets of this Isabelle project are:
- check everything and generate all documents allowing "sorry"'s, i.e., 
  using Isabelles "quick-and-dirty"-mode:

  isabelle build -c -d . -v -b OCL-dirty

- check everything and generate all documents, ensuring that
   no "sorry"'s are used:

   isabelle build -c -d . -v -b OCL

In your LaTeX text, you can use the following two PlainTeX
environments for selecting in which version your text should
appear:

\isatagafp
  This text will only be visible in the AFP submission, i.e.,
  document.pdf and outline.pdf.
\endisatagafp

\isatagannexa
  This text will only be visible in the Annex A, i.e., annex-a.pdf.
\endisatagannexa


Note that these tags only work within regular Isabelle/Isar "text"
commands if they are complete, i.e.:

  text {* ... \isatagafp ... \endisatagafp ...*}

Only opening or closing such a tag in Isabelle/Isar "text" commands
will not work. For this, you need to use the "text_raw" command:

  text_raw {* \isatagafp *}
  ...
  text_raw {* \endisatagafp *}


For working, these tags rely on the file comment.sty, which
is automatically added by Isabelle during the document generation.
However at the time of writing, the current comment.sty included by
Isabelle (version 3.6) mentions:
  "The opening and closing commands should appear on a line
   of their own. No starting spaces, nothing after it."
In particular, it is not advised to put these tags in a single line:
\isatagafp ... \endisatagafp % wrong
otherwise as side effects some parts occurring after these tags may be
skipped. The recommanded solution is to always write each tag in a
separate line:
\isatagafp
  ...
\endisatagafp


Warning:
=======
Please check twice that you are using \isatagX and \endisatagX
properly, i.e.,
- always pairwise matching
- not separating other envirments.
Not using these PlainTeX environments (which are, generally,
obsolete and discouraged but used by the Isabelle LaTeX setup
anyhow. We only use them to avoid introducing a parallel setup to
the one that we cannot avoid due to design decisions by the
Isabelle maintainer) carefully, will result in LaTeX errors that
are close to not debug-able.