DIP 1027---String Interpolation---Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Sat Dec 14 07:47:52 UTC 2019


On 12/11/2019 6:55 AM, bachmeier wrote:
>> But this alone gives no way for formatting numbers, so maybe ${%9.6f}{fvar} ?
> My recollection is that in Python 3 that would be done {fvar: 9.6f} or something 
> like that (not a Python programmer).

Both these have parsing problems.

The idea is to keep it parse-able with minimal grammar, which will make it 
easiest for people to understand.


More information about the Digitalmars-d mailing list