mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
7439dccc532bfb5655f10532d4c8b1bf7a49819c
C3 Language
This is a prototype language heavily inspired by C2. It goes further than C2 in several regards, while still embracing the goals of C2.
Design Principles
- Procedural "get things done"-type of language.
- Try to stay close to C - only change where truly needed.
- Flawless C integration.
- Learning C3 should be easy for a C programmer.
- Dare violating the "close to metal" principle if the value is great.
- Not an object oriented language.
- Avoid "big ideas".
- Avoid the kitchen sink language trap.
Current status
As of now, very little code towards the compiler will be added here.
There is a "work-in-progress" C2 compiler in C called Titanos, which an eventual compiler might be based on.
A design draft can be found here: https://lerno.github.io/c3docs/
Discuss the language on the r/ProgrammingLanguages Discord server: https://discord.gg/cfu4wdk
Languages
C
96.4%
CMake
0.9%
Yacc
0.7%
Shell
0.5%
C++
0.3%
Other
1.1%