Journal article

Title:
PeachPie: Mature PHP to CLI compiler
Authors:
R. Husák, J. Míšek, F. Zavoral, J. Kofroň
Publication:
Journal of Computer Languages
DOI:
Year:
2022
Link:

Abstract:
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.

BibTeX:
@article{husak_peachpie_2022,
    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}},
    doi = {10.1016/j.cola.2022.101152},
    issn = {2590-1184},
    pages = {1--29},
    url = {https://www.sciencedirect.com/science/article/pii/S2590118422000491},
    shorttitle = {PeachPie},
}