Skip to content

feat(spec): record labels after a spaced bullet (R8.7) - #44

Merged
4matic merged 16 commits into
mainfrom
feat/bullet-label
Nov 15, 2026
Merged

4matic merged 16 commits into
mainfrom
feat/bullet-label

Conversation

@4matic

@4matic 4matic commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Adds R8.7: in Artist - Title • LABEL • NOTE, the text after the first spaced bullet (U+2022) that follows the artist/title dash becomes a new ParsedTrack field label; later segments become junk kind note. format writes the label back (label option, Go OmitLabel, C trackparse_format_options_set_omit_label). All five ports, spec, schemas, fixtures, generator and docs.

Behaviour changes (only strings with a spaced bullet after the dash; no existing fixture changed except by gaining "label": null):

  • Mono Code - Traced • DUB: artist Mono Code, title Traced, label DUB (used to lose the artist to an R6.2 dub version).
  • Noisia - Stigma ft. X • VISION: featured X, not X • VISION.
  • Noisia - Stigma • HOSPITAL (2024): year stays in the label, year is null.
  • Noisia - Stigma • FREE DOWNLOAD: title Stigma, not Stigma •.
  • Hey Jude - Remastered 2015 • X: artist Hey Jude (the head is split at its first dash, as R6.10 does).
  • Rust JunkKind::from_name("note") gives Note instead of Other.

Checks:

  • Fixtures: 13,565 (1,280 handwritten, 12,285 generated); 100% in JS, Python, Rust, Go and C with empty skip lists.
  • compare-ports: 0 differences in all four ports.
  • fuzz-ports: Go, Rust and C 0 differences. Python's 32 are the known featMarker: null gap and Python 3.12's Unicode 15 tables; none has a bullet.
  • C under ASan and UBSan; 10,000-code-point inputs full of bullets stay well under the ceilings in every port.
  • The six sample tracklists give 108 labels and 6 notes in every port.
  • Docs: examples run in five languages, docs:build passes.

Release notes: .github/release-notes/0.8.0.md. This is a feat, so the open release PR becomes 0.8.0.

…t becomes the label field, later segments junk kind note; format writes it back (label option)
…es, format, tracklists); exact cases gain "label": null
…NOTE, trackparse_format_options_set_omit_label; C++ label(), omit_label()
…ick the mode through R2.1 and that quotes do not protect a bullet
…junk with an empty kind and kind note, astral junk order, quotes, trailing bullet, mode picked by the tail)
…ands, the label field and junk kind note in the reference, the format label option, labels in tracklists, the playground's label row; counts 13,565
…k-phrase segments, empty titles) in all five ports; the round trip follows the new R11.6
@4matic
4matic merged commit a29e672 into main Nov 15, 2026
40 checks passed
@4matic
4matic deleted the feat/bullet-label branch November 15, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant