Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: AquesTalk風記法パーサーの文法規則コメント #850

Closed
3 tasks done
tarepan opened this issue Dec 10, 2023 · 1 comment · Fixed by #864
Closed
3 tasks done

Refactor: AquesTalk風記法パーサーの文法規則コメント #850

tarepan opened this issue Dec 10, 2023 · 1 comment · Fixed by #864

Comments

@tarepan
Copy link
Contributor

tarepan commented Dec 10, 2023

内容

(必要性議論済み: #817 comments)

要望: AquesTalk風記法パーサーのコードコメントにパース規則を追加してリファクタリング

AquesTalk風記法テキストはその文法規則に基づきパーサーによって処理される。
パーサー実装のコードコメントに文法規則との対応付けがあれば、規則の実装としてのコードが見通しよくなる。

よってAquesTalk風記法パーサーのコードコメントにパース規則を追加するリファクタリングを提案します。

Pros 良くなる点

  • 規則-実装対応の明示によるコード見通しの改善

Cons 悪くなる点

  • 無し

実現方法

  • コメントの追加

VOICEVOXのバージョン

0.14.10

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux
@Hiroshiba
Copy link
Member

読みやすくなるのであれば良いのかなと思いました!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants