Lint, a C Program Checker

作者: S. C. Johnson , Murray Hill

DOI:

关键词:

摘要: Lint is a command which examines C source programs, detecting number of bugs and obscurities. It enforces the type rules more strictly than com- pilers. may also be used to enforce portability restrictions involved in moving programs between different machines and/or operating systems. Another option detects wasteful, or error prone, constructions nevertheless are, speaking, legal. accepts multiple input files library specifications, checks them for consistency. The separation function lint compilers has both historical practical rationale. turn into executable rapidly efficiently. This possible part because do not sophisticated checking, especially separately compiled programs. takes global, leisurely view program, looking much carefully at compatibili- ties. document discusses use , gives an overview implementa- tion, some hints on writing machine independent code.

参考文章(4)
Steven C Johnson, Dennis M Ritchie, None, UNIX Time-Sharing System: Portability of C Programs and the UNIX System Bell System Technical Journal. ,vol. 57, pp. 2021- 2048 ,(1978) , 10.1002/J.1538-7305.1978.TB02141.X
S. C. Johnson, A portable compiler Proceedings of the 5th ACM SIGACT-SIGPLAN symposium on Principles of programming languages - POPL '78. pp. 97- 104 ,(1978) , 10.1145/512760.512771
E. Schmidt, M. E. Lesk, Lex—a lexical analyzer generator UNIX Vol. II. pp. 375- 387 ,(1990)
Stephen C. Johnson, Murray Hill, Yacc : Yet Another Compiler Compiler UNIX Programmer's Manual. ,vol. 2, pp. 353- 387 ,(1978)