The following is the simple statement to print out string "Hello World !" to the console.
Print string and int type value using variable. Variable's type is inferred from assignment statements.
Use keyword "let" to define a function. The grammar is: "let" IDENT param_decls '=' statement. The following code is to define a square function takes a f64 value and outputs its squared f64 value.
If type annotation is omitted from the function, then we are defining a generic function. The type of the function is to be infered by how it is being used. Character '#' starts comments until the end of the line.
You can define struct aggregate type like struct in C. They behavior the same except more succinct in m.