Welcome to the Wave programming language. The Wave project is currently in development.
Wave - Programming Language
What exactly is a Wave programming language? Wave is a compiled language. Our goal is to develop Wave in languages such as C or Rust. To develop a very good and optimized language.
Currently, there is no option to download or try out the language. Announcements will be posted on the LunaStev Github issues channel.
By documenting this, we aim to make Wave more accessible. Although the language is not available for use at the moment, we hope it will be commercialized someday.
fun hello(name :String) {
print("{}", name);
}
fun main() {
var a :str = ("Hello");
count b = 1;
print("{a} {b}");
hello("LunaStev");
}
Code Explanation
Firstly, the term fun denotes a function declaration. It's essential to note that all code should reside within the main() function; otherwise, it won't be executed. The keyword var is used for variable declarations, while count is specifically for number variables. The type declaration :String can also be represented as :str, and it's exclusively for character data. Also, it's crucial to end all statements with a semicolon (;).