[LLVMdev] Suggestion for VM porting to LLVM

someguy just.s0m3.guy+llvmdev at gmail.com
Mon Apr 6 23:22:44 PDT 2009


Gabrielle,
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.

The syntax of the 'custom language' just happens to be binary bytecode.

On Sun, Apr 5, 2009 at 1:15 PM, Gabriele Farina <gabriele at sephiroth.it>wrote:

> Hi,
>
> Isn't it intended to explain how to build a compiler for a custom
> language that targets LLVM-IR ? Is it useful also to understand how to
> build a VM that is meant to execute custom bytecode (converting it to
> LLVM-IR previously) ?
>
> Thanks,
> Gabriele
>
> Il giorno 05/apr/09, alle ore 11:36, Anton Korobeynikov ha scritto:
>
> > Hello, Gabriele
> >
> >> thanks for the suggestion. Do you know if there are any articles
> >> around that explains how to use LLVM to build a VM that should work
> >> like mine ?
> >> I've read something around (mostly source code) but a good article/
> >> doc
> >> will be perfect
> > Have you read the 'Kaleidoscope' tutorial?
> >
> > --
> > With best regards, Anton Korobeynikov
> > Faculty of Mathematics and Mechanics, Saint Petersburg State
> > University
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090407/3a7d3eea/attachment.html>


More information about the llvm-dev mailing list