evalit-0.1.0-alpha.1 has been yanked.
evalit
A toy interpreter.
example
use ;
syntax
primitive type
null
boolean
true, false
integer
$-2{63}$ ~ $2{63}$
float
float number, f64.
string
string quote by "
control flow
loop
loop to repeat.
loop
while
while to repeat.
while condition
for
for to iterate.
for i in 0..=10
if
if to choose branch.
if condition else
break
break to exist loop.
continue
continue to finish one iterate.
return
return to return value.
fn
user defined function