docs(compiler): explain compilation entry points and source examples
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// cli run crates/compiler/examples/hello.endor → 你好,Endor 🌱
|
||||
// compiler/tests/pipeline.rs 编译并加载本模块后调用 main,期望返回“你好,Endor 🌱”。
|
||||
function main(): String {
|
||||
// 返回 Unicode 文本字面量,测试核对编译及 VM 返回过程保留原文。
|
||||
return "你好,Endor 🌱"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user