C Cod - C Cod Fly!
Compile C on Demand

Welcome to the C Cod homepage!
Please read the FAQ page to get quick answers regarding C Cod and CSP.


What is C Cod?

C Cod is an experimental project that allows for a C source file to be "Compiled on Demand" prior to being executed. The source files are compiled and executed on the fly. This allows for C to be treated like a scripting language. But, C Cod does not actually do the compiling. Rather it acts as a front-end and uses the the C compiler that is installed on the computer. This is most often the GNU C Compiler, and therefore designed to be used with GCC.

It has been compiled on and tested with:

  • Mac OS X (Darwin/PowerPC)
  • Windows (MingW/i386)
  • Debian (Linux/i386)


    What is CSP?

    CSP is a shared library that exposes C Cod source files to a friendly CGI API. It's modelled after ASP, and supports features such as Page Buffering, File Uploads, Sessions, Cookies, Inline HTML, and much more. It is automatically installed along-side C Cod.

    View some CSP examples to see how it works.


    License Agreement

    C Cod and CSP are free software as specified under the MIT License. View the COPYING file for detailed information regarding this subject.