vyre-libs 0.6.1

vyre Category A library ecosystem - pure-IR compositions over vyre-ops hardware primitives
Documentation
//! Precomputed LR(1) action/goto tables for GPU parser pipelines.
//!
//! **Build-time migration note:** These tables are currently hardcoded as
//! `&'static [u32]` slices derived from a manual SLR(1) construction of the
//! C expression grammar. When the grammar grows beyond expressions, move
//! table generation into a `build.rs` script that emits literal arrays, then
//! keep this module as the stable runtime API.

mod action;
mod c11_expr;
mod parser;
mod table;

pub use action::Action;
pub use c11_expr::{
    ACTION_TABLE, C11_EXPR, GOTO_TABLE, NT_E, NT_F, NT_T, PRODUCTIONS, TOK_EOF, TOK_ID, TOK_LPAREN,
    TOK_MINUS, TOK_NUM, TOK_PLUS, TOK_RPAREN, TOK_SLASH, TOK_STAR,
};
pub use parser::{parse_lr, ParseError};
pub use table::{LrTables, Production};