# The differences between Cmm parser and pretty printer

**URL:** <https://discourse.haskell.org/t/the-differences-between-cmm-parser-and-pretty-printer/12673>\
**Category:** Uncategorized\
**Created:** [August 11, 2025, 12:56am UTC](https://discourse.haskell.org/t/the-differences-between-cmm-parser-and-pretty-printer/12673 "2025-08-11T00:56:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![GunpowderGuy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/gunpowderguy/32/4164_2.png) [@GunpowderGuy](https://discourse.haskell.org/u/GunpowderGuy)\
**Post date:** [August 11, 2025, 4:49pm UTC](https://discourse.haskell.org/t/the-differences-between-cmm-parser-and-pretty-printer/12673/3 "2025-08-11T16:49:07Z")

</div>

Thanks. forgot to link those. There is also a third mailing list thread ( there is more than one because i messed up the format )

> **[Fwd: Proposal: Roundtrip serialization of Cmm (parser-compatible...](https://mail.haskell.org/pipermail/ghc-devs/2025-July/022059.html)**

and a couple of ( mildly ) related threads :

> [@Why Doesn't Haskell Have a 'Serde'-Like Library for Multi-Format Serialization?](https://discourse.haskell.org/t/why-doesnt-haskell-have-a-serde-like-library-for-multi-format-serialization/12593):
>
> Hello Haskell developers, Coming from a Rust background, I’ve been wondering why Haskell doesn’t seem to have a library similar to Rust’s [Serde](https://serde.rs/), which provides automatic serialization and deserialization to and from multiple data formats such as JSON, CBOR, and XML. In Haskell, serialization seems fragmented across various libraries: aeson handles JSON, cborg handles CBOR, Other formats like XML their own specialized libraries (if any). This became more relevant to me after looking…

> **[\#23989: Encoding intermediate representations as S expressions · Issues ·...](https://gitlab.haskell.org/ghc/ghc/-/issues/23989)**
>
> Over dinner @rae and I discussed various things that GHC and OCaml respectively do well. One of the...

---

_[View the full topic](https://discourse.haskell.org/t/the-differences-between-cmm-parser-and-pretty-printer/12673)._
