<div dir="ltr"><div>Specifically, to run the compiler inside the, one can use something like this <a href="https://github.com/CakeML/cakeml/blob/master/characteristic/examples/compilation/compilationLib.sml">https://github.com/CakeML/cakeml/blob/master/characteristic/examples/compilation/compilationLib.sml</a>. To produce RISC-V instead of x64, try replacing x64_compiler_config with riscv_compiler_config.<br><br></div><div>I don't think we will see progress on a RISC-V version of the bootstrapped compiler before solving this issue <a href="https://github.com/CakeML/cakeml/issues/249">https://github.com/CakeML/cakeml/issues/249</a>.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 April 2017 at 13:11, Yong Kiam <span dir="ltr"><<a href="mailto:tanyongkiam@gmail.com" target="_blank">tanyongkiam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We have some tools to evaluate the compiler in the logic and to extract the resulting bytes for RISC-V.<div><br></div><div>However, they aren't as well tested as the x64 backend.<div><div><br></div><div>The standalone bootstrapped compiler currently only has the translated x64 encoder included.</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Apr 9, 2017 at 10:00 PM, Corey Richardson <span dir="ltr"><<a href="mailto:corey@octayn.net" target="_blank">corey@octayn.net</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi,<br>
<br>
A member of the RISC-V community would like to evaluate CakeML's codegen<br>
for that platform. Is there an easy way right now to acquire a compiler,<br>
or evaluate it in HOL, which can output RISC-V programs?<br>
<br>
(He also noted that the explorer is broken right now, which I believe is<br>
expected)<br>
<br>
Best,<br>
<span class="m_-892867533750207693HOEnZb"><font color="#888888">--<br>
cmr<br>
<a href="http://octayn.net/" rel="noreferrer" target="_blank">http://octayn.net/</a><br>
<a href="tel:%2B16038524272" value="+16038524272" target="_blank">+16038524272</a><br>
<br>
</font></span><br></div></div>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@cakeml.org" target="_blank">Developers@cakeml.org</a><br>
<a href="https://lists.cakeml.org/listinfo/developers" rel="noreferrer" target="_blank">https://lists.cakeml.org/listi<wbr>nfo/developers</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Developers mailing list<br>
<a href="mailto:Developers@cakeml.org">Developers@cakeml.org</a><br>
<a href="https://lists.cakeml.org/listinfo/developers" rel="noreferrer" target="_blank">https://lists.cakeml.org/<wbr>listinfo/developers</a><br>
<br></blockquote></div><br></div>