Perhaps this could be a better starting point? MIT license. https://github.com/rui314/chibicc It already compiles real world projects. His 8cc and 9cc were pretty cool, too. Regards, Ivo