[SAOC 2023] dfmt rewrite - Weekly update #17

Emmanuel Danso Nyarko emmankoko519 at gmail.com
Fri Jan 12 16:31:03 UTC 2024


On Friday, 12 January 2024 at 16:22:57 UTC, Prajwal S N wrote:
> Hi all,
>
> This update marks the end of SAOC 2023. Across the course of 
> this program, I worked on building a formatter akin to dfmt 
> using the DMD frontend, and I must say I'm quite satisfied with 
> the outcome. We've mostly managed to reproduce the original 
> source code, formatted in a consistent manner. There are a few 
> bugs in the implementation, and support for retaining comments 
> is a work in progress (with a PR up in DMD too), but overall I 
> would say the project has achieved what was intended - to 
> design and implement a formatter which uses the same source of 
> truth as the compiler in terms of language syntax and semantics.
>
> [...]


Great Job done brother!


More information about the Digitalmars-d mailing list