Skip to content
Sketch of a C-like, low-level language that emphasizes memory safety. I will probably never end up writing a compiler for this.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
README.md

README.md

cweed

Sketch of a C-like, low-level language that emphasizes memory safety.

I will probably never end up writing a compiler for this.

Features

  • Types like int, short, have guaranteed size, regardless of platform.
  • Classes are pass-by-reference by default - no pointers needed in majority of cases.
  • Pointers cannot be cast to arrays, except in methods marked unsafe.
  • Transparent, low-cost (not zero-cost) C interop.
  • RAII
You can’t perform that action at this time.