Skip to main content

Crate bitloom_lsp

Crate bitloom_lsp 

Source
Expand description

Bitloom language-server library (FR99 / FR113).

Full-design elaborate on a documented edit-trigger path, with a shallow contrast mode for ATDD. FR113 adds Cargo-graph + metadata design-root discovery beyond DesignFixture. Public brand: Bitloom. Unrelated to samitbasu/rhdl.

Structs§

AnalyzeResult
DiscoveredDesignRoot
One design root discovered from Cargo metadata and/or syn-scan (not a DesignFixture enum).
HwSymbol
MappedDiagnostic

Enums§

AnalysisMode
Analysis mode — full elaborate vs shallow/non-elaborate contrast.
DesignFixture
Documented MVP design roots used by the edit-trigger path and ATDD.

Constants§

MVP_INTERACTIVE_BUDGET
Interactive budget for fixture-scale designs (NFR14 P3), cold start excluded.
MVP_MAX_MODULES
MVP module-count ceiling (NFR14 P4). Exceeding this must fail loudly.

Functions§

analyze
Run analysis for a documented design fixture.
analyze_discovered_root
Full-design elaborate for a Cargo-metadata discovered root (FR113).
analyze_on_did_save
Default edit-trigger fixture when the client saves a workspace document (P1: didSave). FR99 DesignFixture path — kept for MVP regression (NFR44).
analyze_on_did_save_at
didSave path: prefer FR113/FR118 discovery when path_hint finds a Cargo package/workspace with metadata or syn-scan roots; otherwise fall back to FR99 analyze_on_did_save.
analyze_workspace_design_roots
Discover roots under workspace and fully elaborate the first root (FR113).
discover_design_roots
Walk root as a Cargo workspace or single package; return design roots from metadata design_roots and/or #[bitloom::top] syn-scan (FR113 + FR118).
discover_design_roots_under
FR160: discover #[bitloom::top] / #[rhdl::top] under explicit paths that need not be Cargo workspace members (and need not contain Cargo.toml).