by pointbazaar
Small statically typed language that transpiles to C.

The project is now under development on/off for about a year. Many things have changed but most of the syntax is still the same.

Programming languages have always interested me so I set out to create my own.

smalldragon features a dead function analyzer, a caller/callee analyzer, chained comparisons as well as local variable type inference.

In the future I hope to support generics as well.

fn main () -> int {

    loop 3 {
        printf("try me");
    }

    for i in 0..7 {}

    a = 5;
    uint8 b = 4;

    if b < a < 10 {

    }
}
Information updated 01/15/22
View Comments