<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 2:43 AM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 2013-11-05 23:26, Timothee Cour wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
actually an important use case of this feature is to help writing domain<br>
specific language inputs, eg writing a python file inside D, or config /<br>
plain text files.<br>
# is common in many languages (eg python/bash etc) as a comment.<br>
<br>
@ would be inside string literal so should cause little confusion from<br>
D's side, but for example would force one to escape '@' in email<br>
addresses (more rare).<br>
</blockquote>
<br></div>
If we're talking about writing other languages inside D, then "@" would be in conflict with Objective-C which uses that for all new syntax (that isn't available in plain C).<span><font color="#888888"><br>

<br></font></span></blockquote><div><br></div><div>How about parametrizing the escape string:</div><div><div>r{var=@a} //@ by default</div><div></div><div>r{@}{var=@a} //same as above</div><div></div><div>r{$}{var=$a} //same as above<br>
</div></div><div><br></div><div> </div></div></div></div>