tacoberu/hayo-decoder
Composer 安装命令:
composer require tacoberu/hayo-decoder
包简介
Hayo scripting language decoder and parser.
README 文档
README
A PHP library that parses Hayo source code and creates an Abstract Syntax Tree (AST), which can then be compiled into a target language.
Note: This project is not useful on its own as it is a component of the php-hayo project.
About Hayo
Hayo is a purely functional scripting language. A script is passed as a string, compiled into a function, and called with concrete data. The result is always the last evaluated expression. No side effects are possible.
For more information about the language syntax, see SYNTAX.md.
Installation
You can install the package via Composer:
composer require tacoberu/hayo-decoder
Usage
use Taco\Hayo\HayoDecoder; $decoder = new HayoDecoder(); $ast = $decoder->decode('... hayo source code ...');
统计信息
- 总下载量: 152
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-02