tree_sitter_language_pack 1.9.0-rc.2 copy "tree_sitter_language_pack: ^1.9.0-rc.2" to clipboard
tree_sitter_language_pack: ^1.9.0-rc.2 copied to clipboard

Pre-compiled tree-sitter grammars for 305 programming languages

Dart / Flutter #

Dart / Flutter bindings for tree-sitter-language-pack — 305 pre-compiled tree-sitter grammars. Built with flutter_rust_bridge for isolate-safe Future APIs and Flutter-native type mapping.

What This Package Provides #

  • Parser access — load a tree-sitter language parser by name without wiring individual grammar crates or packages.
  • Code intelligence primitives — parse trees, functions, classes, imports, exports, symbols, docstrings, diagnostics, and syntax-aware chunks.
  • Shared cache model — parsers are fetched and cached once, then reused by every call in the process.
  • Same catalog as every binding — Rust, Python, Node.js, Go, Java, PHP, Ruby, .NET, Elixir, WASM, Dart, Kotlin Android, Swift, Zig, and C FFI use the same grammar set.
  • Dart package — flutter_rust_bridge Future APIs for Dart and Flutter.

Installation #

Quick Start #

See the language guide for dart-specific usage.

Features #

  • 300+ languages — pre-compiled tree-sitter grammars covering every major programming language and many minor ones.
  • On-demand download + cache — parsers fetched at first use; subsequent runs hit the local cache.
  • Code intelligence — extract functions, classes, imports, exports, symbols, docstrings, and diagnostics with one API.
  • Syntax-aware chunking — semantic chunks for RAG/LLM pipelines.
  • Polyglot bindings — Rust core with native bindings for Python, TypeScript, Go, Java, C#, Ruby, PHP, Elixir, and WebAssembly via alef.

Documentation #

Part of Kreuzberg.dev #

  • Kreuzberg — document intelligence: text, tables, metadata from 90+ formats with optional OCR.
  • Kreuzberg Cloud — managed extraction API with SDKs, dashboards, and observability.
  • kreuzcrawl — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
  • html-to-markdown — fast, lossless HTML→Markdown engine.
  • liter-llm — universal LLM API client with native bindings for 14 languages and 143 providers.
  • alef — the polyglot binding generator that produces this README and all per-language bindings.
  • Discord — community, roadmap, announcements.

Contributing #

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Join our Discord community for questions and discussion.

License #

MIT -- see LICENSE for details.

0
likes
150
points
91
downloads

Documentation

API reference

Publisher

verified publisherkreuzberg.dev

Weekly Downloads

Pre-compiled tree-sitter grammars for 305 programming languages

License

MIT (license)

Dependencies

flutter_rust_bridge, freezed_annotation, json_annotation

More

Packages that depend on tree_sitter_language_pack