In computer programming, lint was the name originally given to a particular program that flagged suspicious and non-portable constructs (likely to be bugs) in C language source code. tags please moot on the talk page first! --> In Computing, C is a general-purpose cross-platform block structured In Computer science, source code (commonly just source or code) is any sequence of statements or declarations written in some Human-readable The term is now applied generically to tools that flag suspicious usage in software written in any computer language. The term lint-like behavior is sometimes applied to the process of flagging suspicious language usage. lint-like tools generally perform static analysis of source code. Static code analysis is the analysis of computer Software that is performed without actually executing programs built from that software (analysis performed on executing
Suspicious usage includes: variables being used before being set, conditions that are constant, and calculations whose result is likely to be outside the range of values representable in the type used. A data type in Programming languages is an attribute of a datum which tells the computer (and the programmer something about the kind of datum it is
The term was derived from the name of the undesirable bits of fiber and fluff found in sheep's wool. Wool is the fiber derived from the specialized skin cells called follicles of animals in the Caprinae family principally sheep, but the hair of certain species
Many of the forms of analysis performed by lint-like tools are also performed by optimizing compilers (whose prime motivation is to generate higher quality code), and modern compilers can often detect many of the constructs traditionally warned about by lint. Compiler optimization is the process of tuning the output of a Compiler to minimize or maximize some attribute of an Executable computer program A compiler is a Computer program (or set of programs that translates text written in a computer language (the source language) into another
Writers of lint-like tools have continued to improve the range of suspicious constructs that they detect. Modern tools perform forms of analysis that many optimizing compilers typically don't do, such as cross-module consistency checking, checking that the code will be portable to other compilers, and supporting annotations that specify intended behavior or properties of code.
Lint first appeared (outside of Bell Labs) in the seventh version (V7) of the UNIX operating system in 1979. Bell Laboratories (also known as Bell Labs and formerly known as AT&T Bell Laboratories and Bell Telephone Laboratories) is the Research organization Unix (officially trademarked as UNIX, sometimes also written as Unix with Small caps) is a computer An operating system (commonly abbreviated OS and O/S) is the software component of a Computer system that is responsible for the management and coordination Year 1979 ( MCMLXXIX) was a Common year starting on Monday (link displays the 1979 Gregorian calendar) It was derived from PCC, the Portable C Compiler, which was included with that system. The Portable C Compiler (also known as pcc or sometimes pccm - portable C compiler machine was an early Compiler for the C programming language Lint and PCC were developed by Stephen C. Johnson, who also authored the parser generator yacc. Stephen Curtis Johnson spent nearly 20 years at Bell Labs and AT&T, where he wrote Yacc, Lint, and the Portable C Compiler. The Computer program yacc is a Parser generator developed by Stephen C