I spent a year of my life making an ASN.1 compiler in D
Group: D propaganda I spent a year of my life making an ASN.1 compiler in D Published: 2025/10/23 | Updated: 2025/10/23 … and it’s still nowhere near complete. In this post I’ll just rambling about ASN.1; parts of the compiler implementation, and some of the tool’s output rather than the tool itself as its still too WIP to really advertise on its own yet. This post is unstructured, so you can just pick somewhere random and start reading from there with no/minimal context lost. Note: the name of the tool is dasn1. Summary Motivation Very briefly – what is ASN.1? ASN.1’s notation can be really complex x.680 woes – historical deprecations x.681 x.682 x.683 ASN.1’s notation is also pretty cool! ASN.1’s constraint system ASN.1’s versioning system D is…