Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ A Pup format descriptor for the same type could look like
<|> #D <* chunk "D" <* space1 <*> anySingle <* space1 <*> bool <* space1 <*> int
```

But the Pup descriptor can pretty-print in addition to parse.
But the Pup descriptor can pretty-print in addition to parse. See also [our
introductory blog post][blog-post].

## Some underlying principles

Our article _Invertible Syntax without the Tuples_ (published version (TBA),
Our article _Invertible Syntax without the Tuples_ ([published version][paper],
[extended version with appendices][paper-extended]) goes over a lot of the
design decisions which went into the Pup library, in particular how it compares
with previous approaches.
Expand Down Expand Up @@ -72,6 +73,8 @@ Now you know.

[functional-unparsing-paper]: https://www.cambridge.org/core/journals/journal-of-functional-programming/article/functional-unparsing/789945109AD2AB168B504472E6B786A0
[Cassette]: https://github.com/mboes/cassette/
[blog-post]: https://www.tweag.io/blog/2026-01-08-grammar-combinators/
[paper]: https://dl.acm.org/doi/10.1145/3759427.3760381
[paper-extended]: https://arxiv.org/abs/2508.09856
[Megaparsec]: https://hackage.haskell.org/package/megaparsec
[Prettyprinter]: https://hackage.haskell.org/package/prettyprinter
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spec-version: 0.36.0

name: pup
version: 0.1.0
version: 0.1.1
synopsis: "Invertible format descriptors"
description: "Please see README.md."
author: ["Arnaud Spiwack"]
Expand Down
2 changes: 1 addition & 1 deletion pup.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: pup
version: 0.1.0
version: 0.1.1
synopsis: Invertible format descriptors
description: Please see README.md.
homepage: https://github.com/tweag/pup#readme
Expand Down