Stephen Chung
|
f004575590
|
Fix namespace error in no_std.
|
2020-06-13 17:03:49 +08:00 |
|
Stephen Chung
|
b24fdd7a4d
|
Change call_fn_dynamic to accept any type that is IntoIterator<Item=Dynamic>.
|
2020-06-12 19:54:55 +08:00 |
|
Stephen Chung
|
5275778952
|
Add test to call_fn with String parameter.
|
2020-06-12 18:46:36 +08:00 |
|
Stephen Chung
|
9d91349513
|
Refine position display in error messages.
|
2020-06-12 18:04:16 +08:00 |
|
Stephen Chung
|
6cc27eb9f4
|
Better error messages.
|
2020-06-11 23:21:39 +08:00 |
|
Stephen Chung
|
d92613eaf6
|
Fix parse positions.
|
2020-06-11 23:08:00 +08:00 |
|
Stephen Chung
|
e4cca7620f
|
Better debug formatting for StaticVec.
|
2020-06-11 22:18:30 +08:00 |
|
Stephen Chung
|
8f55a15ab0
|
Collect parse settings into struct type.
|
2020-06-11 22:03:47 +08:00 |
|
Stephen Chung
|
0ac3a7d8b4
|
Use type alias TokenStream.
|
2020-06-11 18:13:33 +08:00 |
|
Stephen Chung
|
13cde456e5
|
Change version to 0.15.1.
|
2020-06-10 22:28:50 +08:00 |
|
Stephen Chung
|
95f94a3348
|
Add strings example.
|
2020-06-09 12:21:21 +08:00 |
|
Stephen Chung
|
b4b835f80a
|
Remove unnecessary "sync" feature gates.
|
2020-06-08 14:10:16 +08:00 |
|
Stephen Chung
|
a4cabc1ac7
|
Better String parameter error message.
|
2020-06-08 14:10:06 +08:00 |
|
Stephen Chung
|
5fb4b04cb0
|
Put type on transmute call.
|
2020-06-08 10:26:12 +08:00 |
|
Stephen Chung
|
e942ef358c
|
Transparently convert &str to ImmutableString for register_fn.
|
2020-06-07 17:54:33 +08:00 |
|
Stephen Chung
|
5f40a1376a
|
Implement index setters.
|
2020-06-06 13:06:00 +08:00 |
|
Stephen Chung
|
56eb659d5a
|
Unify all functions into CallableFunction type, remove FunctionsLib.
|
2020-06-05 15:14:42 +08:00 |
|
Stephen Chung
|
e21d25a0c5
|
Add section on printing custom types.
|
2020-06-03 11:13:19 +08:00 |
|
Stephen Chung
|
ec6e3daabb
|
Refactor.
|
2020-06-03 10:44:36 +08:00 |
|
Stephen Chung
|
b8da1691d3
|
Consolidate callbacks.
|
2020-06-02 13:33:16 +08:00 |
|
Stephen Chung
|
b70d38e820
|
Avoid passing position until error.
|
2020-06-01 15:25:22 +08:00 |
|
Stephen Chung
|
37135e2551
|
Modify list formatting according to GitHub MD rules.
|
2020-06-01 14:28:39 +08:00 |
|
Stephen Chung
|
b8b12055b9
|
Disable if-expression when parsing expressions.
|
2020-06-01 13:26:20 +08:00 |
|
Stephen Chung
|
3f9d0895de
|
Bump version.
|
2020-06-01 13:26:02 +08:00 |
|
Stephen Chung
|
6d190096fd
|
Fix bug with bracket postfix when no_index.
|
2020-06-01 13:03:01 +08:00 |
|
Stephen Chung
|
cec6748ac6
|
Remove no_module gates to prepare for plugins.
|
2020-06-01 10:58:14 +08:00 |
|
Stephen Chung
|
c6e5f672c9
|
More benchmarks and examples.
|
2020-05-31 23:44:49 +08:00 |
|
Stephen Chung
|
331513f5e0
|
Increase to prime numbers <= 1 million.
|
2020-05-31 22:47:39 +08:00 |
|
Stephen Chung
|
7fa05f3886
|
Do not print to avoid skewing the run timing.
|
2020-05-31 15:57:53 +08:00 |
|
Stephen Chung
|
697bb39a7f
|
Add writeup on Rhai usage scenarios.
|
2020-05-31 15:55:02 +08:00 |
|
Stephen Chung
|
840afe74bb
|
Simplify eval_dot_index_chain.
|
2020-05-31 15:51:26 +08:00 |
|
Stephen Chung
|
d7d49a5196
|
Fix bug in chained dot/index expression.
|
2020-05-31 14:27:16 +08:00 |
|
Stephen Chung
|
76d792011f
|
Add Engine::call_fn_dynamic.
|
2020-05-31 12:37:19 +08:00 |
|
Stephen Chung
|
5f727335a6
|
Add type info.
|
2020-05-31 12:36:42 +08:00 |
|
Stephen Chung
|
13c49387ef
|
Add OptimizationLevel::is_simple
|
2020-05-31 12:36:31 +08:00 |
|
Stephen Chung
|
c9de37e8d1
|
Hash functions only once via custom hasher.
|
2020-05-31 00:02:23 +08:00 |
|
Stephen Chung
|
439053b153
|
Refine write-up on functions overloading.
|
2020-05-30 22:25:01 +08:00 |
|
Stephen Chung
|
acd0f6b56b
|
!= defaults to true for different parameter types.
|
2020-05-30 13:49:40 +08:00 |
|
Stephen Chung
|
4c46c7e26b
|
Register property versions of some methods.
|
2020-05-30 10:30:21 +08:00 |
|
Stephen Chung
|
666a618e40
|
Add register getter/setter/indexer to modules.
|
2020-05-30 10:28:17 +08:00 |
|
Stephen Chung
|
2bcc51cc45
|
Fix bug in index expressions.
|
2020-05-30 10:27:48 +08:00 |
|
Stephen Chung
|
e1242df5c8
|
Extract copy/restore of first argument in method call.
|
2020-05-29 18:15:58 +08:00 |
|
Stephen Chung
|
9616452c00
|
Fix bug in calling script function in method style.
|
2020-05-29 00:53:30 +08:00 |
|
Stephen Chung
|
acd4685145
|
Convert function calls to method calls to use &mut first argument.
|
2020-05-28 23:57:09 +08:00 |
|
Stephen Chung
|
d7c69c4f51
|
More tests.
|
2020-05-28 14:08:21 +08:00 |
|
Stephen Chung
|
e84d4a88e9
|
Do not check function call depth if no_function.
|
2020-05-28 14:08:07 +08:00 |
|
Stephen Chung
|
30782212e4
|
Add set_fn_4/mut for modules.
|
2020-05-28 14:07:34 +08:00 |
|
Stephen Chung
|
0b259d0062
|
Move += for ImmutableString to Engine.
|
2020-05-28 10:33:28 +08:00 |
|
Stephen Chung
|
854634afa0
|
Allow native overriding implementation of assignment operators.
|
2020-05-27 13:22:10 +08:00 |
|
Stephen Chung
|
24a93ef824
|
Add missing imports.
|
2020-05-26 23:05:44 +08:00 |
|