Plox programming language
var name = [value];
fun name(param1, param2, ...)
{
// body
}
or
var func_name = fun (a, b, ...) {
// body
};
if(condition)
{
// body
}
else
{
// body
}
while(condition)
{
// body
}
fun caller(func, arg)
{
func(arg);
}
caller(fun (arg) {
print(arg)
}, "Ramesh");
+ - * /
& ^ | << >> ~
python3 plox.py [plox script]