We need to support different C++ name mangling schemes. Maybe a template argument that would indicate which scheme to choose from.<div><br></div><div>Also the next step would be:</div><div>mixin(importCPP("myheader.h"));</div>
<div><br></div><div>string importCPP(string file){</div><div>auto text = import(file);</div><div>return process_text(text);</div><div>}</div><div><br></div><div>doesn't have to work in 100% cases, but that would be an awesome feature.<br>
<br><div class="gmail_quote">On Thu, May 30, 2013 at 7:12 AM, Martin Nowak <span dir="ltr"><<a href="mailto:code@dawg.eu" target="_blank">code@dawg.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 05/30/2013 03:05 AM, Adam D. Ruppe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe if we were to see this through it could be a good enough hack for<br>
some real world use too.<br>
</blockquote>
<br></div>
That's really need.<br>
It could also allow you to access namespaces and operators.<br>
<br>
</blockquote></div><br></div>