Smaller C is a simple and small single-pass C compiler, currently supporting most of the C language common between C89/ANSI C and C99 (minus some C89 and plus some C99 features). Currently, it generates 16-bit and 32-bit 80386+ assembly code for NASM that can then be assembled and linked into DOS, Windows, Linux and Mac OS X programs. (You may use YASM or FASM instead of NASM) Code generation for MIPS CPUs is also supported (primarily for RetroBSD). The compiler is capable of compiling itself. The core compiler comes with a preprocessor (ucpp), a linker, and a compiler driver (the driver invokes the preprocessor, the core compiler, the assembler, and the linker and supports options similar to those of gcc).

Features

  • The standard C library is work-in-progress and it's close to completion
  • Code generation for MIPS CPUs is also supported (primarily for RetroBSD)
  • Documentation available
  • Currently it generates 16-bit and 32-bit 80386+ assembly code for NASM
  • Supporting most of the C language common between C89/ANSI C

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

BSD License

Follow Smaller C

Smaller C Web Site

Other Useful Business Software
Hightouch is a data and AI platform for marketing and personalization. Icon
Hightouch is a data and AI platform for marketing and personalization.

Marketing needs data and AI. Give them Hightouch.

Find insights, run real-time campaigns, and build AI agents with all your data.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Smaller C!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Compilers

Registered

2024-07-08