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
// stet - A PostScript Interpreter
// Copyright (c) 2026 Scott Bowman
// SPDX-License-Identifier: Apache-2.0 OR MIT
//! Core type system, storage, tokenizer, and runtime context for the stet
//! PostScript interpreter.
//!
//! This crate provides the PostScript VM building blocks: `PsObject` /
//! `PsValue`, the interpreter [`Context`](context::Context) (operand /
//! execution / dictionary stacks, graphics state, VM stores), the arena-
//! backed `StringStore` / `ArrayStore` / `DictStore` with copy-on-write
//! save/restore semantics, the `NameTable` name-interning system, the PS
//! tokenizer, the [`OutputDevice`](device::OutputDevice) trait, file
//! handles, and the error hierarchy.
//!
//! Most users should use the [`stet`](https://crates.io/crates/stet) facade
//! crate rather than depending on `stet-core` directly. Pull this crate in
//! only when you need to build alternative PS-interpreter tooling or
//! implement a custom [`OutputDevice`](device::OutputDevice).
//!
//! See the [Architecture Guide](https://github.com/AndyCappDev/stet/blob/main/docs/ARCHITECTURE.md)
//! for how this crate fits into the broader workspace.
// ── Re-exports from stet-fonts ──────────────────────────────────────────────
// These modules now live in stet-fonts but are re-exported here for backward
// compatibility with existing downstream crates.
pub use agl;
pub use cff_parser;
pub use charstring;
pub use encoding;
pub use geometry;
pub use system_fonts;
pub use truetype;
pub use type1_parser;
pub use type2_charstring;
// ── Re-exports from stet-graphics ───────────────────────────────────────────
pub use color;
pub use display_list;
pub use icc;
pub use mesh_shading;
// ── Modules that remain in stet-core ────────────────────────────────────────