Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!news.nd.edu!spool.mu.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!spam!spam.ua.oz.au!wvenable From: wvenable@spam.ua.oz.au (Bill Venables) Newsgroups: comp.lang.fortran Subject: Re: lint like program for fortran Message-ID: Date: 12 May 91 13:41:50 GMT References: <6242@trantor.harris-atd.com> Sender: wvenable@spam.ua.oz Organization: Adelaide University. Lines: 27 In-reply-to: jkorpela@vipunen.hut.fi's message of 12 May 91 10:46:05 GMT In article jkorpela@vipunen.hut.fi (Jukka Korpela) writes: : A few comments on FORCHEK: : - It looks nice and useful in general. : - It is written in C but not entirely ANSI C conformantly. : - Its portability is decreased by the use of such global names in the : program that there are serious difficulties if the recognition length : for global names is, say, 6 or 8. (I tried to port it into VM/XA.) : - It ignores the fact that in FORTRAN blanks are insignificant. This is : documented feature but not necessarily desirable. - The parser is a yacc generated programme, but the yacc file is not part of the distribution. This is, of course, the right of anyone offering free code, but somewhat unfortunate, since (a) porting is made more difficult as error messages from the parser are given line numbers referring back to the original (unavailable) forchek.y file, (b) the code is, as always with autogenerated parsers, unreadable, and (c) the yacc file would have been interesting in its own right, since using yacc to generate a parser for even a superficial parsing of an old language like Fortran is no mean feat. -- Bill Venables, Dept. of Statistics, | Email: venables@spam.adelaide.edu.au Univ. of Adelaide, South Australia. | Phone: +61 8 228 5412