rhai/scripts
2020-10-07 22:56:21 +08:00
..
array.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
assignment.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
comments.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
fibonacci.rhai Register property versions of some methods. 2020-05-30 10:30:21 +08:00
for1.rhai Fix scripts and tests. 2020-06-27 21:19:53 +08:00
for2.rhai More benchmarks and examples. 2020-05-31 23:44:49 +08:00
function_decl1.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
function_decl2.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
function_decl3.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
if1.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
loop.rhai Optimize op-assignment statement. 2020-05-25 20:14:31 +08:00
mat_mul.rhai Do not print to avoid skewing the run timing. 2020-05-31 15:57:53 +08:00
oop.rhai Update docs and tests. 2020-08-04 18:39:24 +08:00
op1.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
op2.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
op3.rhai Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
primes.rhai Increase to prime numbers <= 1 million. 2020-05-31 22:47:39 +08:00
README.md Add README's. 2020-10-07 22:56:21 +08:00
speed_test.rhai Register property versions of some methods. 2020-05-30 10:30:21 +08:00
string.rhai Remove extra quote in strings example 2020-08-14 00:10:16 -06:00
strings_map.rhai More benchmarks and examples. 2020-05-31 23:44:49 +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

Compile the rhai_runner example:

cargo build --example rhai_runner

Run it:

./target/debug/examples/rhai_runner ./scripts/test_script_to_run.rhai