> For the complete documentation index, see [llms.txt](https://dzp.gitbook.io/tt1book/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan.md).

# TinTin++ 语法指南

- [命令和命令解析❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/ming-ling-he-ming-ling-jie-xi.md)
- [分号和花括号❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/ming-ling-he-ming-ling-jie-xi/fen-hao-he-hua-kuo-hao.md)
- [标识符和变量内插❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/ming-ling-he-ming-ling-jie-xi/biao-shi-fu-he-bian-liang-nei-cha.md)
- [函数❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/ming-ling-he-ming-ling-jie-xi/han-shu.md)
- [变量和数据类型❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing.md)
- [局部变量（#local）❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/ju-bu-bian-liang-local.md)
- [字符串❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/zi-fu-chuan.md)
- [数值和数学运算❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/shu-zhi-he-shu-xue-yun-suan.md)
- [带颜色的字符串❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/dai-yan-se-de-zi-fu-chuan.md)
- [字符串列表❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/zi-fu-chuan-lie-biao.md)
- [数组（#list）❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/shu-zu-list.md)
- [关联数组（table）❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/bian-liang-he-shu-ju-lei-xing/guan-lian-shu-zu-table.md)
- [流程控制❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/liu-cheng-kong-zhi.md)
- [强大的正则表达式❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/qiang-da-de-zheng-ze-biao-da-shi.md)
- [调试和日志❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/tiao-shi-he-ri-zhi.md)
- [会话管理❌](https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan/hui-hua-guan-li.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dzp.gitbook.io/tt1book/tintin++-yu-fa-zhi-nan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
