Stephen Chung
|
69733688bf
|
Make all public API's return Box<EvalAltResult> to reduce footprint.
|
2020-04-21 23:25:12 +08:00 |
|
Stephen Chung
|
1ebdf6dcfc
|
Add one more level of Boxing for Dynamic::Variant to reduce size.
|
2020-04-18 12:36:10 +08:00 |
|
Stephen Chung
|
a0bc49c867
|
Reduce size of Dynamic by boxing large types.
|
2020-04-18 11:10:03 +08:00 |
|
Stephen Chung
|
1ace4b474c
|
Favor matching on Union's instead of downcast::<T>, as_xxx() or is::<T>.
|
2020-04-16 10:24:30 +08:00 |
|
Stephen Chung
|
a35518fe49
|
Split tokenizer into separate file, plus fix no_std feature.
|
2020-04-15 22:21:23 +08:00 |
|
Stephen Chung
|
f600e59401
|
Fix bug with casting from float.
|
2020-04-13 23:31:05 +08:00 |
|
Stephen Chung
|
5796e520ec
|
Support Dynamic return values.
|
2020-04-13 10:27:08 +08:00 |
|
Stephen Chung
|
5152a40e93
|
Change Dynamic to enum.
|
2020-04-12 23:00:06 +08:00 |
|
Stephen Chung
|
44d6a5e466
|
Reduce cloning.
|
2020-04-05 17:44:48 +08:00 |
|
Stephen Chung
|
ae9a975576
|
Make downcast_ref, downcast_mut and is<T> public.
|
2020-04-05 09:56:52 +08:00 |
|
Stephen Chung
|
92b549b828
|
Add features info in docs.
|
2020-04-03 19:42:01 +08:00 |
|
Stephen Chung
|
0873bdc152
|
Add sync feature to make Dynamic, Scope and AST Send + Sync .
|
2020-04-02 19:40:02 +08:00 |
|
Stephen Chung
|
5e7c9b47d5
|
Rename downcast to try_cast and add cast for Dynamic.
|
2020-04-02 12:35:44 +08:00 |
|
Stephen Chung
|
cc8ec12691
|
Add more comments and examples.
|
2020-03-19 13:52:10 +08:00 |
|
Stephen Chung
|
ca20faf170
|
Add code comments.
|
2020-03-18 10:43:59 +08:00 |
|
Trangar
|
c8a9df0a0a
|
Added no_std support
|
2020-03-17 19:26:11 +01:00 |
|
Stephen Chung
|
feaad4e0da
|
Group use of std under one root.
|
2020-03-10 10:07:44 +08:00 |
|
Stephen Chung
|
3e7adc2e51
|
More comments in code.
|
2020-03-08 19:54:02 +08:00 |
|
Stephen Chung
|
bb56a7a843
|
Code refactor, bug fixes, code docs.
|
2020-03-04 22:00:01 +08:00 |
|
Stephen Chung
|
71ec23e621
|
Minor code refactoring.
|
2020-03-03 16:24:03 +08:00 |
|
Stephen Chung
|
a5e09295f8
|
Allow comparisons between different types (returning false).
|
2020-03-02 14:28:42 +08:00 |
|
Stephen Chung
|
51abc4a2c1
|
Simplify API by introducing the Dynamic and Array type aliases.
|
2020-02-25 15:02:27 +08:00 |
|
Stephen Chung
|
157aa2be94
|
Add for statement and range function; New register_box_fn for functions returning Box<dyn Any> (which should not be boxed again); Register standard utility functions in library (e.g. print, string concat).
|
2020-02-23 22:48:46 +08:00 |
|
timfish
|
53bb0a38f0
|
Use std::any::type_name
|
2019-09-30 18:57:21 +01:00 |
|
timfish
|
82fd20b2b1
|
Rust 2018
|
2019-09-18 11:21:07 +01:00 |
|
David Kushner
|
0a11cadebf
|
fix ambiguous calls to type_id preventing compilation on nightly
|
2019-04-17 13:28:14 -07:00 |
|
Lukáš Hozda
|
5edcfc2156
|
minor refactor
|
2017-12-21 12:28:59 +01:00 |
|
torkleyy
|
f09545921f
|
Rewrite Rhai function dispatching
|
2017-12-20 12:16:14 +01:00 |
|