Copper Language

Copper is an experimental programming language that I use as a replacement to C and C++.

Features

  • Statically typed.
  • 4 backends: x86 COFF, x86 ELF, x64 ELF and LLVM.
  • Simple syntax.
  • Basic type inference.
  • Type inheritance.
  • Out of order definitions.
  • Genericity.
  • Block closures for iterators.
  • New data types can be created.
  • Everything is explicit (no implicit type conversion, no exception, no destructor).
  • Simple import system, no need of headers.
  • Really fast (with non-LLVM backend).
  • Not everything in the global namespace.

If you want to see what it looks like, go to the overview page. For more complete information, you can have a look at the documentation.

I’m releasing it because Code Browser is developed with it: you need it to compile Code Browser from source or if you want to modify it. I don’t provide any tutorials, examples or standard library (you can get the one from Code Browser) but you can contact me if you have any questions.

https://tibleiz.net/copper/index.html

This thread was posted by one of our members via one of our automated news source trackers.

Corresponding tweet for this thread:

https://twitter.com/dev_talk/status/1344191378826391552

Share link for this tweet.