rhai/scripts
2021-04-19 22:40:20 +08:00
..
array.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
assignment.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
comments.rhai Fix scripts. 2021-04-16 10:33:55 +08:00
fibonacci.rhai Fix scripts. 2021-04-16 10:33:55 +08:00
for1.rhai Revise using string interpolation. 2021-04-04 23:22:45 +08:00
for2.rhai Revise using string interpolation. 2021-04-04 23:22:45 +08:00
function_decl1.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
function_decl2.rhai Fix script typo. 2021-04-13 14:37:33 +08:00
function_decl3.rhai Allow shadowing of global. 2021-04-17 18:40:16 +08:00
if1.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
loop.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
mat_mul.rhai Use global constant. 2021-04-19 22:40:20 +08:00
module.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
oop.rhai Revise using string interpolation. 2021-04-04 23:22:45 +08:00
op1.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
op2.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
op3.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
primes.rhai Remove redundant statement. 2021-04-19 15:11:05 +08:00
README.md Fix scripts. 2021-04-16 10:33:55 +08:00
speed_test.rhai Revise using string interpolation. 2021-04-04 23:22:45 +08:00
string.rhai Refine example scripts. 2021-04-09 22:48:47 +08:00
strings_map.rhai Revise using string interpolation. 2021-04-04 23:22:45 +08:00
while.rhai Optimize op-assignment statement. 2020-05-25 20:14:31 +08:00

Testing Scripts

Testing scripts written in Rhai.

How to Run

Run scripts using the rhai-run tool:

cargo run --bin rhai-run ./scripts/test_script_to_run.rhai