30cc (Pronounced as CCC, because in the Persian language, the number 30 is pronounced as C) is a toy C compiler written in C, with the goal of being able to compile itself š¤ This is my first attempt in writing a self-hosting software! What is a self-hosting software?
30cc emits x86-64 assembly as its output. The outputs are totally unoptimized, but that's fine, the project aims to be educational.
Currently, this is the most complicated code 30cc is able to successfully parse and compile a simple implementation of a linked-list: