topiary
« Back to VersTracker
Description:
Uniform formatter for simple languages, as part of the Tree-sitter ecosystem
Type: Formula  |  Latest Version: 0.7.2@0  |  Tracked Since: Nov 27, 2025
Links: Homepage  |  @TweagIO  |  formulae.brew.sh
Category: Developer tools
Tags: formatter tree-sitter developer-tools rust code-style
Install: brew install topiary
About:
Topiary is a uniform code formatter built on the Tree-sitter parsing ecosystem. It provides a single, consistent tool for formatting multiple simple languages, such as Nickel and Query languages, by leveraging Tree-sitter's robust syntax trees. This approach ensures reliable and maintainable formatting across different language ecosystems.
Key Features:
  • Powered by Tree-sitter for robust syntax parsing
  • Supports multiple simple languages with a unified interface
  • Designed for integration into language servers and development workflows
  • Provides consistent, deterministic formatting output
Use Cases:
  • Standardizing code style in Tree-sitter based language projects
  • Integrating formatting into IDEs and editors via LSP
  • Automating code style enforcement in CI/CD pipelines
Alternatives:
  • Prettier – Prettier is a general-purpose formatter for web languages, while Topiary is specifically designed for the Tree-sitter ecosystem and simple languages.
  • tree-sitter-cli – Tree-sitter CLI focuses on grammar development, whereas Topiary focuses on using the resulting parsers for code formatting.
Version History
Detected Version Rev Change Commit
Nov 27, 2025 2:19pm 0 VERSION_BUMP 48a88ed5
Oct 29, 2025 8:24pm 0 VERSION_BUMP 0eba032b
Sep 13, 2025 5:13am 0 VERSION_BUMP b2fcadae
Nov 26, 2024 1:49pm 0 VERSION_BUMP fdfb30e9