Commit Graph

18 Commits

Author SHA1 Message Date
Stephen Chung
3c2e031883 Use variable interpolation for println!. 2022-10-27 13:38:21 +08:00
Stephen Chung
3f8f0b250f Add comments to examples. 2022-02-12 12:41:04 +08:00
Stephen Chung
f0e9d4a557 Use run and i64 instead of eval and INT for examples. 2022-01-11 22:12:46 +08:00
Stephen Chung
d0922adb5b Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
Stephen Chung
e7f2dc84f1 Revise examples. 2020-10-07 15:55:45 +08:00
Stephen Chung
69733688bf Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
Stephen Chung
060a61fc9d Use INT in examples instead of i64. 2020-03-24 09:49:08 +08:00
Stephen Chung
63482d5a79 Use ? operator for examples. 2020-03-09 16:54:43 +08:00
Stephen Chung
710a07d896 Refactor some examples. 2020-03-02 15:19:59 +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
a0fb5036f6 Minor tweaks, fix bug 2017-12-20 16:32:04 +01:00
torkleyy
f09545921f Rewrite Rhai function dispatching 2017-12-20 12:16:14 +01:00
jonathandturner
b9ea072d6a Add support for character constants 2016-04-13 18:40:06 -07:00
jonathandturner
4e38b9e611 Clean up trailing space and fix rhai_runner print out 2016-04-13 18:01:08 -07: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
3dea40a9f7 Fix type register visibility. Add a few more examples 2016-03-03 11:08:34 -05:00