mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
Two EPS import tests become programs written from the PostScript Language Reference (3rd ed.), with their own names and structure, covering the interpreter features the importer relies on: - `level_2_and_3_probes_read_as_vectors`: a resource category made from Generic, resources defined and found in it (§3.9), local and global VM (`currentglobal`, `setglobal`, `gcheck`, §3.7.2), `internaldict` probed through `stopped`, a halftone dictionary set and restored, `cachestatus`, `rootfont` and `currentcolorrendering`, drawing with its own procedures. - `executable_strings_and_integer_keys`: shading dictionaries closed by an executable string (`(>>) cvx`, or a Level 1 builder with `counttomark`), procedures kept under integer keys run with `load` through `stopped`, `cvx`/`cvlit`/`xcheck` on strings. Each was mutation-checked: making any of findresource, defineresource, currentglobal, setglobal, gcheck, internaldict, sethalftone, currenthalftone, currentcolorrendering, cachestatus, rootfont, stopped, cvx, load, counttomark, cvlit or xcheck unknown fails a test, and so do strings that `cvx` leaves literal, `load` refusing integer keys and `gcheck` answering true. The ROADMAP's EPS paragraph, file-formats row and last-updated line state the PostScript features the reader supports; the legacy `.ai` comments in the import module and the interpreter cite that format's published specification (PRONOM fmt/423) for the `%AI` header comments and `u`/`U` group operators the reader keys on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>