8cc.vim is a C compiler written in Vim script, built on the ELVM architecture. It compiles C code into Vim script, which Vim can then evaluate. Although it is a toy project and much slower than traditional compilers, it demonstrates the flexibility of Vim script. It includes commands and functions for compiling and running C code from within Vim. Ideal for education or experimental purposes, but not for performance-critical applications.

3m read timeFrom github.com
Post cover image
Table of contents
8cc.vim: Pure Vim script C CompilerInstallationUsageLicense

Sort: