<div dir="ltr">Gabrielle,<div><br></div><div>The way I see it, its pretty much the same thing... Conversion to LLVM-IR of a custom bytecode is the same as conversion to LLVM-IR of a custom language.</div><div><br></div><div>
The syntax of the 'custom language' just happens to be binary bytecode.<br><br><div class="gmail_quote">On Sun, Apr 5, 2009 at 1:15 PM, Gabriele Farina <span dir="ltr"><<a href="mailto:gabriele@sephiroth.it">gabriele@sephiroth.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Isn't it intended to explain how to build a compiler for a custom<br>
language that targets LLVM-IR ? Is it useful also to understand how to<br>
build a VM that is meant to execute custom bytecode (converting it to<br>
LLVM-IR previously) ?<br>
<br>
Thanks,<br>
Gabriele<br>
<br>
Il giorno 05/apr/09, alle ore 11:36, Anton Korobeynikov ha scritto:<br>
<div><div></div><div class="h5"><br>
> Hello, Gabriele<br>
><br>
>> thanks for the suggestion. Do you know if there are any articles<br>
>> around that explains how to use LLVM to build a VM that should work<br>
>> like mine ?<br>
>> I've read something around (mostly source code) but a good article/<br>
>> doc<br>
>> will be perfect<br>
> Have you read the 'Kaleidoscope' tutorial?<br>
><br>
> --<br>
> With best regards, Anton Korobeynikov<br>
> Faculty of Mathematics and Mechanics, Saint Petersburg State<br>
> University<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>