feat: basic sentence rfc #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RFC Syntax
标题:基础语句
创建日期:2025-12-29
类型:语法
概述
定义基础的语句,包括但不限于基础对话,选项,控制立绘等扩展语句。
术语和定义
语句格式
基础语句格式为:
第一个单词单元为标识,后续则统一解析为参数,这种结构的我们称为 基础语句
它应该有以下特点:
一个有效的基础对话应该是名称和文本内容,例如:
当然名称是可以省略,例如:
语句参数
arguments:
"xxx"、--xxx、--xxx=xxx或者其他结构参数分为以下几种:
"xxx",用于表示文本内容,例如"WebGAL"--开头,例如--xxx、--voice="v8.wav"例如:
提案理由
为了统一语句的格式,方便后续的解析和扩展,提出基础语句的格式。