Stephen Chung
|
76bd48d0a6
|
Code style refinements.
|
2021-05-29 18:33:29 +08:00 |
|
Stephen Chung
|
cc3e2d79a5
|
Replace unwrap with expect.
|
2021-05-22 19:14:24 +08:00 |
|
Stephen Chung
|
dc9b4d7f4d
|
Indexer as fallback to property.
|
2021-05-18 20:12:30 +08:00 |
|
Stephen Chung
|
3116a39331
|
Minor code refactor.
|
2021-05-18 12:24:11 +08:00 |
|
Stephen Chung
|
941e09d29d
|
Guard against setters mutating constants, and allow pure setters.
|
2021-05-15 11:41:42 +08:00 |
|
Stephen Chung
|
202285f9ab
|
Disallow pure setters.
|
2021-05-13 10:34:24 +08:00 |
|
Stephen Chung
|
9585de4ae4
|
Add Dynamic from shared.
|
2021-05-11 21:38:07 +08:00 |
|
Stephen Chung
|
97c8194d17
|
No need to specify number of variables added/removed for custom syntax.
|
2021-05-11 10:58:28 +08:00 |
|
Stephen Chung
|
fd19d625b0
|
Refine doc comments.
|
2021-05-10 11:07:19 +08:00 |
|
Stephen Chung
|
d230f448c0
|
Add no_smartstring to disable using SmartString.
|
2021-05-08 22:59:33 +08:00 |
|
Stephen Chung
|
aad842fe50
|
Remove Engine::enable_doc_comments.
|
2021-05-03 13:07:51 +08:00 |
|
Stephen Chung
|
13d5092c4d
|
Allow setters returning values when return_raw.
|
2021-05-02 23:51:37 +08:00 |
|
Stephen Chung
|
9fabca5937
|
Bump version.
|
2021-05-02 20:36:59 +08:00 |
|
Stephen Chung
|
a5d4a0abb9
|
Disable on_progress with unchecked.
|
2021-04-25 15:27:58 +08:00 |
|
Stephen Chung
|
b5a2937336
|
Do not treat Expr::Index with pure index as pure.
|
2021-04-24 13:42:30 +08:00 |
|
Stephen Chung
|
a54fbb32ff
|
Add no_position feature.
|
2021-04-22 23:02:25 +08:00 |
|
Stephen Chung
|
c5e716e71f
|
Fix zero position bugs in array methods.
|
2021-04-19 15:11:03 +08:00 |
|
Stephen Chung
|
1be7e60be2
|
Automatic global module.
|
2021-04-17 17:25:35 +08:00 |
|
Stephen Chung
|
807a14eaa2
|
call_fn always evalutes AST.
|
2021-04-17 13:36:23 +08:00 |
|
Stephen Chung
|
6c92011ea1
|
Hide is_shared and is_locked under feature gates.
|
2021-04-17 12:03:29 +08:00 |
|
Stephen Chung
|
6eaee57578
|
Bump version.
|
2021-04-16 22:07:18 +08:00 |
|
Stephen Chung
|
e31506fe51
|
Bump version.
|
2021-04-16 21:59:11 +08:00 |
|
Stephen Chung
|
208e5fdbf4
|
New switch errors.
|
2021-04-16 13:28:36 +08:00 |
|
Stephen Chung
|
980a13ca42
|
Add switch case conditions.
|
2021-04-16 12:04:33 +08:00 |
|
Stephen Chung
|
8da4c0c2b2
|
Default switch case must be last.
|
2021-04-16 09:41:02 +08:00 |
|
Stephen Chung
|
40fda5139d
|
Support negative index counting from end.
|
2021-04-10 15:00:03 +08:00 |
|
Stephen Chung
|
29d186b361
|
Put doc-comments under metadata flag.
|
2021-04-09 22:49:47 +08:00 |
|
Stephen Chung
|
0807c474a1
|
Revise using string interpolation.
|
2021-04-04 23:22:45 +08:00 |
|
Stephen Chung
|
20aaf1826a
|
Fix builds.
|
2021-04-04 15:06:13 +08:00 |
|
Stephen Chung
|
e6c878edf3
|
Implement string interpolation.
|
2021-04-04 13:13:07 +08:00 |
|
Stephen Chung
|
b089d5b8f4
|
Fix bug in property setter op-assignment.
|
2021-04-03 11:12:35 +08:00 |
|
Stephen Chung
|
889edbef71
|
Allow cross-loading of relative file paths in FileModuleResolver.
|
2021-04-02 12:34:39 +08:00 |
|
Stephen Chung
|
294d233c02
|
Bump version.
|
2021-03-31 17:01:08 +08:00 |
|
Stephen Chung
|
98afb2e7d6
|
Fix feature builds.
|
2021-03-31 10:16:38 +08:00 |
|
Stephen Chung
|
b14d18934a
|
Add Dynamic::clone_cast.
|
2021-03-30 18:57:16 +08:00 |
|
Stephen Chung
|
d756b7bac6
|
Rename FnWrongDefinition to WrongFnDefinition.
|
2021-03-30 11:39:00 +08:00 |
|
Stephen Chung
|
d2ded7733a
|
Add support for line continuation and multi-line string literals.
|
2021-03-30 00:21:09 +08:00 |
|
Stephen Chung
|
41b48d591f
|
Change to no_smartstring feature.
|
2021-03-29 17:13:54 +08:00 |
|
Stephen Chung
|
e5249cc1ae
|
Extract Identifier type.
|
2021-03-29 11:36:02 +08:00 |
|
Stephen Chung
|
7825cb1c56
|
Support shebangs in scripts.
|
2021-03-28 16:36:56 +08:00 |
|
Stephen Chung
|
8ea218f907
|
Metadata pulls in serde.
|
2021-03-25 19:49:30 +08:00 |
|
Stephen Chung
|
adbb5f8eb8
|
Use static array for codegen parameters info.
|
2021-03-25 14:02:50 +08:00 |
|
Stephen Chung
|
ac7f35cacb
|
Move all functions metadata into metadata feature.
|
2021-03-24 19:27:38 +08:00 |
|
Stephen Chung
|
6d1700728a
|
Intern module registration strings.
|
2021-03-24 09:56:25 +08:00 |
|
Stephen Chung
|
0d7f2c16cc
|
Reduce indirections.
|
2021-03-23 20:04:54 +08:00 |
|
Stephen Chung
|
f70225ca1d
|
Change HashMap to BTreeMap.
|
2021-03-23 12:13:53 +08:00 |
|
Stephen Chung
|
a82f0fc738
|
Allow non-Dynamic in return_raw.
|
2021-03-22 11:18:09 +08:00 |
|
Stephen Chung
|
699131be58
|
New reserved keywords.
|
2021-03-17 10:31:50 +08:00 |
|
Stephen Chung
|
4581943435
|
Remove public_only parameters.
|
2021-03-17 09:58:08 +08:00 |
|
Stephen Chung
|
a1549bb377
|
Allow register_result to return any type.
|
2021-03-15 22:37:50 +08:00 |
|
Stephen Chung
|
e9f280f917
|
Deprecate Module::set_fn_XXX API.
|
2021-03-15 12:39:06 +08:00 |
|
Stephen Chung
|
d0922adb5b
|
Deprecate RegisterFn and RegisterResultFn.
|
2021-03-15 11:36:30 +08:00 |
|
Stephen Chung
|
2f8a3c24c0
|
Bump version.
|
2021-03-14 22:56:06 +08:00 |
|
Stephen Chung
|
7b8a4c46e7
|
Add ability to terminate AST walk.
|
2021-03-11 21:55:55 +08:00 |
|
Stephen Chung
|
9b37d84a9b
|
Enable/disable caching in FileModuleResolver.
|
2021-03-10 23:01:04 +08:00 |
|
Stephen Chung
|
352408fd36
|
Flatten statement blocks.
|
2021-03-10 12:27:10 +08:00 |
|
Stephen Chung
|
8853ebf059
|
Remove EvalAltResult::ErrorInExpr.
|
2021-03-09 19:13:26 +08:00 |
|
Stephen Chung
|
9daa894e25
|
Pack method call args more tightly.
|
2021-03-09 18:11:43 +08:00 |
|
Stephen Chung
|
a7ff9fb24f
|
Add bytes method for strings.
|
2021-03-07 22:33:02 +08:00 |
|
Stephen Chung
|
e14bef4b10
|
Trap &mut String parameters.
|
2021-03-06 14:41:35 +08:00 |
|
Stephen Chung
|
fe633ea7d3
|
Fix bug when passing shared string variable to &str parameter.
|
2021-03-06 10:44:55 +08:00 |
|
Stephen Chung
|
a251219730
|
Remove public Dynamic::as_str.
|
2021-03-05 23:00:27 +08:00 |
|
Stephen Chung
|
2052942d9d
|
Add Dynamic::as_unit.
|
2021-03-05 13:34:58 +08:00 |
|
Stephen Chung
|
4c5ea8decc
|
Fix switch of non-hashable value.
|
2021-03-05 10:33:48 +08:00 |
|
Stephen Chung
|
01664ef7ee
|
Fix range overflow panics.
|
2021-03-04 23:47:52 +08:00 |
|
Stephen Chung
|
2707b887c6
|
Fix shared value assignments.
|
2021-03-04 10:24:14 +08:00 |
|
Stephen Chung
|
ade290da7e
|
Simplify lifetimes.
|
2021-03-03 22:49:57 +08:00 |
|
Stephen Chung
|
e3e53bd399
|
Introduce RhaiResult.
|
2021-03-02 15:02:28 +08:00 |
|
Stephen Chung
|
521c8fad27
|
Streamline ref object backup.
|
2021-03-02 14:44:21 +08:00 |
|
Stephen Chung
|
b76e8da5ee
|
Cache built-in functions to improve resolution speed.
|
2021-03-02 13:48:41 +08:00 |
|
Stephen Chung
|
67d277aa21
|
Disallow overriding keywords.
|
2021-03-01 22:44:56 +08:00 |
|
Stephen Chung
|
fc10df7d63
|
Keyword can no longer be overloaded.
|
2021-03-01 17:17:13 +08:00 |
|
Stephen Chung
|
b466d58192
|
Remove unnecessary AsRef and impl IntoIterator.
|
2021-03-01 15:58:11 +08:00 |
|
Stephen Chung
|
061fce1f02
|
No more pub_only.
|
2021-03-01 15:39:49 +08:00 |
|
Stephen Chung
|
8eee21ff38
|
Use object map as catch error value.
|
2021-02-28 14:38:34 +08:00 |
|
Stephen Chung
|
66b557692b
|
Allow negative range step.
|
2021-02-27 15:27:40 +08:00 |
|
Stephen Chung
|
c8addb45ac
|
Set position for errors in native function call.
|
2021-02-27 15:06:57 +08:00 |
|
Stephen Chung
|
bca4344d72
|
Bump version.
|
2021-02-27 12:52:20 +08:00 |
|
Stephen Chung
|
33fa57d95b
|
Refine codegen error positions.
|
2021-02-26 20:00:25 +08:00 |
|
Stephen Chung
|
d935401b03
|
Allow evaluating AST in Engine::call_fn_dynamic.
|
2021-02-26 11:21:23 +08:00 |
|
Stephen Chung
|
4638983afd
|
Rename RELEASES to CHANGELOG.
|
2021-02-25 17:52:56 +08:00 |
|