<div dir="ltr"><div><div>Thanks everyone!<br><br></div>I think that by reusing clang's code flang will benefit a lot. Clang's type system and declaration nodes will be especially useful because of CAF. And, of course, clang's tool interfaces, frontend and driver will come in handy. But at the same time Fortran isn't C, so I don't expect that clang will incorporate any features from flang or accommodate any needs that flang might have. But perhaps clang could be made more flexible so that it would encourage other frontends to reuse its valuable infrastructure. I don't really have any ideas or suggestions how that can be done at the moment, but I hope that somebody else might.</div>
<div><br></div>Cheers,<br>Alex<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/24 Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">----- Original Message -----<br>
> On Tue, Sep 24, 2013 at 12:01:46AM +0700, "C. Bergström" wrote:<br>
> > On 09/23/13 11:54 PM, Chris Lattner wrote:<br>
> > ><br>
> > >On Sep 23, 2013, at 5:25 AM, Alex L <<a href="mailto:arphaman@gmail.com">arphaman@gmail.com</a><br>
> > ><mailto:<a href="mailto:arphaman@gmail.com">arphaman@gmail.com</a>>> wrote:<br>
> > ><br>
> > >>Hi everyone!<br>
> > >><br>
> > >>Today is the official "pencils down" day for GSoC and I wrote a<br>
> > >>report describing what results I've achieved since my last<br>
> > >>report in July:<br>
> > >><br>
> > >><a href="http://flang-gsoc.blogspot.ie/2013/09/end-of-gsoc-report.html" target="_blank">http://flang-gsoc.blogspot.ie/2013/09/end-of-gsoc-report.html</a><br>
> > >><br>
> > >>Thanks for this GSoC LLVM!<br>
> > ><br>
> > >Wow, this is really fantastic work.  I'm surprised and impressed<br>
> > >by how much progress you made.<br>
> > ><br>
> > >Can you comment more about Pathscale's plans, and why they don't<br>
> > >want to release the code?<br>
> > Initially the code will continue to be developed privately, but<br>
> > there's a big ?<question mark> and sticky note to look at what<br>
> > makes<br>
> > best sense - It's a conservative approach, but that's how it is for<br>
> > now.<br>
><br>
> Given the nature of path64, I think it would be nice to keep all<br>
> parsing<br>
> related parts and all semantic analysis open. It would also be nice<br>
> to<br>
> keep functional tests for the code generation as open as possible,<br>
> even<br>
> if might not fit into a "main" repository due to testing executable<br>
> code. The goal would be to allow Pathscale to what they are doing on<br>
> the<br>
> backend without having a strongly divergating frontend, which is<br>
> likely<br>
> not in the interest of anyone.<br>
><br>
> I am aware that flang in the current form shared code with clang in<br>
> non-trivial ways and it certainly will require some effort to<br>
> refactor<br>
> the code on either side for allowing flang to become an integrated<br>
> LLVM<br>
> project. Who's interested with dealing with that on the Clang side? I<br>
> hope Alex is willing to work on the flang side?<br>
<br>
</div></div>Alex may be otherwise captured for the time being, but I plan on working on this over the next few months. As I've mentioned in the past, I'd like the two projects to share the driver (or at least the driver infrastructure), and I'd like to give flang a C preprocessor based on Clang's. Regarding other code sharing, we'll need to do some serious thinking about what parts should actually be shared in the long run vs. what's acting as a crutch right now.<br>

<span class="HOEnZb"><font color="#888888"><br>
 -Hal<br>
</font></span><div class="im HOEnZb"><br>
><br>
> Joerg<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
<br>
</div><div class="im HOEnZb">--<br>
Hal Finkel<br>
Assistant Computational Scientist<br>
Leadership Computing Facility<br>
Argonne National Laboratory<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>