XCC is a simple C compiler based on chibic, featuring support for including files from websites using curl and shebang support.
git clone https://github.com/x3ric/xcc cd xcc sudo make install
xc
Chibic Based: Built upon chibic, XCC supports most C11 features.
GCC Backend: Runs gcc with Web Includes & Shebang Support through XCC.
Web Includes: Includes files from websites using curl.
Shebang Support: Supports executing C scripts directly.
./examples/x11window
XCC comprises the following stages:
Tokenize: Breaks input into tokens.
Preprocess: Expands macros and interprets preprocessor directives.
Parse: Constructs abstract syntax trees and assigns types.
Codegen: Generates assembly text for AST nodes.