[Tooling] Modules feedback

Corentin corentin.jabot at gmail.com
Sat Feb 9 23:21:09 CET 2019


I love the idea of IPR and I hope it will take off some day.
However, the primary use case would be consumption by tools in the same
environment as the representation was generated in.

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
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 )




On Sat, 9 Feb 2019 at 23:05 Ville Voutilainen <ville.voutilainen at gmail.com>
wrote:

> On Sat, 9 Feb 2019 at 23:58, Ben Boeckel <ben.boeckel at kitware.com> wrote:
> > I think we're eventually going to see projects wanting to not have
> > headers at all and that means that `-devel` packages will need
> > *something*. But I'm personally leaning towards it being a compiler
> > thing, not a language thing. IIRC, there was mention on Reddit of a
> > format Microsoft was working on for distilling a module down to an
> > interface description. Getting *that* as a shippable and consumable
> > format would be great.
>
> You mean http://www.stroustrup.com/macis09.pdf?
> Also https://github.com/GabrielDosReis/ipr
> _______________________________________________
> Tooling mailing list
> Tooling at isocpp.open-std.org
> http://www.open-std.org/mailman/listinfo/tooling
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/tooling/attachments/20190209/982a2180/attachment.html 


More information about the Tooling mailing list