winget install --id=Tweag.Topiary -e
Topiary is designed for formatter authors and formatter users. Authors can create a formatter for a language without having to write their own formatting engine or even their own parser. Users benefit from uniform code style and, potentially, the convenience of using a single formatter tool, across multiple languages over their codebases, each with comparable styles applied.
Topiary is a formatter creation tool designed to simplify the development and application of code formatters across multiple programming languages. Built as part of the Tree-sitter ecosystem, Topiary enables formatter authors to create language-specific formatters without writing their own formatting engine or parser. This approach streamlines the process for developers while ensuring consistency in code style.
Key Features:
Audience & Benefit: Ideal for both formatter authors seeking to create efficient tools and developers looking to maintain uniformity in their codebases. By using Topiary, users can achieve consistent formatting across multiple languages with minimal effort, enhancing readability and collaboration. Installable via winget, Topiary provides a seamless integration into existing workflows.
Topiary aims to be a uniform formatter for simple languages, as part of the Tree-sitter ecosystem. It is named after the art of clipping or trimming trees into fantastic shapes.
Topiary is designed for formatter authors and formatter users. Authors can create a formatter for a language without having to write their own formatting engine or even their own parser. Users benefit from uniform code style and, potentially, the convenience of using a single formatter tool, across multiple languages over their codebases, each with comparable styles applied.