File Annotation
Not logged in
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <html><head>
8caee17864 2010-11-24        kinaba: <meta http-equiv="content-type" content="text/html; charset=utf-8">
8caee17864 2010-11-24        kinaba: <meta content="text/javascript" http-equiv="content-script-type">
8caee17864 2010-11-24        kinaba: <title>polemy.eval</title>
8caee17864 2010-11-24        kinaba: <link rel="stylesheet" type="text/css" href="candydoc/style.css">
8caee17864 2010-11-24        kinaba: <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
8caee17864 2010-11-24        kinaba: <script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
8caee17864 2010-11-24        kinaba: <script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
8caee17864 2010-11-24        kinaba: <script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
8caee17864 2010-11-24        kinaba: </head><body>
8caee17864 2010-11-24        kinaba: <div id="tabarea"></div><div id="explorerclient"></div>
8caee17864 2010-11-24        kinaba: <div id="content"><script>explorer.initialize("polemy.eval");</script>
8caee17864 2010-11-24        kinaba: 	<table class="content">
8caee17864 2010-11-24        kinaba: 		<tr><td id="docbody"><h1>polemy.eval</h1><!-- Generated by Ddoc from polemy\eval.d -->
8caee17864 2010-11-24        kinaba: <b>Authors:</b><br>
8caee17864 2010-11-24        kinaba: k.inaba
8caee17864 2010-11-24        kinaba: <br><br>
8caee17864 2010-11-24        kinaba: <b>License:</b><br>
8caee17864 2010-11-24        kinaba: NYSL 0.9982 http://www.kmonos.net/nysl/
8caee17864 2010-11-24        kinaba: <br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba:  Evaluator for Polemy programming language.<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.incSymbolLevel();</script>
8caee17864 2010-11-24        kinaba: <dl>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">class
8caee17864 2010-11-24        kinaba: <span class="currsymbol">Evaluator</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('Evaluator');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: ;
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Objects for maitaining global environment and evaluation of expression on it<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.incSymbolLevel();</script>
8caee17864 2010-11-24        kinaba: <dl>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">this();
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Initialize evaluator with empty context<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">Value
8caee17864 2010-11-24        kinaba: <span class="currsymbol">evalAST</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('evalAST');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: (AST <span class="funcparam">e</span>);
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Evaluate the AST<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">Value
8caee17864 2010-11-24        kinaba: <span class="currsymbol">evalString</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('evalString');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: (S, T...)(S <span class="funcparam">str</span>, T <span class="funcparam">fn_ln_cn</span>);
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Evaluate the string<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">Value
8caee17864 2010-11-24        kinaba: <span class="currsymbol">evalFile</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('evalFile');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: (S, T...)(S <span class="funcparam">filename</span>, T <span class="funcparam">ln_cn</span>);
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Evaluate the file<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">Table
8caee17864 2010-11-24        kinaba: <span class="currsymbol">globalContext</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('globalContext');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: ();
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Get the global context<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = true;</script>
8caee17864 2010-11-24        kinaba: <dt><span class="decl">void
8caee17864 2010-11-24        kinaba: <span class="currsymbol">addPrimitive</span>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.addDecl('addPrimitive');</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: (R, T...)(string <span class="funcparam">name</span>, Layer <span class="funcparam">defLay</span>, R delegate(T) <span class="funcparam">dg</span>);
8caee17864 2010-11-24        kinaba: </span></dt>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.writeEnabled = false;</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: <dd>Add primitive function to the global context<br><br>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: </dl>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.decSymbolLevel();</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </dd>
8caee17864 2010-11-24        kinaba: </dl>
8caee17864 2010-11-24        kinaba: <script>explorer.outline.decSymbolLevel();</script>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: </td></tr>
8caee17864 2010-11-24        kinaba: 		<tr><td id="docfooter">
8caee17864 2010-11-24        kinaba: 			Page was generated with
8caee17864 2010-11-24        kinaba: 			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
8caee17864 2010-11-24        kinaba: 			on Wed Nov 24 19:09:32 2010
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: 		</td></tr>
8caee17864 2010-11-24        kinaba: 	</table>
8caee17864 2010-11-24        kinaba: </div>
8caee17864 2010-11-24        kinaba: <script>
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("index");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("main");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("tricks.tricks");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("tricks.test");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy._common");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.failure");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.layer");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.fresh");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.lex");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.parse");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.ast");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.value");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.valueconv");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.eval");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.runtime");
8caee17864 2010-11-24        kinaba: 	explorer.packageExplorer.addModule("polemy.repl");</script>
8caee17864 2010-11-24        kinaba: </body></html>
8caee17864 2010-11-24        kinaba: 
8caee17864 2010-11-24        kinaba: