In < >
(maxw_cc) writes:
>I was wondering what the Semantics part
>in C standard is really for? What should
>be on the constraints part and what should
>be on the semantics part?
The constraints part, together with the syntax part, describe the correct
form of each programming construct supported by the C language.
The semantics part describes the meaning of each programming construct
whose correct form was specified by the syntax and constraints part.
>Is the implementation obligued to produce
>diagnostics only if I violate something in
>the constraints part?
Or the syntax part. A program can't violate the semantics part, only the
implementation can (in which case, it is non-conforming).
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: