Journal article

PeachPie: Mature PHP to CLI Compiler
R. Husák, J. Míšek, F. Zavoral, J. Kofroň
Journal of Computer Languages

PeachPie is a compiler of PHP code into Common Language Infrastructure (CLI) assemblies, enabling direct interoperability between PHP and .NET projects. This work describes the overall PeachPie architecture and the implementation of its components, highlighting and explaining the differences from its predecessor Phalanger. PeachPie can compile both legacy proprietary PHP applications and modern PHP frameworks, porting them into CLI with the ability to integrate with other projects written in languages such as C#. This work might provide helpful insight for people performing static analysis of PHP, developing a custom compiler targeting CLI, or exploring possibilities of dynamic language compilation.

    title = {{PeachPie: Mature PHP to CLI Compiler}},
    author = {Husák, Robert and Míšek, Jakub and Zavoral, Filip and Kofroň, Jan},
    year = {2022},
    journal = {{Journal of Computer Languages}},