Languages Supported

This page lists all the languages supported by difftastic. You can also view the languages supported in your current installed version with difft --list-languages.

Programming Languages

LanguageParser Used
Bashtree-sitter/tree-sitter-bash
Ctree-sitter/tree-sitter-c
C++tree-sitter/tree-sitter-cpp
C#tree-sitter/tree-sitter-c-sharp
Clojuresogaiu/tree-sitter-clojure (branched)
CMakeuyha/tree-sitter-cmake
Common LisptheHamsta/tree-sitter-commonlisp
DartUserNobody14/tree-sitter-dart
Elixirelixir-lang/tree-sitter-elixir
Elmelm-tooling/tree-sitter-elm
Elvishckafi/tree-sitter-elvish
Emacs Lispwilfred/tree-sitter-elisp
Gleamgleam-lang/tree-sitter-gleam
Gotree-sitter/tree-sitter-go
Hackslackhq/tree-sitter-hack
Hareecmma/tree-sitter-hare
Haskelltree-sitter/tree-sitter-haskell
Janetsogaiu/tree-sitter-janet-simple
Javatree-sitter/tree-sitter-java
JavaScript, JSXtree-sitter/tree-sitter-javascript
Juliatree-sitter/tree-sitter-julia
Kotlinfwcd/tree-sitter-kotlin
Luanvim-treesitter/tree-sitter-lua
Makealemuller/tree-sitter-make
Nixcstrahan/tree-sitter-nix
OCamltree-sitter/tree-sitter-ocaml
Perlganezdragon/tree-sitter-perl
PHPtree-sitter/tree-sitter-php
Pythontree-sitter/tree-sitter-python
QMLtree-sitter/tree-sitter-qmljs
Rubytree-sitter/tree-sitter-ruby
Rusttree-sitter/tree-sitter-rust (forked)
Scalatree-sitter/tree-sitter-scala
SQLm-novikov/tree-sitter-sql
Swiftalex-pinkus/tree-sitter-swift
TypeScript, TSXtree-sitter/tree-sitter-typescript
Zigmaxxnino/tree-sitter-zig

Structured Text Formats

LanguageParser Used
CSStree-sitter/tree-sitter-css
HCLMichaHoffmann/tree-sitter-hcl
HTMLtree-sitter/tree-sitter-html
JSONtree-sitter/tree-sitter-json
TOMLikatyang/tree-sitter-toml
YAMLikatyang/tree-sitter-yaml