Files
sfz/internal/gen

Opcode registry generator

syntax.yml is data/sfz/syntax.yml from sfzformat/sfzformat.github.io (branch source, commit 43addaf8f532bcdb9c268729c754a850280924ef, 23 January 2026), which is the data behind sfzformat.com. That repository is released under CC0 1.0.

main.go turns it into registry_data.go in the sfz package. It is a separate module so that the library has no dependencies. Run go generate ./... from the repository root after replacing syntax.yml.