Stephen Chung
|
a5a3bbd399
|
Merge pull request #19 from Eliah-Lakhin/closures
Autocurry feature
|
2020-07-29 21:24:43 +08:00 |
|
Ilya Lakhin
|
8fc16b40e6
|
Code style issues fixed
|
2020-07-29 20:17:18 +07:00 |
|
Ilya Lakhin
|
a856a8bbcb
|
max_expr_depth bug fix
|
2020-07-29 19:04:33 +07:00 |
|
Ilya Lakhin
|
48356abc83
|
Autocurry fixes and test
|
2020-07-29 18:52:54 +07:00 |
|
Ilya Lakhin
|
8e51988b66
|
A prototype of a new feature to automatically curry of external scope variables
|
2020-07-29 16:56:32 +07:00 |
|
Stephen Chung
|
afbcd0fc0b
|
Replace StaticVec with SmallVec.
|
2020-07-29 16:10:06 +08:00 |
|
Stephen Chung
|
e2daba55d7
|
Refine unicode-xid-ident feature writeup.
|
2020-07-29 13:57:17 +08:00 |
|
Stephen Chung
|
eeb86f5efb
|
Merge branch 'master' of https://github.com/jonathandturner/rhai
|
2020-07-29 11:43:48 +08:00 |
|
ekicyou
|
288e0a4d14
|
add unicode_xid, test
|
2020-07-29 08:25:37 +09:00 |
|
ekicyou
|
9b0375b870
|
add unicode-xid
|
2020-07-29 07:03:21 +09:00 |
|
ekicyou
|
79022b1858
|
refactoring
|
2020-07-29 06:54:23 +09:00 |
|
ekicyou
|
c6d5bd000d
|
move is_valid_identifier
|
2020-07-29 06:24:41 +09:00 |
|
ekicyou
|
56a8120d75
|
add get_identifier
|
2020-07-29 05:26:57 +09:00 |
|
Stephen Chung
|
411539f3be
|
Minimize usage of downcast_ref.
|
2020-07-28 19:11:46 +08:00 |
|
Stephen Chung
|
37ea24afe9
|
Improve docs.
|
2020-07-28 19:11:37 +08:00 |
|
Stephen Chung
|
b63ff56e09
|
Make sure we keep the starting position of each statement (for future uses).
|
2020-07-28 10:26:20 +08:00 |
|
Stephen Chung
|
b70fd35f4a
|
Revise docs.
|
2020-07-28 10:25:57 +08:00 |
|
Stephen Chung
|
f05cd1fdf3
|
Add shared and sync to reserved keywords.
|
2020-07-28 10:25:26 +08:00 |
|
Stephen Chung
|
057f6435a4
|
Add public_only parameter to module function methods.
|
2020-07-27 18:10:45 +08:00 |
|
Stephen Chung
|
a3a167424b
|
Allow Rust functions in FnPtr::call_dynamic.
|
2020-07-27 12:52:32 +08:00 |
|
Stephen Chung
|
2dd4d9bcf9
|
Avoid warnings with only_i32.
|
2020-07-26 22:37:33 +08:00 |
|
Stephen Chung
|
ec5082c328
|
Better handling of reserved keywords.
|
2020-07-26 22:25:30 +08:00 |
|
Stephen Chung
|
ce20248792
|
Add more reserved keywords.
|
2020-07-26 21:57:30 +08:00 |
|
Stephen Chung
|
878ba0b794
|
Remove register_raw_fn_XXX API's.
|
2020-07-26 18:17:55 +08:00 |
|
Stephen Chung
|
6b600704a3
|
Avoid warnings.
|
2020-07-26 15:53:22 +08:00 |
|
Stephen Chung
|
353df6bea1
|
Avoid warnings in standard build.
|
2020-07-26 10:03:59 +08:00 |
|
Stephen Chung
|
9d900a6722
|
Remove _Private.
|
2020-07-25 16:09:13 +08:00 |
|
Stephen Chung
|
94c2f64473
|
Merge branch 'master' of https://github.com/jonathandturner/rhai
|
2020-07-25 16:05:11 +08:00 |
|
Stephen Chung
|
c825de6f77
|
Mark internal data structures with [INTERNALS].
|
2020-07-25 16:05:08 +08:00 |
|
Stephen Chung
|
22169582bb
|
Merge pull request #196 from udoprog/tokenize-numeric-literal
Avoid scanning over slices to validate numerical literals
|
2020-07-25 16:03:17 +08:00 |
|
Stephen Chung
|
6a96be3382
|
Merge branch 'master' of https://github.com/jonathandturner/rhai
|
2020-07-25 15:58:37 +08:00 |
|
John-John Tedro
|
1aab77df1c
|
Avoid scanning over slices to validate numerical literals
|
2020-07-25 09:52:54 +02:00 |
|
Stephen Chung
|
284e58e8a1
|
Improve documentation on internal types.
|
2020-07-25 15:52:27 +08:00 |
|
Stephen Chung
|
252b6cb8f3
|
Merge pull request #197 from udoprog/seal-variant
Seal Variant trait to prevent downstream implementations
|
2020-07-25 15:50:51 +08:00 |
|
Stephen Chung
|
8109e26538
|
Merge pull request #198 from udoprog/unbreak-no-std
Unbreak no std
|
2020-07-25 15:39:25 +08:00 |
|
John-John Tedro
|
261273bac3
|
Unbreak no_std
|
2020-07-25 09:21:30 +02:00 |
|
John-John Tedro
|
e7aaec8e3a
|
Seal Variant trait to prevent downstream implementations
|
2020-07-25 09:20:19 +02:00 |
|
John-John Tedro
|
d920613d57
|
Avoid shadowing call errors in get_indexed_mut
|
2020-07-25 08:13:11 +02:00 |
|
Stephen Chung
|
a58207aaa9
|
Change ScriptFnDef to use ImmutableString.
|
2020-07-25 14:06:13 +08:00 |
|
Stephen Chung
|
463d669ab5
|
Avoid shadowing indexer errors.
|
2020-07-25 09:55:33 +08:00 |
|
Stephen Chung
|
af41850da0
|
Merge branch 'master' of https://github.com/jonathandturner/rhai
|
2020-07-25 09:39:31 +08:00 |
|
John-John Tedro
|
ea22591e36
|
Support u128/i128 types during serialization
|
2020-07-24 19:08:59 +02:00 |
|
Stephen Chung
|
2b0aacde23
|
Fix Module::set_indexer_set_fn.
|
2020-07-24 23:16:54 +08:00 |
|
John-John Tedro
|
96aa5ed39e
|
set_indexer_set_fn to support setting generic value
|
2020-07-24 16:20:47 +02:00 |
|
Stephen Chung
|
bff266d4e1
|
Move function calling to separate source file.
|
2020-07-23 18:40:42 +08:00 |
|
Stephen Chung
|
1a48a2d8ba
|
Refine currying docs.
|
2020-07-23 15:49:09 +08:00 |
|
Stephen Chung
|
dc7f847a8e
|
Merge branch 'master' of https://github.com/schungx/rhai
|
2020-07-23 10:13:10 +08:00 |
|
Stephen Chung
|
b913b521dc
|
Improve currying.
|
2020-07-23 10:12:51 +08:00 |
|
Ilya Lakhin
|
82685b7df2
|
FnPtr::call_dynamic shortcut function that enriches call arguments with curry-ed data automatically
|
2020-07-23 04:53:40 +07:00 |
|
Stephen Chung
|
6d551f1596
|
Add currying support.
|
2020-07-22 23:12:09 +08:00 |
|