[6,4] [.LEX] Lexical Analyser Generator This is an implementation of the Unix program LEX, which generates lexical analysers from regular expression grammars. This is a restructured and modified version of Forsythe's LEX which appeared in the original Decus C kit. 03-May-82 Bob Denny 1. Restructured to optimize overlay structure on RSX 2. Edited to produce more strict syntax for new version of compiler. 3. Debug code enclosed in #ifdef DEBUG/#endif, but enabled as current overlay structure size won't change if it is turned off (debug code isn't the "high nail"). 4. M. Minow edited in documentation and BUILD stuff. NOTE: RSX overlay structure could use a bit more work. In particular the file open and other FCS stuff could be structured and placed in the L1 co-tree, out of the root. (RBD) 28-Aug-82 R. B. Denny 1. Clean up "-v" printouts, specifically character class printouts. It appears that the "range()" function has a bug, but I didn't dive into it. 2. Many minor mods to allow generation of analysers not requiring "standard I/O" library. All lexlib routines except lexgetc(), lexerror(), mapch() and lexecho() now are independent of stdio. "-s" generates the standalone flavor analysers. 3. Added "-e" switch ("easy" command line). Saying lex -e name is equivalent to lex -i name.lxi -o name.c -t name 4. Added a few error messages. 5. Cleaned up generated code for readability. 6. Added LEX.HLP to kit.