Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ccieng2.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!hao!seismo!rochester!ritcv!ccieng5!ccieng2!bwm From: bwm@ccieng2.UUCP Newsgroups: net.lang Subject: Re: Lexical analyzers and parsers Message-ID: <174@ccieng2.UUCP> Date: Mon, 7-May-84 09:52:51 EDT Article-I.D.: ccieng2.174 Posted: Mon May 7 09:52:51 1984 Date-Received: Fri, 11-May-84 00:13:51 EDT References: <1632@tekig1.UUCP> Organization: Computer Consoles Inc., Rochester, NY Lines: 16 Fortran, simple??? Any language that you have to parse most of a line and then back up to find the token (like fortran) has severe brain damage. Consider: IF(I.EQ.2)22,23,22 It isn't until we hit the first comma that fortran realizes it is not looking at an identifier! It then realizes that an identifier cannot be followed by a comma, and backs up looking for a reserved word!!!!!! GAG! -- ...[cbrma, rlgvax, ritcv]!ccieng5!ccieng2!bwm