Skip to content

feat: add ReScript language support#58

Open
malo wants to merge 5 commits intocolbymchenry:mainfrom
malo:feat/rescript-support
Open

feat: add ReScript language support#58
malo wants to merge 5 commits intocolbymchenry:mainfrom
malo:feat/rescript-support

Conversation

@malo
Copy link
Copy Markdown

@malo malo commented Mar 12, 2026

Add ReScript (https://rescript-lang.org/) as a supported language with tree-sitter parsing for .res and .resi files.

The tree-sitter-rescript.wasm grammar (908KB) was built from https://github.com/rescript-lang/tree-sitter-rescript via Docker + emscripten. AST node mappings cover let_declaration, module_declaration, type_declaration, call_expression, pipe_expression, open_statement, and include_statement.

Fix symbol disambiguation in MCP tools: add file parameter to codegraph_node, codegraph_callers, codegraph_callees, and codegraph_impact so that ambiguous symbol names can be resolved by file path. When file is provided but no match is found, return an error instead of silently falling back to a different symbol.

malo and others added 5 commits March 12, 2026 20:30
Add ReScript (https://rescript-lang.org/) as a supported language with
tree-sitter parsing for .res and .resi files.

The tree-sitter-rescript.wasm grammar (908KB) was built from
https://github.com/rescript-lang/tree-sitter-rescript via Docker +
emscripten. AST node mappings cover let_declaration, module_declaration,
type_declaration, call_expression, pipe_expression, open_statement, and
include_statement.

Fix symbol disambiguation in MCP tools: add file parameter to codegraph_node,
codegraph_callers, codegraph_callees, and codegraph_impact so that ambiguous
symbol names can be resolved by file path. When file is provided but no match
is found, return an error instead of silently falling back to a different symbol.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…E.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant