/typst-hs

Haskell library for parsing and evaluating typst

Primary LanguageHaskellOtherNOASSERTION

Typst-hs

Typst-hs is a Haskell library for parsing and evaluating typst syntax. Typst (https://typst.app) is a document formatting and layout language, like TeX.

Currently this library targets v0.10.0 of typst, and offers only partial support. There are two main components:

  • a parser, which produces an AST from a typst document
  • an evaluator, which evaluates the typst expressions in the AST