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.valueconv</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.valueconv");</script> 8caee17864 2010-11-24 kinaba: <table class="content"> 8caee17864 2010-11-24 kinaba: <tr><td id="docbody"><h1>polemy.valueconv</h1><!-- Generated by Ddoc from polemy\valueconv.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: Convert values between Polemy and D<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">T 8caee17864 2010-11-24 kinaba: <span class="currsymbol">polemy2d</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('polemy2d');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (T)(Value <span class="funcparam">_v</span>, LexPosition <span class="funcparam">callpos</span> = null); 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>Experimental!! Convert Polemy value to D Value<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">makeCons</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('makeCons');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (Value <span class="funcparam">a</span>, Value <span class="funcparam">d</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>Cons of two pairs<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">d2polemy</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('d2polemy');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (T)(T <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>Experimental!! Convert D value (except AST) to Polemy Value<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">ast2table</span> 8caee17864 2010-11-24 kinaba: <script>explorer.outline.addDecl('ast2table');</script> 8caee17864 2010-11-24 kinaba: 8caee17864 2010-11-24 kinaba: (T)(T <span class="funcparam">e</span>, Value delegate(AST) <span class="funcparam">rec</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>Convert AST to Table so that it can be used in Polemy<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: </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"> c0158c9281 2010-11-24 kinaba: on Wed Nov 24 20:33:10 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: