# Languages

ahto parses these languages into symbols, imports, calls, comments and syntax trees. Go uses
Go's own `go/parser`; every other language uses a tree-sitter grammar compiled into the
binary.

| Language | Extensions |
|---|---|
| Go | `.go` |
| Rust | `.rs` |
| C, C++ | `.c` `.h`, `.cc` `.cpp` `.cxx` `.hh` `.hpp` and more |
| JavaScript, TypeScript, TSX | `.js` `.mjs` `.cjs` `.jsx`, `.ts` `.mts` `.cts`, `.tsx` |
| Python, Java, PHP | `.py` `.pyi`, `.java`, `.php` |
| Solidity, Cairo, FunC, Circom, Tact, Move, Sway | `.sol`, `.cairo`, `.fc` `.func`, `.circom`, `.tact`, `.move`, `.sw` |
| Noir | `.nr`, only in a build with `-tags noir` |

A build without cgo parses Go only. [Parsing](/docs/parsing) lists the parsing tables and
says when files are parsed again.