/doc/avram.html/Expedient-Error-Messages.html
HTML | 129 lines | 96 code | 9 blank | 24 comment | 0 complexity | 6baf1c13ce9bb310ae5dfaa7b7dfb258 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
- <html>
- <!-- Created on December 10, 2012 by texi2html 1.82
- texi2html was written by:
- Lionel Cons <Lionel.Cons@cern.ch> (original author)
- Karl Berry <karl@freefriends.org>
- Olaf Bachmann <obachman@mathematik.uni-kl.de>
- and many others.
- Maintained by: Many creative people.
- Send bugs and suggestions to <texi2html-bug@nongnu.org>
- -->
- <head>
- <title>avram - a virtual machine code interpreter: 2.7.15.4 Expedient Error Messages</title>
- <meta name="description" content="avram - a virtual machine code interpreter: 2.7.15.4 Expedient Error Messages">
- <meta name="keywords" content="avram - a virtual machine code interpreter: 2.7.15.4 Expedient Error Messages">
- <meta name="resource-type" content="document">
- <meta name="distribution" content="global">
- <meta name="Generator" content="texi2html 1.82">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style type="text/css">
- <!--
- a.summary-letter {text-decoration: none}
- blockquote.smallquotation {font-size: smaller}
- pre.display {font-family: serif}
- pre.format {font-family: serif}
- pre.menu-comment {font-family: serif}
- pre.menu-preformatted {font-family: serif}
- pre.smalldisplay {font-family: serif; font-size: smaller}
- pre.smallexample {font-size: smaller}
- pre.smallformat {font-family: serif; font-size: smaller}
- pre.smalllisp {font-size: smaller}
- span.roman {font-family:serif; font-weight:normal;}
- span.sansserif {font-family:sans-serif; font-weight:normal;}
- ul.toc {list-style: none}
- -->
- </style>
- </head>
- <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
- <a name="Expedient-Error-Messages"></a>
- <table cellpadding="1" cellspacing="1" border="0">
- <tr><td valign="middle" align="left">[<a href="Error-Messages.html#Error-Messages" title="Previous section in reading order"> < </a>]</td>
- <td valign="middle" align="left">[<a href="Computable-Error-Messages.html#Computable-Error-Messages" title="Next section in reading order"> > </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="Virtual-Machine-Specification.html#Virtual-Machine-Specification" title="Beginning of this chapter or previous chapter"> << </a>]</td>
- <td valign="middle" align="left">[<a href="Exception-Handling.html#Exception-Handling" title="Up section"> Up </a>]</td>
- <td valign="middle" align="left">[<a href="Library-Reference.html#Library-Reference" title="Next chapter"> >> </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="avram.html#Top" title="Cover (top) of document">Top</a>]</td>
- <td valign="middle" align="left">[<a href="avram_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
- <td valign="middle" align="left">[<a href="Function-Index.html#Function-Index" title="Index">Index</a>]</td>
- <td valign="middle" align="left">[<a href="avram_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
- </tr></table>
- <hr size="1">
- <a name="Expedient-Error-Messages-1"></a>
- <h4 class="subsubsection">2.7.15.4 Expedient Error Messages</h4>
- <a name="index-error-messages-1"></a>
- <p>Because there are so many ways to cause an invalid deconstruction, this
- message is the most common in practice and therefore the least
- informative. As a matter of convenience, <code>avram</code> takes the liberty
- of a slight departure from the virtual machine specification as written
- hitherto, and employs the following messages when invalid
- deconstructions occur respectively in the cases of recursion,
- transposition, and assignment.
- </p>
- <ul>
- <li> <code>invalid recursion</code>
- </li><li> <code>invalid transpose</code>
- </li><li> <code>invalid assignment</code>
- </li></ul>
- <p>That is, this section contradicts and supersedes what is stated at the
- end of <a href="Error-Messages.html#Error-Messages">Error Messages</a> and implied by the operator properties
- <em>P14</em>, <em>P16</em>, and <em>P42</em>. It is also possible that user
- applications may modify the error messages by methods described in
- <a href="Computable-Error-Messages.html#Computable-Error-Messages">Computable Error Messages</a>.
- </p>
- <p>Whereas these three cases constitute an expedient variation on the
- semantics, there is another sense in which no possible implementation
- could conform faithfully to the specification. When an evaluation can
- not be carried out because of insufficient space on the host machine,
- one of the following error messages may be the result.
- </p>
- <ul>
- <li> <code>memory overflow</code>
- </li><li> <code>counter overflow</code>
- </li></ul>
- <p>These messages are treated in the same way as those that are caused by
- programming errors, and propagate to the final result written to
- standard error without any specific consideration by the application
- developer. The latter occurs only in connection with the built in weight
- function (<a href="Weight.html#Weight">Weight</a>). Other messages listed in
- <a href="Application-Programming-Errors.html#Application-Programming-Errors">Application Programming Errors</a> are also of this ilk.
- </p>
- <hr size="1">
- <table cellpadding="1" cellspacing="1" border="0">
- <tr><td valign="middle" align="left">[<a href="Error-Messages.html#Error-Messages" title="Previous section in reading order"> < </a>]</td>
- <td valign="middle" align="left">[<a href="Computable-Error-Messages.html#Computable-Error-Messages" title="Next section in reading order"> > </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="Virtual-Machine-Specification.html#Virtual-Machine-Specification" title="Beginning of this chapter or previous chapter"> << </a>]</td>
- <td valign="middle" align="left">[<a href="Exception-Handling.html#Exception-Handling" title="Up section"> Up </a>]</td>
- <td valign="middle" align="left">[<a href="Library-Reference.html#Library-Reference" title="Next chapter"> >> </a>]</td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left"> </td>
- <td valign="middle" align="left">[<a href="avram.html#Top" title="Cover (top) of document">Top</a>]</td>
- <td valign="middle" align="left">[<a href="avram_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
- <td valign="middle" align="left">[<a href="Function-Index.html#Function-Index" title="Index">Index</a>]</td>
- <td valign="middle" align="left">[<a href="avram_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
- </tr></table>
- <p>
- <font size="-1">
- This document was generated on <i>December 10, 2012</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
- </font>
- <br>
- </p>
- </body>
- </html>