jgm/typst-hs

Haskell library for parsing and evaluating typst

Haskell

76

400 commits

updated Sep 18, 2026

See the code

README

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.15.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
markup
typst

Contributors

jgm

372 commits

rekka

14 commits

glguy

5 commits

CMDJojo

3 commits

jgm/typst-hs

Haskell library for parsing and evaluating typst

Haskell

76

400 commits

updated Sep 18, 2026

See the code

README

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.15.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
markup
typst

Contributors

jgm

372 commits

rekka

14 commits

glguy

5 commits

CMDJojo

3 commits

Languages

Haskell

73.1%

Typst

25.1%