dotnet / vblang

The home for design of the Visual Basic .NET programming language and runtime library.
288 stars 65 forks source link

Tagged String Literals #184

Open AdamSpeight2008 opened 7 years ago

AdamSpeight2008 commented 7 years ago

In #27 the idea of allowing string literal to be "tagged" with a type come up.

Dim guid As Guid = "xxxx-xxxx-etc"GUID

So I've oped the issue to discuss them.

AdamSpeight2008 commented 7 years ago

I like the concept, but the syntax meh

Dim guid As Guid = "xxxx-xxxx-..."(Of Guid)

We should also enable the string to have extended syntax highlighting within it.