1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//! # syster-base
//!
//! Core library for SysML v2 and KerML parsing, AST, and semantic analysis.
//!
//! ## Module Structure (dependency order)
//!
//! ```text
//! ide → IDE features (completion, hover, goto-def)
//! ↓
//! hir → Semantic model with Salsa queries
//! ↓
//! syntax → AST types, Span/Position
//! ↓
//! parser → Lexer + parser + constants
//! ↓
//! base → Primitives (FileId, Name interning, TextRange)
//! ```
// ============================================================================
// MODULES (dependency order: base → parser → syntax → hir → ide)
// ============================================================================
/// Foundation types: FileId, Name interning, TextRange
/// Parser: pest grammars, ParseResult, file extensions
/// Syntax: AST types, Span/Position, traits
/// High-level IR: Salsa-based semantic model
/// IDE features: completion, hover, goto-definition, find-references
/// Project management: workspace loading, stdlib
/// Model interchange formats: XMI, KPAR, JSON-LD
// ============================================================================
// BACKWARDS COMPATIBILITY - `core` re-exports for syster-lsp migration
// ============================================================================
/// Backwards compatibility: re-export base and parser items as `core`
///
/// This allows syster-lsp to continue using `syster::core::*` imports
/// while we migrate to the new module paths.
// Re-export commonly needed items
pub use keywords;
// Re-export foundation types
pub use ;