[Flang-dev] new Flang discussions?

David Greene dag at cray.com
Fri Oct 12 12:09:34 EDT 2018


Well, those are all within the C family of languages.  I don't know how
people will react to something very different.  They'll wonder where the
extensions will end.  Java?  ECMAScript? Go? Rust?

                         -David

Stefan Teleman <stefan.teleman at gmail.com> writes:

> On Thu, Oct 11, 2018 at 12:20 PM David Greene <dag at cray.com> wrote:
>
>     Roger, I share your concerns about lowering. Higher-level Fortran
>     constructs should be preserved as much as possible. I am not
>     familiar
>     with how clang AST and tools work together. Would it be possible
>     to add
>     elements to clang's AST that are only used by flang? I expect the
>     clang
>     folks would object, which is why I suggested some common interface
>     that
>     tooling could use. There may be language-specific pieces to that
>     interface.
>
> The existing Clang AST already contains elements that are
> language-specific (C++ templates, Objective-C ARC, OpenMP, etc).
>
> So I don't see why the clang folks would object to adding
> Fortran-specific elements to the existing AST.



More information about the flang-dev mailing list