Files
hamori/tests/fixtures/valid_c_major.chord
H1K0 4fd8ece170 refactor: replace fixed STYLE_user with open-ended style tag system
- STYLE_user renamed to STYLE_H1K0 in VOCAB (author's personal tag)
- Style field now accepts any [A-Za-z][A-Za-z0-9_]* identifier in .chord files
- Unknown styles fall back to STYLE_other at tokenization time with a log warning
- Test fixtures updated to style: other; drop closed _VALID_STYLES frozenset
- Spec bumped to v2.1: documents open style field, fallback behaviour, and §5.7
  guide on registering a new style token

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 00:29:52 +03:00

10 lines
211 B
Plaintext

# title: C major test
# key: C_major
# time: 4/4
# subdivision: 4
# style: other
# function: chorus
| C . . . | Am7 . . . | F/A . . . | G7 . . . | // first half
| Em7 . . . | Am7 . . . | Dm7 . . . | G7 . . . |