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.
 
 
韩天峰 eeca2e598b docs: update documentation references and compiler CLI guide 2 months ago
..
AOT_BUILD_SPEED_RESEARCH.md docs(compiler): 添加AOT编译速度优化研究文档并完善测试用例 2 months ago
BACKEND_NEUTRAL_IR.md docs(backend): add backend-neutral IR design document 2 months ago
CLASS_INHERITANCE.md docs: update documentation references and compiler CLI guide 2 months ago
COMPILATION_MODES.md docs: update documentation references and compiler CLI guide 2 months ago
COMPILER_CLI.md docs: update documentation references and compiler CLI guide 2 months ago
COMPILE_TIME_FUNCTIONS.md feat(compiler): implement unified any() function handling and enhanced composite type checking 2 months ago
GMP_GAP.md BitInt 支持位运算操作符 3 months ago
HIGH_PRECISION_TYPES.md docs: update documentation references and compiler CLI guide 2 months ago
INCOMPATIBLE_PHP_FEATURES.md docs: update documentation references and compiler CLI guide 2 months ago
MIXED_CPP_PHP.md docs: update documentation references and compiler CLI guide 2 months ago
NATIVE_TYPES.md docs: update documentation references and compiler CLI guide 2 months ago
PATENT_01_CPP_TEMPLATE_TYPED_CONTAINER.md refactor(aot): 重构标准容器实现将unordered_map重命名为ordered_map 2 months ago
PATENT_02_HYBRID_STATE_PROGRAMMING_LANGUAGE.md docs: 添加两项专利申请技术交底书 3 months ago
PHP_INCOMPATIBILITY_CLASSIFICATION.md docs: update documentation references and compiler CLI guide 2 months ago
QUICKSTART.md docs: update documentation references and compiler CLI guide 2 months ago
README.md docs: update documentation references and compiler CLI guide 2 months ago
REFACTORING_PLAN.md refactor(php): 重构PHP解析器的表达式处理和动态属性访问 2 months ago
STD_CONTAINERS.md refactor(aot): 重构标准容器实现将unordered_map重命名为ordered_map 2 months ago
UNIVERSAL_METHODS.md docs: update documentation references and compiler CLI guide 2 months ago
YIELD_GENERATOR.md docs(generator): update documentation for TypePHP FiberGenerator implementation 2 months ago
aot-optimization-priority.md docs(aot): 添加 AOT 编译器优化优先级和 PHP 源码优化器分析文档 3 months ago
hhvm-review.md docs: 添加 HHVM/HHBBC 和 KPHP 编译器技术调研文档 3 months ago
kphp-review.md docs: 添加 HHVM/HHBBC 和 KPHP 编译器技术调研文档 3 months ago
peachpie-review.md docs: 添加 HHVM/HHBBC 和 KPHP 编译器技术调研文档 3 months ago
php-src-optimizer-analysis.md docs(aot): 添加 AOT 编译器优化优先级和 PHP 源码优化器分析文档 3 months ago
phpstan-design-analysis.md docs(aot): 添加 AOT 编译器优化优先级和 PHP 源码优化器分析文档 3 months ago

README.md

TypePHP 编译器内部文档

本目录包含编译器实现、兼容性、构建模式和专项设计文档。用户侧使用手册位于独立的 aot/docs 仓库;这里的研究报告和重构计划可能描述历史状态,当前行为应以代码、测试和兼容性清单为准。

当前权威文档

架构与维护

研究与历史资料

hhvm-review.mdkphp-review.mdpeachpie-review.mdphpstan-design-analysis.mdphp-src-optimizer-analysis.md 以及专利草案用于记录调研时点的比较和设计背景,不作为当前功能清单。

维护规则

  1. 当前兼容性变化同时更新 INCOMPATIBLE_PHP_FEATURES.md 和分类文档。
  2. 所有语法和语义限制统一链接到当前兼容性清单,避免维护重复清单。
  3. 功能是否支持应以 PHPT/PHPUnit 回归测试为依据。
  4. 历史研究文档保留原始比较结论,并在需要时注明调研日期,不应悄然改写为当前状态。