Stephen Chung
|
4cf6550fc6
|
Fix tests.
|
2021-06-02 15:05:33 +08:00 |
|
Stephen Chung
|
71684f5e2a
|
Implement bit-fields.
|
2021-06-02 14:29:18 +08:00 |
|
Stephen Chung
|
76bd48d0a6
|
Code style refinements.
|
2021-05-29 18:33:29 +08:00 |
|
Stephen Chung
|
dfea3ed22a
|
Code style refactor.
|
2021-05-25 10:54:48 +08:00 |
|
Stephen Chung
|
cc3e2d79a5
|
Replace unwrap with expect.
|
2021-05-22 19:14:24 +08:00 |
|
Stephen Chung
|
1545b602a7
|
Streamline hashing function.
|
2021-05-19 20:26:11 +08:00 |
|
Stephen Chung
|
2ade56fd94
|
Fix no_index build.
|
2021-05-18 21:38:09 +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
|
d230f448c0
|
Add no_smartstring to disable using SmartString.
|
2021-05-08 22:59:33 +08:00 |
|
Stephen Chung
|
c749bbb653
|
Reduce BTree sizes by boxing values.
|
2021-05-03 13:45:41 +08:00 |
|
Stephen Chung
|
aad842fe50
|
Remove Engine::enable_doc_comments.
|
2021-05-03 13:07:51 +08:00 |
|
Stephen Chung
|
bb5dc7b637
|
Add tag to Dynamic.
|
2021-05-02 23:57:35 +08:00 |
|
Stephen Chung
|
b091113334
|
Eliminate unnecessary data structures.
|
2021-04-27 22:28:01 +08:00 |
|
Stephen Chung
|
a5d4a0abb9
|
Disable on_progress with unchecked.
|
2021-04-25 15:27:58 +08:00 |
|
Stephen Chung
|
c82a47ac26
|
Unchecked index access.
|
2021-04-24 14:47:20 +08:00 |
|
Stephen Chung
|
61b559a58f
|
Refine op-assignment.
|
2021-04-24 11:55:40 +08:00 |
|
Stephen Chung
|
fc782c5563
|
Refine posistion display.
|
2021-04-23 14:24:53 +08:00 |
|
Stephen Chung
|
a54fbb32ff
|
Add no_position feature.
|
2021-04-22 23:02:25 +08:00 |
|
Stephen Chung
|
fe37edd123
|
Add Stmt::FnCall.
|
2021-04-21 18:16:24 +08:00 |
|
Stephen Chung
|
cc546fcaab
|
Add version to repl.
|
2021-04-21 17:39:45 +08:00 |
|
Stephen Chung
|
815f7ba09e
|
Remove Expr::FnPointer.
|
2021-04-20 23:40:52 +08:00 |
|
Stephen Chung
|
ce384d8bb0
|
Change FnPtr to SmartString.
|
2021-04-20 23:28:04 +08:00 |
|
Stephen Chung
|
8f1bff2ded
|
Change hash to hashes.
|
2021-04-20 22:26:08 +08:00 |
|
Stephen Chung
|
bd145bd080
|
Do not unnecessarily reindex module.
|
2021-04-17 22:19:48 +08:00 |
|
Stephen Chung
|
eefdc09352
|
Allow shadowing of global.
|
2021-04-17 18:40:16 +08:00 |
|
Stephen Chung
|
9a8da93145
|
Delay creation of global module until actually needed.
|
2021-04-17 18:10:57 +08:00 |
|
Stephen Chung
|
1be7e60be2
|
Automatic global module.
|
2021-04-17 17:25:35 +08:00 |
|
Stephen Chung
|
01f0cc028b
|
Use no-std-compat to build no-std.
|
2021-04-17 15:15:54 +08:00 |
|
Stephen Chung
|
199df9aa4a
|
Use deref for Target.
|
2021-04-17 13:36:51 +08:00 |
|
Stephen Chung
|
6c92011ea1
|
Hide is_shared and is_locked under feature gates.
|
2021-04-17 12:03:29 +08:00 |
|
Stephen Chung
|
1f987ec61a
|
Streamine StmtBlock.
|
2021-04-16 13:15:11 +08:00 |
|
Stephen Chung
|
980a13ca42
|
Add switch case conditions.
|
2021-04-16 12:04:33 +08:00 |
|
Stephen Chung
|
40fda5139d
|
Support negative index counting from end.
|
2021-04-10 15:00:03 +08:00 |
|
Stephen Chung
|
4aaf957d73
|
Gate doc-comment tokenizing.
|
2021-04-09 23:13:33 +08:00 |
|
Stephen Chung
|
f17a826f99
|
Refine debug print-out.
|
2021-04-06 23:18:41 +08:00 |
|
Stephen Chung
|
d3cfb3c605
|
Optimize position in variable access.
|
2021-04-05 23:59:15 +08:00 |
|
Stephen Chung
|
94fc5af285
|
Store short index in variable access.
|
2021-04-05 23:06:48 +08:00 |
|
Stephen Chung
|
a3ee0f4245
|
Fix no_index build.
|
2021-04-05 18:32:20 +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
|
a738f750f9
|
Implement string functions with to_string/to_debug.
|
2021-04-02 19:26:55 +08:00 |
|
Stephen Chung
|
889edbef71
|
Allow cross-loading of relative file paths in FileModuleResolver.
|
2021-04-02 12:34:39 +08:00 |
|
Stephen Chung
|
98afb2e7d6
|
Fix feature builds.
|
2021-03-31 10:16:38 +08:00 |
|
Stephen Chung
|
a049f7b5ba
|
Optimize data structures.
|
2021-03-30 23:55:29 +08:00 |
|
Stephen Chung
|
e306a92ea0
|
Change Map keys to Identifier.
|
2021-03-29 17:14:22 +08:00 |
|
Stephen Chung
|
e5249cc1ae
|
Extract Identifier type.
|
2021-03-29 11:36:02 +08:00 |
|
Stephen Chung
|
7bdc2e3d20
|
Extract constant arguments from function calls.
|
2021-03-28 19:04:25 +08:00 |
|
Stephen Chung
|
c4fe1782df
|
Streamline string handling.
|
2021-03-24 13:17:52 +08:00 |
|
Stephen Chung
|
3d0d5d1708
|
Streamline code.
|
2021-03-24 10:02:50 +08:00 |
|
Stephen Chung
|
0d7f2c16cc
|
Reduce indirections.
|
2021-03-23 20:04:54 +08:00 |
|
Stephen Chung
|
f9429c06f9
|
Use template for object map literal.
|
2021-03-23 18:25:40 +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
|
6667a22c0c
|
Code style and docs.
|
2021-03-17 13:30:47 +08:00 |
|
Stephen Chung
|
5172ade179
|
Code style edits.
|
2021-03-16 18:16:40 +08:00 |
|
Stephen Chung
|
d9df6aabc8
|
Change precedence to own type.
|
2021-03-14 10:47:29 +08:00 |
|
Stephen Chung
|
58d28fb468
|
Fix no-std build.
|
2021-03-13 19:08:49 +08:00 |
|
Stephen Chung
|
558ffeaf3e
|
Add FnResolutionCacheEntry.
|
2021-03-13 18:46:08 +08:00 |
|
Stephen Chung
|
61b0c7b2b3
|
Optimize imports layout.
|
2021-03-12 22:30:08 +08:00 |
|
Stephen Chung
|
728ed81173
|
Optimize layout.
|
2021-03-10 22:12:48 +08:00 |
|
Stephen Chung
|
352408fd36
|
Flatten statement blocks.
|
2021-03-10 12:27:10 +08:00 |
|
Stephen Chung
|
2ff2789326
|
Fix Stmt size.
|
2021-03-09 23:48:40 +08:00 |
|
Stephen Chung
|
b11b8d6d39
|
Reduce redirections in Stmt.
|
2021-03-09 23:30:48 +08:00 |
|
Stephen Chung
|
9daa894e25
|
Pack method call args more tightly.
|
2021-03-09 18:11:43 +08:00 |
|
Stephen Chung
|
975bb3d6bf
|
Map in operator to contains function call.
|
2021-03-09 13:44:54 +08:00 |
|
Stephen Chung
|
7805540b7b
|
Improve in statement.
|
2021-03-09 11:55:49 +08:00 |
|
Stephen Chung
|
795a3afa81
|
Use reference for method call parameters, add position info.
|
2021-03-09 00:07:05 +08:00 |
|
Stephen Chung
|
62928f8613
|
Revise function hashing.
|
2021-03-08 15:30:32 +08:00 |
|
Stephen Chung
|
330d3f87af
|
Use namespace for ScriptFnDef.
|
2021-03-07 22:10:54 +08:00 |
|
Stephen Chung
|
e87f981674
|
Fix sync build.
|
2021-03-06 22:07:20 +08:00 |
|
Stephen Chung
|
a126d05c3f
|
Skip evaluate condition for loop statement.
|
2021-03-06 16:05:22 +08:00 |
|
Stephen Chung
|
65ef32af19
|
Calculate whether contains global functions during indexing.
|
2021-03-05 20:07:35 +08:00 |
|
Stephen Chung
|
4c5ea8decc
|
Fix switch of non-hashable value.
|
2021-03-05 10:33:48 +08:00 |
|
Stephen Chung
|
0589572d19
|
Refine inlining.
|
2021-03-04 18:13:47 +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
|
ed568a9395
|
Make RhaiResult internal.
|
2021-03-03 22:49:29 +08:00 |
|
Stephen Chung
|
2c8b15c740
|
Private global functions are still exposed.
|
2021-03-03 11:40:27 +08:00 |
|
Stephen Chung
|
e3e53bd399
|
Introduce RhaiResult.
|
2021-03-02 15:02:28 +08:00 |
|
Stephen Chung
|
67d277aa21
|
Disallow overriding keywords.
|
2021-03-01 22:44:56 +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
|
1300ad8677
|
No need to copy sub-modules.
|
2021-03-01 14:54:20 +08:00 |
|
Stephen Chung
|
8eee21ff38
|
Use object map as catch error value.
|
2021-02-28 14:38:34 +08:00 |
|
Stephen Chung
|
f03983a9ca
|
Expose Engine::map_type_name.
|
2021-02-25 11:04:01 +08:00 |
|
Stephen Chung
|
9495d3f733
|
Separate op-assignment with other function calls.
|
2021-02-25 10:59:22 +08:00 |
|
Stephen Chung
|
baaa0461bf
|
Limit Dynamic parameters to 16.
|
2021-02-24 22:40:18 +08:00 |
|
Stephen Chung
|
37540fda12
|
Fix bug with op-assignment.
|
2021-02-24 16:17:04 +08:00 |
|
Stephen Chung
|
4ac05aee8b
|
Disallow implicit comparisons between different numeric types.
|
2021-02-24 15:45:29 +08:00 |
|
Stephen Chung
|
71680e3c77
|
Extract op assignment into function.
|
2021-02-24 11:04:54 +08:00 |
|
Stephen Chung
|
6f876e85cc
|
Always call native for op-assignment operators.
|
2021-02-23 20:32:50 +08:00 |
|
Stephen Chung
|
123e9d6901
|
Short-circuits op-assignment for indexing and dotting.
|
2021-02-23 20:03:28 +08:00 |
|
Stephen Chung
|
ba2b0630f7
|
Add support for Dynamic wildcard arguments.
|
2021-02-23 16:06:36 +08:00 |
|
Stephen Chung
|
ac3d8e35d4
|
Add splitn, rsplit and rsplitn equivalents to strings.
|
2021-02-23 11:56:04 +08:00 |
|
Stephen Chung
|
72334f0c42
|
Lower release stack overflow protection limit.
|
2021-02-20 14:05:47 +08:00 |
|
Stephen Chung
|
724ad05916
|
Add wasm64 as potential target.
|
2021-02-19 15:50:48 +08:00 |
|
Stephen Chung
|
cc90b5ffab
|
Remove unnecessary lifetimes.
|
2021-02-17 19:28:07 +08:00 |
|
Stephen Chung
|
2dd5aceb1d
|
Fix panic of continue/break/return in try-catch block.
|
2021-02-09 14:22:21 +08:00 |
|