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
//! The `vyre-libs` parsing and AST building domain library.
//!
//! Exposes registered `OpEntry` definitions for structural analysis and
//! full-grammar Shunting-Yard AST generation entirely on GPU.
//!
//! Architected as disjoint, language-isolated registered passes:
//!
//! - `core` - substrate-neutral parsing primitives (AST node kinds,
//! delimiter handling, grammar table walkers).
//! - `c` - C11 pipeline: lex / preprocess / parse / sema / lower.
//! Feature-gated behind `c-parser`.
//! - `python` - Python 3.12 sparse lex + structural extraction.
//! Feature-gated behind `python-parser`.
/// Substrate-neutral parsing primitives (AST, delimiter, grammar).
/// Content-hash LRU cache for parsed source artifacts. ROADMAP L2 / E2
/// substrate; language-specific parse pipelines opt in via
/// `ParsedSourceLru::get_or_parse`.
/// Parallel corpus parse on top of the L2 LRU cache. ROADMAP L3
/// substrate; fans `get_or_parse` across cores with `rayon` while
/// preserving input order.
pub
/// Precomputed LR action/goto tables and CPU reference parser.
/// Packed AST (VAST) wire + host walks - re-export from `vyre-foundation`.
/// C11 pipeline (lex / preprocess / parse / sema / lower).
/// Go 1.21 pipeline (lex / structural parse / AST ops).
/// Python 3.12 pipeline (lex / structural parse / AST ops).
/// Rust pipeline (lex / parse / typeck / borrow).