Artifact 2aa3eeff1e9266f31fa53bc0f4c27b8ad19354dd
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>polemy.valueconv</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("polemy.valueconv");</script>
<table class="content">
<tr><td id="docbody"><h1>polemy.valueconv</h1><!-- Generated by Ddoc from polemy\valueconv.d -->
<b>Authors:</b><br>
k.inaba
<br><br>
<b>License:</b><br>
NYSL 0.9982 http://www.kmonos.net/nysl/
<br><br>
Convert values between Polemy and D<br><br>
<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">T
<span class="currsymbol">polemy2d</span>
<script>explorer.outline.addDecl('polemy2d');</script>
(T)(Value <span class="funcparam">_v</span>, LexPosition <span class="funcparam">callpos</span> = null);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Experimental!! Convert Polemy value to D Value<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Table
<span class="currsymbol">makeCons</span>
<script>explorer.outline.addDecl('makeCons');</script>
(Value <span class="funcparam">a</span>, Value <span class="funcparam">d</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Cons of two pairs<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Value
<span class="currsymbol">d2polemy</span>
<script>explorer.outline.addDecl('d2polemy');</script>
(T)(T <span class="funcparam">e</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Experimental!! Convert D value (except AST) to Polemy Value<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Value
<span class="currsymbol">ast2table</span>
<script>explorer.outline.addDecl('ast2table');</script>
(T)(T <span class="funcparam">e</span>, Value delegate(AST) <span class="funcparam">rec</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Convert AST to Table so that it can be used in Polemy<br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>
</td></tr>
<tr><td id="docfooter">
Page was generated with
<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
on Wed Nov 24 19:09:32 2010
</td></tr>
</table>
</div>
<script>
explorer.packageExplorer.addModule("index");
explorer.packageExplorer.addModule("main");
explorer.packageExplorer.addModule("tricks.tricks");
explorer.packageExplorer.addModule("tricks.test");
explorer.packageExplorer.addModule("polemy._common");
explorer.packageExplorer.addModule("polemy.failure");
explorer.packageExplorer.addModule("polemy.layer");
explorer.packageExplorer.addModule("polemy.fresh");
explorer.packageExplorer.addModule("polemy.lex");
explorer.packageExplorer.addModule("polemy.parse");
explorer.packageExplorer.addModule("polemy.ast");
explorer.packageExplorer.addModule("polemy.value");
explorer.packageExplorer.addModule("polemy.valueconv");
explorer.packageExplorer.addModule("polemy.eval");
explorer.packageExplorer.addModule("polemy.runtime");
explorer.packageExplorer.addModule("polemy.repl");</script>
</body></html>