Files
playbook/docs/tsl/reference/catalog/system.md
T
cshandClaude Opus 4.6 8b93311cae 📝 docs(tsl): clarify syntax constraints and enhance test infrastructure
- Add TSF file naming constraint to syntax/02_core_model.md
- Clarify semicolon rules: syntax facts vs style preferences
- Separate control flow end semicolon rules (syntax allows both)
- Add function body semicolon requirements to syntax/05_functions_and_calls.md
- Move style preferences to code_style.md (control flow end semicolons)
- Remove cross-references from syntax docs to maintain independence
- Enhance Gitea workflow emoji for better CI output readability
- Fix CI test path from tests/ to test/
- Organize agent test results under test/agent/result/ directory
- Add complete Chinese translation of test cases (test_cases_zh.md)
- Clean up .gitignore to use unified test/agent/result/ directory
- Remove obsolete agent test artifacts (REPORTS_LOCATION.md, old results)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:04:50 +08:00

1.8 KiB

系统相关函数

文档类型:函数事实路由页 是否可直接用于生成代码:是;进入分类详情页后按函数事实条目生成调用 遇到不确定时:回到 ../index.md../../syntax/index.md

这一页是系统相关函数的轻量入口,不直接承载全部函数事实。生成函数调用时,先按分类目录进入详情页,再只读取命中的函数条目和参数表。

模块范围

  • 说明:数据类型、表达式调用、性能与运行时能力
  • 函数事实数:60

智能体检索规则

  1. 用户只描述能力时,先按“分类目录”选择候选详情页。
  2. 用户给出函数名时,优先在 system/ 子目录中搜索三级函数标题。
  3. 只读取命中的函数条目、相邻分类标题和必要参数表;不要把同页其它函数混进当前调用。
  4. 没有命中函数事实条目时,不要发明函数名;回到 ../index.md 或项目实际代码确认。

分类目录

分类 详情页 函数事实数
数据类型函数 system/01_data_type.md 27
数据类型转换函数 system/02_type_conversion.md 13
全局缓存函数 system/03_global_cache.md 4
随机函数 system/04_random.md 3
表达式相关函数 system/05_expression.md 5
函数库路径 system/06_tsl_lib_path.md 3