Reference
Languages
50 language families in three tiers: 36 full, 8 outline and 6 documentation formats. The table is the output of dctx languages --markdown, captured from dctx 1.3.1.
dctx languages prints this table (--json for tools, --markdown for this block) from the one registry that also drives dctx --version --verbose; a test fails when the block below differs from it.
- full: symbols and call edges. Call edges are lexical, not type-resolved: they come from names, scopes and imports, never from a type checker, and ambiguous references are dropped.
- outline: symbols only; no call edges are promised. Shell function bodies can yield same-file call guesses, but v1 does not promise shell call edges.
- docs: headed sections.
- Confidence:
guessmarks the heuristic outline families, and every record from those files carries confidenceguess;structuralmeans a dedicated lexer or deterministic document rules.
Full language table
| Language | Tag | Files | Tier | Confidence |
|---|---|---|---|---|
| Rust | rust | .rs | full | structural |
| JavaScript | javascript | .js, .mjs, .cjs, .jsx | full | structural |
| TypeScript/TSX | typescript | .ts, .mts, .cts, .tsx | full | structural |
| Python | python | .py, .pyi | full | structural |
| Go | go | .go | full | structural |
| Java | java | .java | full | structural |
| C/C++ | c | .c, .h, .cc, .cpp, .cxx, .hpp, .hh | full | structural |
| C# | csharp | .cs | full | structural |
| Kotlin | kotlin | .kt, .kts | full | structural |
| Ruby | ruby | .rb, .rake, .gemspec, Rakefile, Gemfile | full | structural |
| PHP | php | .php, .phtml, .inc | full | structural |
| Swift | swift | .swift | full | structural |
| Vue/Svelte/Astro/HTML script blocks | web | .vue, .svelte, .astro, .html, .htm | full | structural |
| Scala | scala | .scala, .sc | full | guess |
| Dart | dart | .dart | full | guess |
| Zig | zig | .zig | full | guess |
| Solidity | solidity | .sol | full | guess |
| Gleam | gleam | .gleam | full | guess |
| Fortran | fortran | .f90, .f95, .f03, .f08, .f, .for | full | guess |
| Perl | perl | .pl, .pm, .t, .psgi | full | guess |
| Groovy | groovy | .groovy, .gradle | full | guess |
| PowerShell | powershell | .ps1, .psm1, .psd1 | full | guess |
| Elixir | elixir | .ex, .exs | full | guess |
| Lua | lua | .lua | full | guess |
| OCaml | ocaml | .ml, .mli | full | guess |
| R | r | .r | full | guess |
| Julia | julia | .jl | full | guess |
| Haskell | haskell | .hs | full | guess |
| Erlang | erlang | .erl, .hrl | full | guess |
| Verilog/SystemVerilog | verilog | .v, .vh, .sv, .svh | full | guess |
| Terraform/HCL | hcl | .tf, .tfvars, .hcl | full | guess |
| SQL | sql | .sql, *.sql.in | full | guess |
| Clojure | clojure | .clj, .cljs, .cljc, .edn | full | guess |
| Common Lisp | lisp | .lisp, .lsp, .cl | full | guess |
| Scheme | scheme | .scm, .ss | full | guess |
| Emacs Lisp | elisp | .el | full | guess |
| JSON/JSONC/TOML/YAML | config | .json, .jsonc, .toml, .yaml, .yml | outline | structural |
| Shell | shell | .sh, .bash, .zsh, .bats | outline | guess |
| Makefile | make | .mk, Makefile, GNUmakefile | outline | guess |
| Dockerfile | docker | Dockerfile, Containerfile | outline | guess |
| Protobuf | proto | .proto | outline | guess |
| Pascal | pascal | .pas, .pp, .dpr | outline | guess |
| GraphQL | graphql | .graphql, .gql | outline | guess |
| Nix | nix | .nix | outline | guess |
| Markdown | markdown | .md, .markdown | docs | structural |
| Plain text | text | .txt | docs | structural |
| reStructuredText | rst | .rst | docs | structural |
| AsciiDoc | asciidoc | .adoc, .asciidoc | docs | structural |
| Org | org | .org | docs | structural |
| LaTeX | tex | .tex | docs | structural |