Interpreter for redo language
for example
var hello = "Hello " + "World" + "!";
hello += "10";
println(hello)//outputs: Hello World!10
if u dont put ;
at end of expression(not required in functions, after functions u dont need semicolons)
var hello = "Hello " + "World" + "!"
hello += "10"
it would say hello is not defined
because it doesnt stop reading the expression, and stops reading when semicolon is added
NOTE: This is required in this current situation, in further updates hopefully ill figure it out
#BETA features ###Currently there are none
if true {
print(true)
} else if "true" == "true" {
println("true is true")
} else {
println("true is not true")
}
- print(args...)
- println(args...)
- printf(format string, args...)
- free(variableKey string)
var key = value
var key = false
var key = "hello"
var key = 10
supports one line comments //
multi line comments
/*
*/
value can be a string, boolean or a number
- =, +=, -=, *=, /=, %= operators for variables
- +, -, *, /, ==, <, >, <=, >=, % general operators
- for/while loops
- function declaration