[LLVMdev] What can llvm provide when writing a new compiler?

Cloud Strife geforce8800 at gmail.com
Wed Sep 24 00:27:40 PDT 2008


Hi everyone.
Because there is still a little confusion about the huge document, I want to
know what llvm can provide when we customize our new compiler?
For example, a normal compiler includes lexer, parser, intermediate code
generator , optimizer and target code generator. According to llvm
documents, it seems that llvm can provide a better intermediate code
presentation. And what else can it provide?
   Assuming my new lanuage is very unusual, should I write all the parts(
lexer, parser, intermediate code generator , optimizer and target code
generator) by myself? If so, is there any convenient method / scheme to do
so? Because I heard that the biggest advantage of llvm is its flexible and
quick-development for new language.

  If anyone knows the answer, would you please give me a reply or recommend
the chapters which can answer my questions? Thank you very much for any help
or any advise.



-- 
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080924/f2ebc7a0/attachment.html>


More information about the llvm-dev mailing list