Metadata-Version: 2.4
Name: panproto-grammars-music
Version: 0.50.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Requires-Dist: panproto>=0.50,<0.51
Summary: panproto grammar pack: Music — SuperCollider, LilyPond, ABC, Csound, ChucK, Glicol, Tidal mini-notation, Strudel mini-notation
Keywords: panproto,tree-sitter,grammar,music
Author-email: Aaron Steven White <aaronstevenwhite@gmail.com>
License-Expression: MIT
Requires-Python: >=3.13
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/panproto/panproto
Project-URL: Issues, https://github.com/panproto/panproto/issues

# panproto-grammars-music

A panproto companion package shipping tree-sitter grammars for
music languages: SuperCollider, LilyPond, ABC, Csound, ChucK, Glicol, Tidal mini-notation, Strudel mini-notation.

## Install

```bash
pip install panproto-grammars-music
```

The package declares an entry point under `panproto.grammars`.
panproto's `AstParserRegistry` factory picks it up automatically;
there is nothing to import from this package directly.

## Use

```python
import panproto

reg = panproto.AstParserRegistry()
# parse one of the grammars this pack adds:
# schema = reg.parse_with_protocol("typescript", b"...", "main.ts")
```

See the panproto repository for the full list of available grammar
packs and the source for this one at
`crates/panproto-grammars-music/` and
`bindings/python-grammars-music/`.

## License

MIT.

