Skip to content

Semantic core 1/7: incremental analyzer index, name index, source types - #529

Merged
blacktrs merged 17 commits into
mainfrom
stack-1-semantic-index
Nov 15, 2026
Merged

blacktrs merged 17 commits into
mainfrom
stack-1-semantic-index

Conversation

@blacktrs

Copy link
Copy Markdown
Contributor

Part 1 of the LSP stack (#522 is the top). Base of the stack: merge bottom-up.

  • Analyze\Index becomes incremental with a reverse hierarchy map; Analyzer::runFile analyzes one document.
  • NameIndex with uncertain dynamic sites; SourceType and the hint/docblock parser.
  • Semantic\Workspace library API; prelude and stdlib symbol cache.
  • Definition and references resolve global fallback, use imports and per-kind spans.

Tests: tests/semantic (gated natively). Gates owed: AOT suite, Linux.

@blacktrs
blacktrs force-pushed the stack-1-semantic-index branch from e695d11 to f9e7b71 Compare November 10, 2026 07:54
# Conflicts:
#	src/Analyze/Analyzer.php
#	src/Manticore/Main.php
#	tools/audit/calibrate.sh
#	tools/docker/gate.sh
@blacktrs
blacktrs merged commit 8943c44 into main Nov 15, 2026
69 checks passed
@blacktrs
blacktrs deleted the stack-1-semantic-index branch November 15, 2026 07:53
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