Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site noscvax.UUCP Path: utzoo!linus!decvax!genrad!panda!talcott!harvard!seismo!hao!hplabs!sdcrdcf!sdcsvax!noscvax!martin From: martin@noscvax.UUCP (Douglas W. Martin) Newsgroups: net.unix Subject: Help with Lex Statistics Message-ID: <934@noscvax.UUCP> Date: Thu, 23-May-85 15:17:18 EDT Article-I.D.: noscvax.934 Posted: Thu May 23 15:17:18 1985 Date-Received: Mon, 27-May-85 07:15:22 EDT Distribution: net Organization: Naval Ocean Systems Center, San Diego Lines: 19 I've recently written some large programs in lex(1) which have overflowed the default tables. The error messages tell me to increase %a, %p, %e, %k, etc. The statistics relate these to packed transitions, positions, nodes, packed character classes, etc. Can someone tell me what these terms mean? How might one modify the input file.l to, for example, reduce the number of packed transitions? I can't find any documentation explaining the meaning of any of the lex statistics. Finally, it seems likely that increasing the values of some of the % parameters would cause an arithmetic increase in memory requirements, whereas others would cause a geometric increase. How can I determine reasonable sizes for the parameters? Any help understanding these statistics would be appreciated. Doug Martin arpa: martin@nosc uucp: ...!sdcsvax!noscvax!martin