Commit Graph

740 Commits

Author SHA1 Message Date
Mathieu Lala
9af5b1c78e
fix: default clippy lints 2022-12-30 18:07:39 +01:00
Stephen Chung
7c00b74916 Allow string interpolation to work with no packages. 2022-12-27 10:09:40 +08:00
Stephen Chung
07f522e6d7 Fix array bug. 2022-12-26 22:05:29 +08:00
Stephen Chung
52d23522e6 Add for_each for arrays. 2022-12-25 12:44:49 +08:00
Stephen Chung
fd401f3048 Add array API with closure variation that binds to this. 2022-12-24 19:37:06 +08:00
Stephen Chung
6e40215631 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-12-20 22:19:11 +08:00
Fabrizio Sestito
06b40723e4
Add array find and find_map methods 2022-12-20 13:28:24 +01:00
Stephen Chung
b880893154 Allow negative shift bits. 2022-12-18 14:51:38 +08:00
Stephen Chung
a391f26920 Refine expression nesting level. 2022-12-08 17:18:40 +08:00
Stephen Chung
90998f4f14 Allow closures in parse expressions. 2022-12-06 21:41:38 +08:00
Stephen Chung
e2bd0705b1 Refine auto_restore syntax. 2022-12-04 22:47:10 +08:00
Stephen Chung
6e99e391e1 Fix test. 2022-12-03 10:50:58 +08:00
Stephen Chung
feb764a203 Fix test. 2022-12-02 17:37:35 +08:00
Stephen Chung
b4278fa251 Fix test. 2022-12-02 17:09:48 +08:00
Stephen Chung
fc4c8731f0 Add !in. 2022-11-30 14:11:09 +08:00
Stephen Chung
fbe30b8d0e Change debugger init signature. 2022-11-25 13:20:03 +08:00
Stephen Chung
bda8c2b636 Reduce data sizes. 2022-11-24 20:35:56 +08:00
Stephen Chung
02ef119603 Fix builds. 2022-11-23 17:23:54 +08:00
Stephen Chung
9f5b68549a Deserialize large numbers. 2022-11-23 16:13:57 +08:00
Stephen Chung
4e27039521 Use bitflags. 2022-11-23 11:36:30 +08:00
Stephen Chung
05c7d00a8e Deserialize to serde_json::Value 2022-11-22 16:25:25 +08:00
Stephen Chung
94aeab1015 Remove serde_bytes. 2022-11-22 15:52:31 +08:00
Stephen Chung
b2e4efd872 Fine tune serde. 2022-11-22 15:38:16 +08:00
Stephen Chung
d151c87687 Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
Stephen Chung
ce046422f0 Add Dynamic::is_XXX API. 2022-11-09 12:44:57 +08:00
Stephen Chung
b4529b6a64 Add storage API for NativeCallContext. 2022-11-07 16:19:10 +08:00
Stephen Chung
4100e6da64 Use ImmutableString for source. 2022-10-29 14:12:18 +08:00
Stephen Chung
d0998a44b9 Fix test again. 2022-10-29 14:12:09 +08:00
Stephen Chung
905b0b8332 Fix test. 2022-10-29 12:58:38 +08:00
Stephen Chung
de81941c2c Fix test. 2022-10-29 12:57:58 +08:00
Stephen Chung
68bd84417a Fix tests. 2022-10-29 12:56:35 +08:00
Stephen Chung
c14fbdb14d Add loop expressions. 2022-10-29 12:09:18 +08:00
Stephen Chung
25fde7dbed Fix tests. 2022-10-27 22:08:47 +08:00
Stephen Chung
f8888c83e7 Fix test. 2022-10-20 13:01:36 +08:00
Stephen Chung
3073f815ec Add unsafe handle test. 2022-10-19 12:51:52 +08:00
Stephen Chung
d49dca8a29 Fix test. 2022-10-18 16:54:26 +08:00
Stephen Chung
3e46263347 Fix tests. 2022-10-16 12:07:47 +08:00
Stephen Chung
e8fd965eba Add parse_json. 2022-09-29 22:46:59 +08:00
Stephen Chung
6c777e68d3 Refine inlining. 2022-09-28 12:06:22 +08:00
Stephen Chung
8d1310c0f3 Make Scope serializable. 2022-09-26 18:14:45 +08:00
Stephen Chung
b56a9c22f3 Refactor. 2022-09-25 12:24:03 +08:00
Stephen Chung
def1a683ef Distinguish string literals from identifiers in custom syntax parser. 2022-09-24 16:59:01 +08:00
Stephen Chung
640471f865 Revert "Enable capacity on packages."
This reverts commit 85ca6ec4a1.
2022-09-14 15:17:36 +08:00
Stephen Chung
85ca6ec4a1 Enable capacity on packages. 2022-09-13 21:47:11 +08:00
Stephen Chung
c1ae9e0405 Add state to custom syntax. 2022-09-12 12:03:32 +08:00
Stephen Chung
ec45224120 Fix sync feature. 2022-09-10 13:46:14 +08:00
Stephen Chung
3e4da98703 Add closure test. 2022-09-10 13:37:33 +08:00
Stephen Chung
702bb9030a Make fast operators the default. 2022-09-03 22:07:36 +08:00
Stephen Chung
06dea067b7 Change fast_ops to options. 2022-09-03 15:15:42 +08:00
Stephen Chung
d7dfa1a218 Fix tests. 2022-09-03 11:29:29 +08:00