<div dir="ltr"><br><div>I love the idea of IPR and I hope it will take off some day.</div><div>However, the primary use case would be consumption by tools in the same environment as the representation was generated in.</div><div><br></div><div>A long as there are conditional preprocessor directives in sources, the only way to portably represent them will remain the full unprocessed textual content of said sources</div><div>If portable modules are something considered valuable, then conditional directives ( token soup ), will have to be replaced by conditionally-compiled well-formed C++ AST nodes ( static_if is one solution to that problem )</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 9 Feb 2019 at 23:05 Ville Voutilainen &lt;<a href="mailto:ville.voutilainen@gmail.com">ville.voutilainen@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 9 Feb 2019 at 23:58, Ben Boeckel &lt;<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>&gt; wrote:<br>
&gt; I think we&#39;re eventually going to see projects wanting to not have<br>
&gt; headers at all and that means that `-devel` packages will need<br>
&gt; *something*. But I&#39;m personally leaning towards it being a compiler<br>
&gt; thing, not a language thing. IIRC, there was mention on Reddit of a<br>
&gt; format Microsoft was working on for distilling a module down to an<br>
&gt; interface description. Getting *that* as a shippable and consumable<br>
&gt; format would be great.<br>
<br>
You mean <a href="http://www.stroustrup.com/macis09.pdf" rel="noreferrer" target="_blank">http://www.stroustrup.com/macis09.pdf</a>?<br>
Also <a href="https://github.com/GabrielDosReis/ipr" rel="noreferrer" target="_blank">https://github.com/GabrielDosReis/ipr</a><br>
_______________________________________________<br>
Tooling mailing list<br>
<a href="mailto:Tooling@isocpp.open-std.org" target="_blank">Tooling@isocpp.open-std.org</a><br>
<a href="http://www.open-std.org/mailman/listinfo/tooling" rel="noreferrer" target="_blank">http://www.open-std.org/mailman/listinfo/tooling</a><br>
</blockquote></div>