While std/strformat is of stdlib and handy to use, I've implemented Python's str.format (`{}`-interpolation) in both compile-time for static format string and runtime if format string notstatic[https://github.com/nimpylib/nimpylib/blo b/f43a58dee52143d186bac1bbe23bee2e847ac5d9/src%2Fpylib%2Fstringlib%2Fformat.nim] (https://github.com/nimpylib/nimpylib/blob/f43a58dee52143d186bac1bbe23bee2e847ac 5d9/src%252Fpylib%252Fstringlib%252Fformat.nim)You may regard it as a reference if you wanna implement you own