An expression oriented, strongly typed and sweet language
A full walk-through of the language can be found over at the wu-lang documentation.
Apart from being the best language ever, Wu strives to be a decently efficient, control-focused high-level language for use in game development as well as general purpose development. Its syntax is highly inspired by Rust's strong explicit syntax, combined with concepts from Jonathan Blow's Jai language and the sugar of MoonScript and the functional language family.
The language is meant and designed to be a solid alternative to MoonScript, and even superior on control and scalability.
point: type<T> {
x: T
y: T
}
position := point {
x: 100, y: 100
}
copy_point: def<T>(a: point<T>) -> point<T> {
a clone()
}
fib: def(a: int) -> int {
if a < 3 {
return a
}
fib(a - 1) + fib(a - 2)
}
print_fibs: def(..numbers: int) {
for n in numbers {
print(fib(n))
}
}
Wu is built by a minimal team of people, all of which are basically kids working on the compiler when bored in class. The whole thing is currently in its very early stages, but is propably fine, go use it in production.
Content type
Image
Digest
Size
422.3 MB
Last updated
about 8 years ago
docker pull purplebabar/wu