Commit Graph

16 Commits

Author SHA1 Message Date
Stephen Chung
ff8756018b Refactor error display. 2020-03-25 11:51:13 +08:00
Stephen Chung
928f044553 Fix lint warnings in examples 2020-03-24 17:30:04 +08:00
Stephen Chung
8efe080412 Handle break and return better. 2020-03-18 10:42:27 +08:00
Stephen Chung
5235ba71dd Run examples with full optimizations. 2020-03-16 12:41:19 +08:00
Stephen Chung
372321dfe3 Add full optimization level for aggressive optimizing. 2020-03-15 22:39:58 +08:00
Stephen Chung
560da5fdc6 Allow call_fn with only one parameter; consume can retain functions, eval cannot. 2020-03-12 14:54:14 +08:00
Stephen Chung
711cd9bb1c Improve repl and rhai_runner examples with error messages. 2020-03-10 11:25:34 +08:00
timfish
82fd20b2b1 Rust 2018 2019-09-18 11:21:07 +01:00
torkleyy
348a680980 Fix build and all tests 2017-12-20 21:09:53 +01:00
torkleyy
f09545921f Rewrite Rhai function dispatching 2017-12-20 12:16:14 +01:00
jonathandturner
4e38b9e611 Clean up trailing space and fix rhai_runner print out 2016-04-13 18:01:08 -07:00
jonathandturner
ceadc0977f Add eval_file and get/set helpers 2016-03-17 08:45:48 -04:00
jonathandturner
cfac566425 Remove unbox/cast step in eval 2016-03-16 18:32:05 -04:00
jonathandturner
254f4b081c Simplified function registration to not require explicit coercion step. Simplified eval to take &str instead of String 2016-03-16 18:07:08 -04:00
jonathandturner
b5075e6511 Fix divide support 2016-03-03 11:32:02 -05:00
jonathandturner
fee3852979 Move to lib style, move scripts into their own directory, start source examples 2016-03-03 10:55:28 -05:00