Tweag.Topiary

Tweag · Tweag.Topiary

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.

winget install --id Tweag.Topiary --exact --source winget

Latest 0.6.1

Release Notes

Release Notes Full list of changes Added

  • #862 Added support for the Simple Domain Modeling Language (SDML), thanks to @johnstonskj
  • #884 The Topiary Book
  • #918 Language prefetching utilities for Nix
  • #933 Added support for WIT, thanks to @mkatychev
  • #987 Support for prefetching a single language, thanks to @ErinvanderVeen

Changed

  • #859 Break up integration tests per language, thanks to @mkatychev
  • #871 Switch to mold linker for CI tests, thanks to @mkatychev
  • #893 Use gix lib instead of system git
  • #896 Use official grammar repo for OpenSCAD, thanks to @mkatychev
  • #933 Bump the tree-sitter dependency to 0.25, thanks to @mkatychev

Fixed

  • #867 Enable coverage check and add code samples for OpenSCAD
  • #867 Fixed #969: unhandled trailing comment in multiline list for OpenSCAD, thanks to @mkatychev
  • #869 Disable parallel grammar building on Windows
  • #908 #907 #939 #955 #964 #967 #975 Various OCaml issues and improvements
  • #953 Coverage output when there are zero queries
  • #974 No longer remove trailing spaces after pretty-printing
  • #992 Fixed openscad-LSP#48: unhandled newline separation for transform chains, thanks to @mkatychev
  • #999 Fixed #997: erroneous spacing of block comments in OpenSCAD

Install topiary-cli 0.6.1 Install prebuilt binaries via shell script curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tweag/topiary/releases/download/v0.6.1/topiary-cli-installer.sh | sh Download topiary-cli 0.6.1 ─────────────────────────────────────────────────┬───────────────────┬───────────── File │Platform │Checksum ─────────────────────────────────────────────────┼───────────────────┼───────────── topiary-cli-aarch64-apple-darwin.tar.xz │Apple Silicon macOS│checksum ─────────────────────────────────────────────────┼───────────────────┼───────────── topiary-cli-x86_64-apple-darwin.tar.xz │Intel macOS │checksum ─────────────────────────────────────────────────┼───────────────────┼───────────── topiary-cli-x86_64-pc-windows-msvc.zip │x64 Windows │checksum ─────────────────────────────────────────────────┼───────────────────┼───────────── topiary-cli-aarch64-unknown-linux-gnu.tar.xz │ARM64 Linux │checksum ─────────────────────────────────────────────────┼───────────────────┼───────────── topiary-cli-x86_64-unknown-linux-gnu.tar.xz │x64 Linux │checksum ─────────────────────────────────────────────────┴───────────────────┴─────────────

Installer type: zip

Architecture Scope Download SHA256
x64 Download 8B64B72E3B5411EAECD917D4B379B52BF0C92B2C71C5254E3D69D7F46B271159

Details

Homepage
https://github.com/tweag/topiary
License
MIT
Publisher
Tweag
Support
https://github.com/tweag/topiary/issues
Moniker
topiary

Tags

tree-sitter

Older versions (1)

0.6.0
Architecture Scope Download SHA256
x64 Download 0BA1B938DF3E37BE8B2752EEC4D27BC74D709711E6F8EE52406FB7B68AC4FC32