Skip to main content

C plus 1 Programming Language

The Minimalistic TypeScript for C

Built for people who likes C. Designed with modern features such as metaprogramming, methods, namespaces, auto variable type deduction and more.

Copied!

Latest release 0.1Download on GitHub

Runs on: Windows, macOS, Linux

+ Easy Metaprogramming System

Metaprogramming is as easy as string interpolation. Unlike other metaprogramming systems, metaprograms in Cp1 are cached and can have zero overhead. Debugging is also easier too compared to other metaprogramming systems such as C++ templates.

+ Fast Compilation Speed

Built with incremental compilation in mind. Up to 125K lines of codes single-core compilation on a Macbook M2. Codes that are unmodified are cached and never parsed again.

+ Shorter and more readable codes

You can use function arguments to declare variables quickly. Spaces are required before and after operators for better readability. Names can have dashes, like in Lisp.

Cp1 Programming Language Hello World

Community

Join us in Discord

Join us in Discord

We welcome new people from our small crib. Fresh to C? Let's upgrade your skill with Cp1. Join here →

Engage with us

Engage with us

Got the same interest? You might want to join our small community to spread the same vision. Send us email today!

Support us through

Support us through

Help us grow our community by supporting us through Patreon. We would love to meet you there!