Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valdezfomar/tree-sitter-format-string
Curly brace style string formatting grammar for tree-sitter
https://github.com/valdezfomar/tree-sitter-format-string
parser python rust tree-sitter tree-sitter-grammar tree-sitter-highlight tree-sitter-parser
Last synced: 4 months ago
JSON representation
Curly brace style string formatting grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/valdezfomar/tree-sitter-format-string
- Owner: ValdezFOmar
- License: mit
- Created: 2024-08-23T07:57:01.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-19T04:38:38.000Z (4 months ago)
- Last Synced: 2024-09-26T10:22:26.949Z (4 months ago)
- Topics: parser, python, rust, tree-sitter, tree-sitter-grammar, tree-sitter-highlight, tree-sitter-parser
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-format-string
[![CI][ci]](https://github.com/ValdezFOmar/tree-sitter-format-string/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)A tree-sitter parser for format strings using curly braces (`{}`),
like python's `str.format` method or rust's `format!` macro.## References
- [Rust format syntax](https://doc.rust-lang.org/std/fmt/#syntax)
- [Python format syntax](https://docs.python.org/3/library/string.html#format-string-syntax)
- Other languages?[ci]: https://img.shields.io/github/actions/workflow/status/ValdezFOmar/tree-sitter-format-string/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-format-string?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-format-string?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-format-string?logo=pypi&logoColor=ffd242