<div dir="ltr"><div><div><div><div><div>Hi,<br><br>I agree that creating a complete Fortran compiler is a huge effort.<br></div>But what about approaching it from a test driven development perspective?<br></div>We start with a few small Fortran programs as "test cases".<br>

</div>The GSoC task then gives the task as getting test case 1 to work.<br></div>We
 could also apply this of "lfort". Determine a test case that currently 
fails on lfort, and ask the GSoC task to pass the test.<br><br></div>Kind Regards<br><br>James<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 April 2013 03:20, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</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">----- Original Message -----<br>
> From: "Anton Korobeynikov" <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>><br>
> To: "Matthieu Brucher" <<a href="mailto:matthieu.brucher@gmail.com">matthieu.brucher@gmail.com</a>><br>
> Cc: "Bill Wendling" <<a href="mailto:isanbard@gmail.com">isanbard@gmail.com</a>>, "LLVM Developers Mailing List" <<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>><br>
> Sent: Friday, April 12, 2013 9:04:22 AM<br>
> Subject: Re: [LLVMdev] GSoC project questions.<br>
><br>
> > Indeed, dragonegg supports Fortran, but through a gfortran bridge.<br>
> > The<br>
> > really interesting part in Fortran is in fact arrays!<br>
> ><br>
> > Anyway, it's just my opinion, I'm a simple user ;)<br>
> Fortran has its own standard library and it's damn big. Also, the<br>
> Fortran grammar is not the simplest (or, rather - straightforward<br>
> one). So this certainly looks too big for GSoC.<br>
><br>
> Though, it might be a good start for someone.<br>
><br>
> I believe Bill (CCed) started something few years ago. So, maybe he<br>
> can share his thoughts on this project.<br>
<br>
</div>FWIW, I also started working on a Fortran frontend (derived from Clang, but mostly just to piggyback on the Driver and CPP infrastructure).<br>
<a href="https://github.com/hfinkel/lfort" target="_blank">https://github.com/hfinkel/lfort</a><br>
<br>
If you're interested in contributing, that would be great. Nevertheless, I think that Anton is right. Creating a quality Fortran compiler is a community effort, and seems too big for a GSoC project. Perhaps we could identify some separately-useful component.<br>

<span class="HOEnZb"><font color="#888888"><br>
 -Hal<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> --<br>
> With best regards, Anton Korobeynikov<br>
> Faculty of Mathematics and Mechanics, Saint Petersburg State<br>
> University<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>
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>