Commit Graph

17 Commits

Author SHA1 Message Date
Stephen Chung
775bd6fb35 Improve examples. 2022-02-10 12:54:30 +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
180ad77224 Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
Stephen Chung
03c31a969a Refine examples. 2021-02-20 23:46:25 +08:00
Stephen Chung
bc8aa470cb Use Engine::new(). 2020-10-07 15:52:24 +08:00
Stephen Chung
5a02548ebc Allocate packages with higher functions capacity. 2020-05-13 19:39:34 +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
0306d15c04 Split core and standard libraries into packages. 2020-04-21 00:11:25 +08:00
Stephen Chung
e795a50ae2 Make Engine reentrant to prepare for parallel execution. 2020-04-07 13:23:06 +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
timfish
82fd20b2b1 Rust 2018 2019-09-18 11:21:07 +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
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