测试¶
这是对本文档构建的测试,无需关注其内容。
Markdown 基本语法¶
斜体 and 粗体 and 粗斜体
- 列表项 1
- 列表项 2
- 子列表项 1
- 子列表项 2
- 列表项 3
- 有序列表项 1
- 有序列表项 2
- 子有序列表项 1
- 子有序列表项 2
- 有序列表项 3
这是一个引用块。
¶
val a = sizeof(i32);
val b = 2 pow 3;
// 直接将文件插入
#include <xxxx.lh>
#include "xxxx.lh"
// 定义关键字
#keyword bool value.bool.true
#keyword bool type.bool
#keyword u32 type.intsize
#keyword u32 type.int32
#keyword u32 type.uint32
use "路径"; // 导入到根空间
use "路径" -> ::; // 导入到根空间
use "路径" -> 命名空间; // 导入到指定命名空间
use std.io.println; // 导入某个函数
// 函数声明示例
act[io.out] main(i32 argc, [[]string] argv) -> i32;
use "std" -> std;
act[io.out] main() -> i32 {
std.println("Hello, world!");
return 0;
}
Note
测试
Abstract
测试
Info
测试
Tip
测试
Success
测试
Question
测试
Warning
测试
Failure
测试
Danger
测试
Bug
测试
Example
测试
Quote
测试