Syntax
Last updated
Last updated
Operators have natural language and symbolic options.
Not implemented yet
Comments are multiline by default. Everything between //
and ;
is treated as a comment.
Using an operator from: ==, !=, <, <=, >, >=
. Double statements using and
and or
var name = variable;
var foo = "string"
var list = []
list[index]
// This is a comment;
variable == true
variabel == false
if condition
{
//then body;
}
elif condition
{
//then body;
}
else
{
//then body;
}
for var name = int to int
{
//then body;
}
foreach(var item in list)
{
//then body;
}
while condition
{
//then body;
}
extern Standard.Terminal.Print;
func main()
{
Print("Hello World!");
}
== != and or
is is not and or
func funcName(params) : returnType
{
}