CX

CX (C eXtended) is a programming language developed by Madd. It is based on C, and is designed such that it can be implemented in a ready C compiler using macros (a  header is provided for GCC and compatibles). The language also has its own standard library, called.

Basics
CX was designed to have more readable code than C, which allows to track down bugs in code. It is also designed to be easier to learn and understand, and to allow the programming of portable games (no need to modify code between platforms). A simple 'Hello, world!' program in CX looks as follows:

/* include the io header file for talking to the console and files */ /* the program construct allows you to name your program. Within the * program block, the whole program flow happens. as soon as the flow reaches * the end of this block, the program is terminated. */ program(Hello, world!) begin /* you must call ioinit to tell the I/O library to initialise, otherwise * you cannot use any of its facilities. */    ioinit; /* putting a string in the console (please note that the console may be     * redirected to a file by the system shell) */ console.write("Hello, world!\n"); end
 * 1) include 