2 ms·
Python does so via its "f-strings": https://docs.python.org/3/reference/lexical_analysis.html#formatted-string-literals https://docs.python.org/3/reference/lexi
by mdaniel 3y ago
Python does so via its "f-strings": https://docs.python.org/3/reference/lexical_analysis.html#formatted-string-literals https://docs.python.org/3/reference/lexical_analysis.html#fo... although as the link implies, that's done at the grammar level, and not via a static field that is a StringTemplate.Processor as it is in Java https://openjdk.org/jeps/430#The-STR-template-processor https://openjdk.org/jeps/430#The-STR-template-processor