Small-C

Small-C
Developer(s) Ron Cain, James E. Hendrix
Initial release 1980 (1980)
Written in C programming language
Type Compiler
License Copyrighted but sharable

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 available during the late 1970s and early 1980s, the implementation has also been useful as an example simple enough for teaching purposes.

The original compiler, written in Small-C for the Intel 8080 by Ron Cain, appeared in the May 1980 issue of Dr. Dobb's Journal of Computer Calisthenics & Orthodontia. James E. Hendrix improved and extended the original compiler, and wrote The Small-C Handbook. Ron bootstrapped Small-C on the SRI International PDP 11/45 Unix system with an account provided by John Bass for Small C development (with management permission, provided the compiler sources were released as public domain). Small-C was important for tiny computers in a manner somewhat analogous to the importance of GCC for larger computers. Just like its Unix counterparts, the compiler generates assembler code, which then must be translated to machine code by an available assembler.

Small-C is a retargetable compiler. Porting Small-C requires only that the back-end code generator be rewritten for the target processor.

As of 2014, Small-Cnow almost thirty-two years oldis still being used, ported, hacked and studied by people who want to learn how a compiler is written.

See also

References

External links

This article is issued from Wikipedia - version of the Wednesday, September 16, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.