Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

spectra

A typed Prism presentation DSL compiling deterministic decks to Typst and PDF.

Modules

  • Backend - Spectra’s pure lowering from presentation values to Typst documents.
  • Code - Code-oriented Spectra combinators: fenced source blocks and inline monospace, as plain Pict/Inline values.
  • Example - Doctests on slides: the examples a reflected declaration carries.
  • Layout - Backend-neutral layout values for Spectra.
  • Main - The standalone Spectra executable: parse the command line (SpectraCli), dispatch to the build orchestration (SpectraBuild), exit with its status.
  • Spectra - Spectra: typed Prism presentations lowered to deterministic Typst.
  • SpectraBuild - Standalone Spectra build orchestration, written in Prism.
  • SpectraCli - Spectra’s command grammar, built applicatively with Std Cli.
  • Theme - Theme values for Spectra decks.