Code reference detail
export_ts.rs
crates/reqlan-analytical/tests/export_ts.rs
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| analytical_rust_port | in-progress | Port ["../core-architecture.rq".analytical_package] to Rust: lexer, parser ( index path ), extractor, SQLite index, search, and export. `@reqlan/analytical` remains the published JS facade ( `createAnalysisRuntime` / `AnalysisApi` / Zustand host state ). Native work lives in a `crates/` Cargo workspace and ships as per-architecture binaries per [distribution.rust_binary_distribution]. The editor language server is [lsp_rust.language_server_rust]. This analytical port does not replace that process. Component plans: [rust_crate_layout], [lexer_rust], [parser_rust], [parser_align], [indexer.indexer_rust], [search_rust], [export_rust], [native_bridge], [cutover]. | 0.243 | |
| ts_interface | done | The TS interface over the Rust functionality stays fully typed via specta ( `crates/reqlan-analytical` `export-ts` → `packages/analytical/src/native/generated.ts` ). Specta copies Rust doc comments. `export-ts` rewrites those `rq:` paths from crate-src depth to `packages/analytical/src/native` depth. | 0.040 |
Reference labels
"../../crates/reqlan-analytical/tests/export_ts.rs:committed_generated_ts_matches_specta_export", "../../crates/reqlan-analytical/tests/export_ts.rs:rewrite_generated_ts_comment_paths_adds_one_hop", ../../crates/reqlan-analytical/tests/export_ts.rs:committed_generated_ts_matches_specta_export, ../../crates/reqlan-analytical/tests/export_ts.rs:rewrite_generated_ts_comment_paths_adds_one_hop