mighty

The mighty programming language, compiler and tools (WIP)
Log | Files | Refs

idea.mty (292B)



use std

fx main(int a, int b) int ::
    print("hello")
    return 0
end

fx main :: print("hello world") end

fx main ::
    print("hello, world")
    while true do
    end
end

pub struct Person ::
    float age
    int height
    str name
end

enum Type ::
    FLOAT
    INT
    JACK
end