Menu

Home

Bely Semen Vladimirovich

Jake blocks syntax

-- Java styled blocks
if(cond){
true
} else {
false
}

-- Python styled blocks
if cond 
   true
else
   false

-- Python styled blocks 2
if(cond)
   true
else
   false

-- Special styled blocks
if cond {
-- Use of closing ';' not strict
true;
} else {
false
}

-- Function  define
fun example(arg1,arg2){
body
}

-- Python styled function  define
fun example(arg1,arg2)
    body

Syntax of Jake comments

-- One line comment
-[ Multiline 
   comment ]-

Project Members: