DEV Community

Garrett Gaston
Garrett Gaston

Posted on

G, Extende C

#c

I created this for myself, but just wanted to pass this around in case anyone else is interested. I created this because I believe in much of the philosophy of Zig and Odin, but Zig is ugly/complicated IMO, and while Odin isn't ugly, it still isn't C. I say I created, in the interest of full disclosure, I worked with A.I over the course of a week creating this, I was mostly just dictating.
What it adds at a glance:

  1. Module System
  2. Function Overloading
  3. Default Parameters
  4. Default Struct Values
  5. Nested Struct Value Expansion
  6. Values Default To Undefined
  7. Error As A Value
  8. Defer Keyword

And there could be one or two more I'm forgetting atm.

Top comments (0)