Languages Supported - Difftastic Manual
Description: The manual for difftastic, the structural diff tool

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# 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

Language | Parser Used
--- | ---
Ada | briot/tree-sitter-ada
Apex | aheber/tree-sitter-sfapex
Bash | tree-sitter/tree-sitter-bash
C | tree-sitter/tree-sitter-c
C++ | tree-sitter/tree-sitter-cpp
C# | tree-sitter/tree-sitter-c-sharp
Clojure | grammar-orchard/tree-sitter-clojure-orchard
CMake | uyha/tree-sitter-cmake
Common Lisp | theHamsta/tree-sitter-commonlisp
Dart | grammar-orchard/tree-sitter-dart-orchard
Device Tree | joelspadin/tree-sitter-devicetree
Elixir | elixir-lang/tree-sitter-elixir
Elm | elm-tooling/tree-sitter-elm
Elvish | ckafi/tree-sitter-elvish
Erlang | WhatsApp/tree-sitter-erlang
Emacs Lisp | wilfred/tree-sitter-elisp
F# | ionide/tree-sitter-fsharp
Fortran | stadelmanma/tree-sitter-fortran
Gleam | gleam-lang/tree-sitter-gleam
Go | tree-sitter/tree-sitter-go
Hack | slackhq/tree-sitter-hack
Hare | ecmma/tree-sitter-hare
Haskell | tree-sitter/tree-sitter-haskell
Janet | sogaiu/tree-sitter-janet-simple
Java | tree-sitter/tree-sitter-java
JavaScript, JSX | tree-sitter/tree-sitter-javascript
Julia | tree-sitter/tree-sitter-julia
Kotlin | fwcd/tree-sitter-kotlin
Lua | tree-sitter-grammars/tree-sitter-lua
Make | tree-sitter-grammars/tree-sitter-make
Nix | nix-community/tree-sitter-nix
Objective-C | amaanq/tree-sitter-objc
OCaml | tree-sitter/tree-sitter-ocaml
Pascal | Isopod/tree-sitter-pascal
Perl | ganezdragon/tree-sitter-perl
PHP | tree-sitter/tree-sitter-php
Python | tree-sitter/tree-sitter-python
QML | yuja/tree-sitter-qmljs
R | r-lib/tree-sitter-r
Racket | 6cdh/tree-sitter-racket
Ruby | tree-sitter/tree-sitter-ruby
Rust | grammar-orchard/tree-sitter-rust-orchard
Scala | tree-sitter/tree-sitter-scala
Scheme | 6cdh/tree-sitter-scheme
Smali | amaanq/tree-sitter-smali
Solidity | JoranHonig/tree-sitter-solidity
SQL | derekstride/tree-sitter-sql
Swift | alex-pinkus/tree-sitter-swift
TypeScript, TSX | tree-sitter/tree-sitter-typescript
Verilog | tree-sitter/tree-sitter-verilog
VHDL | JLeemaster/tree-sitter-vhdl
Zig | tree-sitter-grammars/tree-sitter-zig

## Structured Text Formats

Language | Parser Used
--- | ---
CSS | tree-sitter/tree-sitter-css
HCL | tree-sitter-grammars/tree-sitter-hcl
HTML | tree-sitter/tree-sitter-html
JSON | tree-sitter/tree-sitter-json
LaTeX | latex-lsp/tree-sitter-latex
Newick | delehef/tree-sitter-newick
Proto | coder3101/tree-sitter-proto
SCSS | serenadeai/tree-sitter-scss
TOML | tree-sitter-grammars/tree-sitter-toml
XML | tree-sitter-grammars/tree-sitter-xml
YAML | tree-sitter-grammars/tree-sitter-yaml