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

Cloud Strife
2008-09-24T07:27:40Z

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>