Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 3719

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>Pseudocode -- the class of pseudocodes</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_pseudocode.html">next</a> | <a href="_pruning__Map.html">previous</a> | <a href="_pseudocode.html">forward</a> | <a href="_pruning__Map.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<hr/>
<div><h1>Pseudocode -- the class of pseudocodes</h1>
<div class="single"><h2>Description</h2>
<div>The Macaulay2 interpreter compiles its language into pseudocode, which is evaluated later, step by step.  At each step, the evaluator is considering a pseudocode item.  These pseudocode items are normally not available to the user, but the interanl function <a href="_disassemble.html" title="disassemble pseudocode or a function">disassemble</a> can display their contents, the function <a href="_pseudocode.html" title="produce the pseudocode for a function">pseudocode</a> can convert a function closure to pseudocode, the function <a href="_value.html" title="evaluate">value</a> can evaluate it (bindings of values to local symbols are enclosed with the pseudocode), the operator <a href="___Thing_sp_eq_eq_eq_sp__Thing.html" title="strict equality">===</a> can be used for equality testing, and when the debugger is activated after an error, the variable <a href="_current.html" title="the pseudocode that produced an error">current</a> contains the pseudcode step whose execution produced the error.</div>
</div>
<div class="waystouse"><h2>Methods that use an object of class Pseudocode :</h2>
<ul><li><span>frames(Pseudocode), see <span><a href="_frames.html" title="get the frames associated to a closure">frames</a> -- get the frames associated to a closure</span></span></li>
<li><span>localDictionaries(Pseudocode), see <span><a href="_local__Dictionaries.html" title="get local dictionaries">localDictionaries</a> -- get local dictionaries</span></span></li>
<li><span>locate(Pseudocode), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span><a href="_value_lp__Pseudocode_rp.html" title="execute pseudocode">value(Pseudocode)</a> -- execute pseudocode</span></li>
</ul>
</div>
<div class="waystouse"><h2>For the programmer</h2>
<p>The object <a href="___Pseudocode.html" title="the class of pseudocodes">Pseudocode</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor class <a href="___Thing.html" title="the class of all things">Thing</a>.</p>
</div>
</div>
</body>
</html>