Christoffer Lerno 219f76f896 Cleanup.
2019-07-25 19:20:08 +02:00
2019-07-25 19:20:08 +02:00
2019-07-12 19:01:41 +02:00

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

Description
Compiler for the C3 language
Readme MIT 29 MiB
Languages
C 96.4%
CMake 0.9%
Yacc 0.7%
Shell 0.5%
C++ 0.3%
Other 1.1%