mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-15 06:42:55 +00:00
Clean-room spreadsheet engine: addresses/values/dates, Excel number formats, formula parser/printer/reference adjustment, worksheet function library, copy-on-write workbook model, dependency-driven recalculation with dynamic arrays, XLSX/CSV I/O, and a command engine (cell entry, clipboard, fill, formatting, sheets, sort/filter, tables, charts, CF, names, view, file). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
611 B
Rust
18 lines
611 B
Rust
//! The Excel formula language: tokenizer, parser, syntax tree, printer (A1 and R1C1) and
|
|
//! reference adjustment for copy/fill and structural edits.
|
|
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
#![forbid(unsafe_code)]
|
|
|
|
pub mod adjust;
|
|
pub mod ast;
|
|
pub mod lexer;
|
|
pub mod parser;
|
|
pub mod printer;
|
|
|
|
pub use ast::{Anchor, BinOp, Expr, RefKind, Reference, SheetSel, StructItem, StructRef, UnOp};
|
|
pub use parser::{ParseError, normalize_function_name, parse};
|
|
pub use printer::{print, print_r1c1, quote_sheet};
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|