mirror of
https://github.com/danog/parser.git
synced 2024-11-27 12:24:57 +01:00
.. | ||
bin | ||
build | ||
src | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
go.mod | ||
README.md |
Trunk Compiler
This package contains the initial MVP for compiling PHP code to a native executable.
The initial proof of concept is powered by the nikic/php-parser
package since it supports the entire PHP language. The compiler itself will be moved across to the Rust one found in trunk_parser
once the concept has been thought out and proved to be useful.
Requirements
The compiler is written in PHP, so you will need the official PHP engine available. You will also need to have a recent version of Go installed (recommended >1.18).