MCPcopy Create free account
hub / github.com/bvanjoi/bolt-ts

github.com/bvanjoi/bolt-ts @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
19,249 symbols 44,660 edges 4,339 files 2,195 documented · 11% updated 7d ago★ 1592 open issues

Browse by type

Functions 11,164 Types & classes 8,085
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bolt-ts

bolt-ts is a TypeScript compiler implemented in Rust. The current implementation heavily leverages code ported from the original TypeScript compiler(tsc).

Performance

When testing a subset of type-fest functionality, bolt-ts demonstrates:

  • 2.5× faster than ts-go
  • 5× faster than tsc (Benchmarked on Apple M3 Max with 36GB RAM. See typescript-compiler-bench for details)

Current Status

Core functionalities are operational but require refinement. Key pending improvements include:

  • Module Resolution: cache, exports/imports field support, node_modules/@types type definition resolution.
  • Type Checking: various edge-case bugs.
  • Output Generation: sourcemap generation, different module systems.
  • And others: language service..

Community

For any questions about this project, connect on Discord.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 7,648
Class 5,378
Function 3,516
Interface 2,391
Enum 316

Languages

TypeScript73%
Rust27%

Modules by API surface

crates/libs/src/declared_file/lib.webworker.d.ts1,571 symbols
crates/libs/src/declared_file/lib.es5.d.ts506 symbols
crates/optimize/src/ir/nodes.rs309 symbols
crates/checker/src/check/mod.rs288 symbols
crates/checker_errors/src/lib.rs210 symbols
crates/ast_visitor/src/visit.rs191 symbols
crates/libs/src/declared_file/lib.esnext.temporal.d.ts161 symbols
crates/libs/src/declared_file/lib.es2015.iterable.d.ts130 symbols
crates/optimize/src/emit/mod.rs116 symbols
crates/ast/src/stmt.rs114 symbols
crates/parser_errors/src/lib.rs102 symbols
crates/ast/src/expr.rs102 symbols

For agents

$ claude mcp add bolt-ts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page