stet-core
Core type system, storage, tokenizer, and interpreter context for the stet PostScript interpreter.
This is a low-level crate. Most users should use the stet
facade crate instead.
Contents
context—Context, the central interpreter state (stacks, stores, graphics state)object—PsObjectandPsValue, the PostScript value representationtokenizer— PostScript source tokenizerdevice—OutputDevicetrait andNullDeviceerror—PsErrorerror typegraphics_state—GraphicsState, current transformation matrix, color, line style- Stores —
StringStore,ArrayStore,DictStorewith arena allocation and entity indirection entity_table— Copy-on-write entity indirection for save/restorefile_store— File handle management with virtual filesystem supportname— Name interning table (NameId)eps— EPS header parsing and bounding box extractionfont_loader/glyph_cache— Font loading and glyph caching infrastructure
Also re-exports all modules from stet-fonts and stet-graphics for backward compatibility.
Usage
use Context;
use ;
use PsError;
use OutputDevice;
License
Apache-2.0 OR MIT