eclipse-archived / ceylon.formatter

A formatter for the Ceylon programming language, written in Ceylon.
Apache License 2.0
14 stars 11 forks source link

Add support for new string interpolation syntax #146

Open lucaswerkmeister opened 7 years ago

lucaswerkmeister commented 7 years ago

See ceylon/ceylon#7243.

lucaswerkmeister commented 6 years ago

It turns out that nesting string literals inside interpolated strings is not supported, so in spite of what the commit messages say (necessary but not sufficient, more work is necessary), I’m going to declare this done.

And just to make this issue easier to understand in the future – the syntax is: "Hello, \(name)!"

lucaswerkmeister commented 6 years ago

The syntax might now be "Hello, \{name}". Let’s keep this issue open until eclipse/ceylon#7243 itself is closed and settled :)