rhai/scripts
2020-12-25 16:08:56 +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
module.rhai Fix recursive file import bug. 2020-11-08 23:00:03 +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 Change rhai_runner and repl to rhai-run and rhai-repl. 2020-12-25 16:08:56 +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-run example:

cargo build --example rhai-run

Run it:

./target/debug/examples/rhai-run ./scripts/test_script_to_run.rhai