"Documentation by paper"
Kai Henningsen
kaih@khms.westfalen.de
Sat Feb 7 00:15:00 GMT 2004
joern.rennecke@superh.com (Joern Rennecke) wrote on 02.02.04 in <200402022202.i12M24814736@linsvr4.uk.superh.com>:
[quoteto.xps]
> > Of course sufficiently powerful pre and post conditions would be able
> > to describe what a function does, but if these conditions are written
> > in a low level language without set comprehension and quantifiers, this
> > can be impractical in practice.
>
> Do you think this is practical for functions like rest_of_compilation
> using *any* description language different from the implementation
> language?
I'd think it is pretty much impossible in the implementation language. (C
is bad at assert()ing anything complex.)
However, you could try the "English" description language.
MfG Kai
More information about the Gcc
mailing list