Skip to content

Add scientific and native-extension reference graphs - #4802

Merged
Widthdom merged 28 commits into
mainfrom
fix-issue4738
Jul 24, 2026
Merged

Add scientific and native-extension reference graphs#4802
Widthdom merged 28 commits into
mainfrom
fix-issue4738

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • add bounded symbol and reference graph extraction for Nim, MATLAB, Julia, D, Cython, Ada, and ambiguous .m files
  • preserve language-specific identity, qualified target resolution, scoping, and comment/string masking across indexing, persisted lookup, hook mutation, and fold backfill paths
  • document the supported graph contracts in the English and Japanese guide sections and add changelog.d/unreleased/4738.added.md

Why

These languages were recognized by CodeIndex but did not have complete reference-graph contracts, so calls, imports, type relationships, and module relationships were unavailable or inconsistently resolved. This change adds deterministic, bounded extraction and persistence behavior while keeping ambiguous .m handling safe across MATLAB and Objective-C syntax.

User impact

references, callers, callees, impact, and related graph queries can now follow supported relationships in these scientific and native-extension languages. Nim identifier identity, Julia index sentinels, D receivers, Ada ranges and forward declarations, and ambiguous .m classification retain their language-specific semantics.

Validation

Follow-ups

Fixes #4738

Widthdom added 28 commits July 24, 2026 11:28
# Conflicts:
#	USER_GUIDE.md
#	src/CodeIndex/Indexer/References/ReferenceExtractor.CoreExtraction.cs
#	src/CodeIndex/Indexer/References/ReferenceExtractor.cs
#	tests/CodeIndex.Tests/QueryCommandRunnerTests.cs
#	tests/CodeIndex.Tests/golden/status.json
# Conflicts:
#	DEVELOPER_GUIDE.md
#	src/CodeIndex/Database/DbContext.cs
#	src/CodeIndex/Indexer/References/ReferenceExtractor.State.cs
# Conflicts:
#	src/CodeIndex/Indexer/Symbols/SymbolExtractor.cs
#	tests/CodeIndex.Tests/golden/status.json
@Widthdom
Widthdom marked this pull request as ready for review July 24, 2026 14:59
@Widthdom
Widthdom merged commit aebbc88 into main Jul 24, 2026
12 checks passed
@Widthdom
Widthdom deleted the fix-issue4738 branch July 24, 2026 14:59
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.

Add reference graphs for scientific and native-extension languages

1 participant