dlang-community / SDLang-D

An SDLang (Simple Declarative Language) library for D
http://sdlang.org
Other
120 stars 21 forks source link

Add the ability to enclose multiple lines strings in `` quotes as in JS #62

Open DarkRiDDeR opened 5 years ago

DarkRiDDeR commented 5 years ago

I think it will be pretty good. What do you think?

Abscissa commented 5 years ago

Something like that would be nice, but its not part of the SDLang language. So it would make this library incompatible with the SDLang language, which would of course defeat the point.

However, you can already do something similar. It's described in the "String Literals" section archived here: http://semitwist.com/sdl-mirror/Language+Guide.html (Also mirrored here: https://github.com/Abscissa/SDLang-D/wiki/Language-Guide )

But it would be nice, so I will mark this with the "spec-v2" tag in case I end up forking the language.