You can edit almost every page by Creating an account and confirming your email.

Erroneous program

From EverybodyWiki Bios & Wiki

In the design of programming languages, an erroneous program is one whose semantics are not well-defined, but where the language implementation is not obligated to signal an error either at compile or at execution time. For example, in Ada:

In addition to bounded errors, the language rules define certain kinds of errors as leading to erroneous execution. Like bounded errors, the implementation need not detect such errors either prior to or during run time. Unlike bounded errors, there is no language-specified bound on the possible effect of erroneous execution; the effect is in general not predictable.[1]

Defining a condition as "erroneous" means that the language implementation need not perform a potentially expensive check (e.g. that a global variable refers to the same object as a subroutine parameter) but may nonetheless depend on a condition being true in defining the semantics of the program.

Notes

  1. Ada Reference Manual ISO/IEC 8652:1995(E) pdf[permanent dead link], section 1.1.5.



This article "Erroneous program" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Erroneous program. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.