[LLVMdev] Google SOC - Idea

Kenneth Hoste kenneth.hoste at ugent.be
Tue Mar 20 09:02:47 PDT 2007


On 20 Mar 2007, at 15:45, Jeff Cohen wrote:

> Duncan Sands wrote:
>>> If that fails, I will build a front-end using ANTLR [http:// 
>>> antlr.org] a parser generator with which I am familiar and for  
>>> which a FORTRAN grammar is already available (targeting an  
>>> obsolete version of ANTLR, but it should not be too difficult to  
>>> update).
>> Bad plan. I doubt you can build a serious fortran compiler in this  
>> way in the time-frame you are considering.
>
> I agree.  I used to work on  Fortran compiler long, long ago in a  
> former life.  There is no way you're going to write a usable front- 
> end from scratch in a few months, even with the head start of a  
> parser.  The parser is the easy bit.
>
> Also -- and I'm surprised no one else noticed this -- you misspell  
> FORTRAN as FORTAN as often as not.  That does not make a good  
> impression :)

I don't think he's saying he'll build that Fortran front-end from  
scratch, but will use an ANTLR-based parser for the front-end if the  
GCC parser causes problems.. Or am I mistaking?

And yes, fix the FORTAN typos :-)

K.


-- 

Statistics are like a bikini. What they reveal is suggestive, but  
what they conceal is vital (Aaron Levenstein)

Kenneth Hoste
ELIS - Ghent University
kenneth.hoste at elis.ugent.be
http://www.elis.ugent.be/~kehoste



More information about the llvm-dev mailing list