From 7249ca3a6fdf51f6b7ea66ac6854edd5e02ae5ec Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Wed, 15 Jul 2026 20:00:24 +0900 Subject: feat: MMLパーサーと意味解析を厳格化 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ppmckの終端分岐付きリピートとL制御トラックを実装 - case、構文構造、音長、エフェクト値域の検証を強化 - Pyxel拡張コマンドのarityと参照検証を追加 - リピート展開上限と構文・意味エラー時の合成停止を追加 - BNF、設計書、適合監査、回帰テストを更新 --- tests/test_compose_mml_tool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/test_compose_mml_tool.py') diff --git a/tests/test_compose_mml_tool.py b/tests/test_compose_mml_tool.py index 944711f..c33e737 100644 --- a/tests/test_compose_mml_tool.py +++ b/tests/test_compose_mml_tool.py @@ -137,9 +137,7 @@ def test_compose_with_syntax_error(compose_mml): def test_compose_with_warning(compose_mml, tmp_output_dir): - mml = """2: T120 L4 O3 V60 @1 - C4 -""" + mml = "0: T120 L4 O3 V60 [C4]" result = compose_mml(action="compose", mml=mml, mode="pyxel") assert result["success"] is True assert result["validation"]["warnings"] -- cgit v1.2.3