Small-C

Small-C

Small-C es una especificación para un subconjunto del lenguaje de programación C, conveniente para microcomputadores limitados en recursos y para sistema embebidos. También se refiere a la implementación de ese subconjunto de instrucciones. Originalmente de valor como un compilador temprano para los sistemas de microcomputadores disponibles durante finales de los años 1970 y principios de los años 1980, la implementación también ha sido útil como un ejemplo lo suficientemente simple para propósitos de enseñanza.

El compilador original, escrito en Small-C para el Intel 8080 por Ron Cain, apareció en la edición de mayo de 1980 del Dr. Dobb's Journal. James E. Hendrix mejoró y extendió el compilador original, y escribió el manual The Small-C Handbook. Ron hizo un Small-C con capacidad de bootstrap, en el sistema Unix PDP 11/45 del Stanford Research Institute, con una cuenta proporcionada por John Bass para el desarrollo del Small C (con el permiso de la gerencia, con tal que las fuentes del compilador fueran lanzadas como dominio público). Small-C era importante para los computadores minúsculos de una forma algo análoga a la importancia del GCC para los computadores más grandes. Tal como sus contrapartes de Unix, el compilador genera código ensamblador, que entonces debe ser traducido al código de máquina por un ensamblador disponible.

Small-C es un compilador redirigible (retargeting compiler). Portar al Small C requiere solo que el generador de código del back-end sea reescrito para el procesador objetivo.

En fecha 2007, Small C, ahora con casi veinticinco años - todavía está siendo usado, portado y estudiado por la gente que quiere aprender cómo se escribe un compilador.

Referencias

  • Ron Cain, "A Small C Compiler for the 8080's", Dr. Dobb's Journal, April-May 1980, pp. 5–19
  • James E. Hendrix, The Small-C Handbook, Reston 1984, ISBN 0-8359-7012-4
  • James E. Hendrix, A Small C Compiler: Language, Usage, Theory, and Design, M & T Books 1988, ISBN 0-934375-88-7
  • James E. Hendrix, Small C Compiler, M & T Books 1990, ISBN 1-55851-124-5

Enlaces externos


Wikimedia foundation. 2010.

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

Mira otros diccionarios:

  • Small — can refer to the following:* Something very gracious * Something of low size. * Minuscule, or lower case, is the small form (case) of a letter * SMALL, an ALGOL like programming language * A term to describe smaller aircraft for purposes of air… …   Wikipedia

  • Small — (sm[add]l), a. [Compar. {Smaller}; superl. {Smallest}.] [OE. small, AS. sm[ae]l; akin to D. smal narrow, OS. & OHG. smal small, G. schmal narrow, Dan. & Sw. smal, Goth. smals small, Icel. smali smal cattle, sheep, or goats; cf. Gr. mh^lon a sheep …   The Collaborative International Dictionary of English

  • Small — Small, adv. 1. In or to small extent, quantity, or degree; little; slightly. [Obs.] I wept but small. Chaucer. It small avails my mood. Shak. [1913 Webster] 2. Not loudly; faintly; timidly. [Obs. or Humorous] [1913 Webster] You may speak as small …   The Collaborative International Dictionary of English

  • SMALL — SMALL, Small Machine Algol Like Language, is a programming language developed by Dr. Nevil Brownlee of Auckland University.HistoryThe aim of the language was to enable people to write ALGOL like code that ran on a small machine. It also included… …   Wikipedia

  • Small — Small, n. 1. The small or slender part of a thing; as, the small of the leg or of the back. [1913 Webster] 2. pl. Smallclothes. [Colloq.] Hood. Dickens. [1913 Webster] 3. pl. Same as {Little go}. See under {Little}, a. [1913 Webster] …   The Collaborative International Dictionary of English

  • Small — Small, v. t. To make little or less. [Obs.] [1913 Webster] …   The Collaborative International Dictionary of English

  • Small-C — In computing, Small C is both a subset of the C programming language, suitable for resource limited microcomputers and embedded systems, and an implementation of that subset. Originally valuable as an early compiler for microcomputer systems… …   Wikipedia

  • small — I. adjective Etymology: Middle English smal, from Old English smæl; akin to Old High German smal small, Greek mēlon small domestic animal Date: before 12th century 1. a. having comparatively little size or slight dimensions b. lowercase 2. a.… …   New Collegiate Dictionary

  • Small ke — The small ke (ヶ) is a common, yet often misunderstood Japanese character. It is an abbreviation for the kanji 「箇」 which is used as a counter word. Although it resembles the katakana character ke (ケ), it is pronounced ka, ga or ko, not ke.The… …   Wikipedia

  • small — See: BIG FROG IN A SMALL POND …   Dictionary of American idioms

  • small — or[wee hours] {n. phr.} The very early hours of the morning between 1 and 4 A.M. * /My brother was in trouble for coming home in the small hours./ See: WEE HOURS …   Dictionary of American idioms

Compartir el artículo y extractos

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