TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
321 B

#!/usr/bin/env php
<?php
require __DIR__ . '/bootstrap.php';
require TYPEPHP_ROOT_PATH . '/src/polyfills.php';
require TYPEPHP_ROOT_PATH . '/src/gen_stub.php';
require TYPEPHP_ROOT_PATH . '/src/compiler.php';
runCompiler(
$argc,
$argv,
\TypePhp\Build\CompilerRuntime::source(TYPEPHP_ROOT_PATH, $argv[0]),
);