Hoare TripleFrom MetaLanguage:
BackusNaurForm is a language (method?) to formally describe the syntax of programming language constructs. It is also possible to formally describe semantics ; one way to do so is by using HoareTriples.
This sounds interesting. Would someone care to either elaborate or provide references?
The term comes from the field of AxiomaticSemantics? of programs. A Hoare triple has three parts, a precondition P, a program statement or series of statements S, and a postcondition Q. It's usually written in the form
There are also other styles of programming language semantics, the main alternatives being DenotationalSemantics and OperationalSemantics?.
EditText of this page
(last edited July 20, 2005)
or FindPage with title or text search