Building a readable, fast and safe language – looking for contributors

1 pointsposted 8 hours ago
by CrimsonDemon567

1 Comments

CrimsonDemon567

8 hours ago

I am currently working on Shaft, a new programming language. It is in it's bootstrap phase (C++) and build on LLVM. It already works, but still has lot's of issues and limited features. The goal is to make it safe and still readable; it also already has automatic memory cleanup in reverse declaration order, so you can move one field of a struct while the rest is still valid, and the compiler will generate the cleanup code, without the need of user-defined destructors. I’m looking for interested developers who want to help build a compiler and contribute features or bug fixes. example snippet:

def add(i32 x, i32 y) ?-> i32 result { tunnel x + y -> i32 result; }

def main(String[] args) { reserve ?i32 result = add(4, 9); valid result { printf("4 + 9 = {i32}", result); } else { println("Addition failed"); } }