forsyth@minster.UUCP (05/12/87)
It is not AT&T derived. That is quite obvious once you look at the source! Someone asked for a copy for inclusion in the DECUS distribution about 7 years ago. They changed it quite a bit to have it work under RSX-11 with Dave Conroy's C compiler. The input conventions were based on those in the first edition of the Aho&Ullmann Dragon Book: %T Principles of Compiler Design %A A. V. Aho %A J. D. Ullman %I Addison-Wesley %C Reading, Mass. %D 1977 %K AddWesley and they are a bit strange, especially by comparison with 7th Edition lex. (The newer dragon book uses the conventions of BTL lex.) Also, it was a 6th edition program and had the usual assortment of pointer mismatches. Recently I put all the types right, and changed the input syntax slightly, but I haven't done any real work on it. Perhaps the new fast lex `flex' (advertised in comp.unix.wizards) might be a better choice.