# RustPHP **Repository Path**: qiyesafe/RustPHP ## Basic Information - **Project Name**: RustPHP - **Description**: 用Rust语言重写PHP虚拟机 - **Primary Language**: Rust - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2020-02-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RustPHP #### 介绍 用Rust实现PHP虚拟机 #### 技术架构 1. parser: lalrpop - https://github.com/lalrpop/lalrpop 2. JIT: CraneStation - https://github.com/CraneStation/cranelift 3. GC - https://github.com/kyren/gc-arena #### 参考资料 1. lua - https://github.com/kyren/luster 2. RustPython - https://github.com/RustPython/RustPython #### 开发环境 64位Win7 / 64位Linux 1. 编译 - cargo build > 考虑到国内网络,请设置好crate镜像,参见:https://lug.ustc.edu.cn/wiki/mirrors/help/rust-crates 2. 运行demo - cargo run demo.php