I need to compile PHP source code into LLVM bit code. I tried Raven PHP ( http://code.roadsend.com/rphp ) and it could do what I want, but the project seems dead. So I wanted to check out a few more possible projects.
After that, I found the PECL extension for phpllvm ( http://svn.php.net/viewvc/svn/pecl/llvm/ ). I even almost did it to start with trunked LLVM, but after carefully studying the code, I realized that LLVM code is only generated when the corresponding PHP function is executed. Unfortunately, this is not what I want.
Therefore, I am wondering if there are any other projects for translating PHP into LLVM, and if not, how, in your opinion, is it best to implement this?
About LLVM:
The LLVM project is a collection of modular and reusable compiler and tool chain technologies.
source
share