Files
endorphin-aster-vm/crates/frontend/examples
codex-bot 0b3a480555
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 7m30s
Add token-based PEG frontend and CLI source parsing
2026-10-19 02:48:23 +08:00
..

Frontend 源码样例

basic.endor 包含字符串函数、位置参数、let 绑定、return 与算术表达式。它展示当前能解析的源码,不表示已能编译和执行运算。

在指定远端环境使用 cli parse crates/frontend/examples/basic.endor 输出 AST;工作区运行方法见 运行指南。syntax.rs 包含此样例的解析检查。返回 frontend。