# RustPHP **Repository Path**: AnnOS/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**: 1 - **Created**: 2019-05-19 - **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 #### 开发环境 64位Win7 / 64位Linux 1. 编译 - cargo build > 1. 考虑到国内网络,请设置好crate镜像,参见:https://lug.ustc.edu.cn/wiki/mirrors/help/rust-crates > > 2. 需要先安装python 3,并在命令行上可访问 2. 运行demo - cargo run demo.php #### QQ技术交流群 544160222