Interpolated Expression Sequence PR opened

Posted 2023-10-23

I opened a PR for interpolation on dmd and started a repository of use case examples to clear up misconceptions on how it works and focus development in a productive direction.

Core D Development Statistics

In the community

Community announcements

See more at the announce forum.

Interpolation PR

I spent most my spare time this week trying to make interpolation happen again. I made a dmd PR to clear up ambiguities with a full implementation:

https://github.com/dlang/dmd/pull/15715

And wrote several examples (and I keep adding more, I have about a dozen in mind, just been busy lately) :

https://github.com/adamdruppe/interpolation-examples/

I suggest you look through the examples to get a feel for how it looks and what the use cases are, then look at the implementation to answer further questions.