Lint

Lint

Contenido

Lint (Herramienta de programación)

Originalmente lint era el nombre de una herramienta de programación utilizada para detectar código sospechoso, confuso o incompatible entre distintas arquitecturas en programas escritos en C; es decir, errores de programación que escapan al habitual análisis sintáctico que hace el compilador. En la actualidad, se utiliza este término para designar a herramientas que realizan estas tareas de comprobación en cualquier lenguaje de programación. Las herramientas de tipo lint generalmente funcionan realizando un análisis estático del código fuente.

Las construcciones sospechosas que se suelen buscar son usos de variables antes de ser inicializadas o creadas, condiciones que no varían bajo ninguna circunstancia (Son siempre verdaderas o siempre falsas) y cálculos cuyos resultados probablemente caigan fuera del rango permitido por las variables utilizadas.

En los compiladores optimizados (Cuya principal motivación es la generación de código de alta calidad) también se pueden encontrar muchos de los análisis habitualmente realizados por lint. También se está empezando a incluir la detección de estas construcciones incorrectas en su lista de avisos (Warnings).

Las sucesivas generaciones de herramientas del estilo de lint han seguido ampliado en rango de construcciones incorrectas o sospechosas. Las herramientas más avanzadas realizan cada vez más comprobaciones, como por ejemplo, que el código sea consistente entre distintos compiladores, o el soporte para incorporar anotaciones acerca del comportamiento esperado o las propiedades del código.

Historia

La primera versión de lint (fuera de los laboratorios Bell Labs) apareció en la versión 7 (V7) del sistema operativo UNIX, en 1979. Formaba parte del compilador PCC (Portable C Compiler), que fue el segundo compilador de C incorporado a las máquinas PDP-11. Su autor, Stephen C. Johnson, es también el creador de yacc (Yet another compiler compiler) y del previemente mencionado PCC.

Véase también

Referencia

  • Stephen Johnson. Lint, a C program checker. Computer Science Technical Report 65, Bell Laboratories, December 1977.

Wikimedia foundation. 2010.

Игры ⚽ Нужна курсовая?

Mira otros diccionarios:

  • Lint — may mean: * Fibrous coat of thick hairs covering the seeds of the cotton plant * Fuzzy fluff that accumulates on various fabrics, which can be removed via a lint roller * Fibers that become trapped in the lint filter of a clothes dryer * Navel… …   Wikipedia

  • Lint — bezeichnet eine Baureihe von Nahverkehrs Dieseltriebwagen, siehe Alstom Coradia LINT ein Werkzeug zur statischen Code Analyse, siehe Lint (Programmierwerkzeug) eine Gemeinde in Belgien, siehe Lint (Belgien) Lint ist der Familien bzw. Künstlername …   Deutsch Wikipedia

  • Lint — (l[i^]nt), n. [AS. l[=i]net flax, hemp, fr. l[=i]n flax; or, perh. borrowed fr. L. linteum a linen cloth, linen, from linteus linen, a., fr. linum flax, lint. See {Linen}.] 1. Flax. [1913 Webster] 2. Linen scraped or otherwise made into a soft,… …   The Collaborative International Dictionary of English

  • lint — (text.) s. n. Trimis de siveco, 10.08.2004. Sursa: Dicţionar ortografic  LINT s.n. Nume dat fibrelor lungi de bumbac rezultate după egrenare. [< engl. lint]. Trimis de LauraGellner, 18.05.2005. Sursa: DN  LÍNT s. n. fibre lungi de bumbac,… …   Dicționar Român

  • lint|y — «LIHN tee», adjective, lint|i|er, lint|i|est. 1. full of or marked with lint. 2. like lint: »the linty seeds of dandelion …   Useful english dictionary

  • lint- — *lint germ.?, Substantiv: nhd. Leinen ( Neutrum), Leinwand; ne. linen (Neutrum); Rekontruktionsbasis: as., ahd.; Interferenz: Lehnwort lat. linteum; Etymologie: s …   Germanisches Wörterbuch

  • lint — [lint] n. [ME linnet, prob. < lin, linen: see LINE2] 1. scraped and softened linen formerly used as a dressing for wounds 2. cotton fiber used to make yarn 3. the waste cotton remaining after ginning 4. a) bits of thread, r …   English World dictionary

  • lint — [lınt] n [U] [Date: 1300 1400; : Latin; Origin: linum flax, linen ; LINE1] 1.) especially AmE soft light pieces of thread or wool that come off cotton, wool, or other material British Equivalent: fluff 2.) BrE soft cotton material used for… …   Dictionary of contemporary English

  • lint — [ lınt ] noun uncount 1. ) AMERICAN small pieces of thread or wool that come off cloth or clothes 2. ) MAINLY BRITISH soft cloth, used for protecting a cut or burn on your skin …   Usage of the words and phrases in modern English

  • Lint — (engl.), gezupfte Leinwand, Scharpie; auch ein flanellartiges Gewebe aus Baumwolle, zur Darstellung von medikamentösen Linten (Karbollint, Borlint [s.d.]) etc …   Kleines Konversations-Lexikon

  • lint — (n.) late 14c., flax prepared for spinning, also refuse of flax used as kindling, somehow from the source of O.E. lin flax (see LINEN (Cf. linen)), perhaps from or by influence of M.Fr. linette grain of flax, dim. of lin flax, from L. linum flax …   Etymology dictionary

Compartir el artículo y extractos

Link directo
Do a right-click on the link above
and select “Copy Link”