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 |
|
Stephen Chung
|
0516e8088c
|
Add fast-ops feature.
|
2022-09-02 23:45:25 +08:00 |
|
Stephen Chung
|
7dbc605d0b
|
Macro test for enums.
|
2022-08-30 13:56:25 +08:00 |
|
Stephen Chung
|
cfdca74beb
|
Fix test.
|
2022-08-30 12:31:47 +08:00 |
|
Stephen Chung
|
044484c756
|
Merge 1.9.1 fixes.
|
2022-08-29 22:42:46 +08:00 |
|
Stephen Chung
|
0870318e4e
|
Fix bug in strict variables mode.
|
2022-08-29 22:26:07 +08:00 |
|
Stephen Chung
|
80772df4f4
|
Shut up clippy.
|
2022-08-29 14:27:05 +08:00 |
|
Stephen Chung
|
d80184ba14
|
Allow if-expressions and switch-expressions in Engine::eval_expression.
|
2022-08-26 23:10:58 +08:00 |
|
Stephen Chung
|
204284f4f7
|
Add test to recreate NativeCallContext.
|
2022-08-26 16:20:23 +08:00 |
|
Stephen Chung
|
a9413dc570
|
Remove _result registration methods.
|
2022-08-22 22:16:26 +08:00 |
|
Stephen Chung
|
80a23ddaa2
|
Allow registration of getters/setters/indexers with NativeCallContext.
|
2022-08-21 22:59:49 +08:00 |
|
Stephen Chung
|
2f02b30b6e
|
Use String::new() for empty strings.
|
2022-08-21 17:35:44 +08:00 |
|
Stephen Chung
|
1adc094383
|
Fix tests.
|
2022-08-20 22:19:29 +08:00 |
|
Stephen Chung
|
de3b7cbbee
|
Add custom syntax test.
|
2022-08-20 22:10:15 +08:00 |
|
Stephen Chung
|
f9d74fe313
|
Fix tests.
|
2022-08-18 21:36:00 +08:00 |
|
Stephen Chung
|
a9b6e8b98c
|
Fix builds.
|
2022-08-18 21:16:42 +08:00 |
|
Stephen Chung
|
83589be58e
|
New packages API.
|
2022-08-18 17:22:56 +08:00 |
|
Stephen Chung
|
1c7b80ed13
|
Use turbofish for impl Trait.
|
2022-08-12 22:48:15 +08:00 |
|
Stephen Chung
|
be448dfe4d
|
Use identifiers in format!
|
2022-08-11 19:01:23 +08:00 |
|
Tristan Guichaoua
|
24bf3c29ef
|
Merge remote-tracking branch 'other/master' into type_builder_iterable
|
2022-08-10 17:31:17 +02:00 |
|
Tristan Guichaoua
|
0046c3a330
|
impl TypeBuilder::is_iterable
|
2022-08-10 14:00:43 +02:00 |
|
Stephen Chung
|
8408c190dc
|
Add with_iterator to TypeBuilder.
|
2022-08-09 18:18:41 +08:00 |
|
Stephen Chung
|
d9a58907d9
|
Fix up tests and some coding style changes.
|
2022-08-09 17:07:45 +08:00 |
|
Stephen Chung
|
68c11060d9
|
Merge branch 'main' of https://github.com/rhaiscript/rhai
|
2022-08-09 16:31:25 +08:00 |
|
Stephen Chung
|
d9ffac17fa
|
Fix tests.
|
2022-08-05 23:45:40 +08:00 |
|
Stephen Chung
|
d8532b48b6
|
Add function pointer short-hand.
|
2022-08-05 23:30:44 +08:00 |
|
Stephen Chung
|
1073a7bd54
|
Fix bug in constant interpolated string.
|
2022-07-29 10:49:03 +08:00 |
|
Stephen Chung
|
fc976172e7
|
Fix bug with capturing undefined variable.
|
2022-07-29 09:43:40 +08:00 |
|
Stephen Chung
|
ea38185cac
|
Add ParseError:err_type and ParseError::position.
|
2022-07-29 09:42:30 +08:00 |
|
Stephen Chung
|
5d799fd325
|
Add module documentation.
|
2022-07-25 13:40:23 +08:00 |
|
Stephen Chung
|
7dca916c45
|
Allow duplicated switch cases.
|
2022-07-18 13:40:41 +08:00 |
|
Stephen Chung
|
4b760d1d0f
|
Unroll switch ranges if possible.
|
2022-07-18 08:54:10 +08:00 |
|