Stephen Chung
|
2c8b15c740
|
Private global functions are still exposed.
|
2021-03-03 11:40:27 +08:00 |
|
Stephen Chung
|
7262d63909
|
Move default comparisons into builtin.
|
2021-03-02 23:08:54 +08:00 |
|
Stephen Chung
|
e3e53bd399
|
Introduce RhaiResult.
|
2021-03-02 15:02:28 +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
|
d935401b03
|
Allow evaluating AST in Engine::call_fn_dynamic.
|
2021-02-26 11:21:23 +08:00 |
|
Stephen Chung
|
724ad05916
|
Add wasm64 as potential target.
|
2021-02-19 15:50:48 +08:00 |
|
Stephen Chung
|
4fdd58f220
|
Change AST filters to Fn from FnMut.
|
2021-02-13 10:56:09 +08:00 |
|
Stephen Chung
|
58528db45c
|
Encapsulate functions resolution cache into State API.
|
2021-02-07 17:56:29 +08:00 |
|
Stephen Chung
|
a76bed2f46
|
Use eval_statements_block when at global.
|
2021-02-07 17:06:33 +08:00 |
|
Stephen Chung
|
f76daadcba
|
Refine FuncArgs trait.
|
2021-01-28 15:29:55 +08:00 |
|
Stephen Chung
|
14fe4f9f1b
|
Change resolve_ast return type.
|
2021-01-09 23:26:50 +08:00 |
|
Stephen Chung
|
e5b345bca4
|
Fix feature builds.
|
2021-01-09 17:06:01 +08:00 |
|
Stephen Chung
|
ad250fc973
|
Recursive self-contained AST.
|
2021-01-09 16:52:22 +08:00 |
|
Stephen Chung
|
1513e6ab6a
|
Fix internals build.
|
2021-01-09 00:49:50 +08:00 |
|
Stephen Chung
|
bfe9ac2188
|
Fix feature builds.
|
2021-01-09 00:40:44 +08:00 |
|
Stephen Chung
|
0f1f6c4ad3
|
Add Engine::compile_to_self_contained.
|
2021-01-09 00:24:55 +08:00 |
|
Stephen Chung
|
cf9d35166d
|
Remove hashing of the entire script by making Expr and Stmt Hash.
|
2021-01-04 11:58:24 +08:00 |
|
Stephen Chung
|
ef48f47b74
|
Refine docs and comments etc.
|
2021-01-02 23:30:10 +08:00 |
|
Stephen Chung
|
13f5cec291
|
Fix call stack limits.
|
2020-12-29 12:29:45 +08:00 |
|
Stephen Chung
|
eca8212f38
|
More code refinements.
|
2020-12-29 10:41:20 +08:00 |
|
Stephen Chung
|
88f63fa24b
|
Refine docs.
|
2020-12-26 23:21:16 +08:00 |
|
Stephen Chung
|
dc4e52e795
|
Code enhancements.
|
2020-12-26 13:05:57 +08:00 |
|
Stephen Chung
|
08e7ad8c09
|
Add deprecated packages API.
|
2020-12-23 15:30:35 +08:00 |
|
Stephen Chung
|
f55a56c6bc
|
Engine::register_global_module and Engine::register_static_module must be passed shared Module.
|
2020-12-23 10:08:43 +08:00 |
|
Stephen Chung
|
15fb03218c
|
Rename packages to global modules.
|
2020-12-22 23:45:14 +08:00 |
|
Stephen Chung
|
0157f912e0
|
Remove PackageLibrary and PackagesCollection.
|
2020-12-22 22:36:30 +08:00 |
|
Stephen Chung
|
5ac83f0f46
|
Add context source to on_debug.
|
2020-12-21 22:04:46 +08:00 |
|
Stephen Chung
|
cec27846ea
|
Simplify code.
|
2020-12-20 23:25:11 +08:00 |
|
Stephen Chung
|
6f2fecb76b
|
Add type iterator docs.
|
2020-12-14 15:15:05 +08:00 |
|
Stephen Chung
|
40b6a014ae
|
Provide Position to debug.
|
2020-12-12 11:47:18 +08:00 |
|
Stephen Chung
|
5443368359
|
Pass Position into function calls.
|
2020-12-12 11:15:09 +08:00 |
|
Stephen Chung
|
4438c358d5
|
on_progress takes u64.
|
2020-12-12 10:10:27 +08:00 |
|
Stephen Chung
|
a0979d0c35
|
Code cleanup
|
2020-11-25 09:36:06 +08:00 |
|
Stephen Chung
|
2d73468723
|
Add doc on Engine::gen_fn_signatures.
|
2020-11-23 20:27:20 +08:00 |
|
Stephen Chung
|
6222f14fcb
|
Fix no-std build.
|
2020-11-22 17:49:00 +08:00 |
|
Stephen Chung
|
07fe132e1a
|
Add gen_fn_siguatures API.
|
2020-11-22 17:21:34 +08:00 |
|
Stephen Chung
|
783803ec46
|
Update comments with links.
|
2020-11-20 16:52:28 +08:00 |
|
Stephen Chung
|
5e4ede6f07
|
global_module -> global_namespace.
|
2020-11-19 13:56:03 +08:00 |
|
Stephen Chung
|
038e3c2554
|
Add FnNamespace for module functions.
|
2020-11-17 12:23:53 +08:00 |
|
Stephen Chung
|
999a87f86e
|
Fix no_optimize build.
|
2020-11-16 23:32:44 +08:00 |
|
Stephen Chung
|
272c8505b8
|
Refactor use.
|
2020-11-16 23:10:14 +08:00 |
|
Stephen Chung
|
d50d48f26f
|
Move definition of Array and Map to lib.rs.
|
2020-11-16 21:14:32 +08:00 |
|
Stephen Chung
|
adb902326e
|
Reduce feature gates on imports.
|
2020-11-16 16:28:04 +08:00 |
|
Stephen Chung
|
ef02150afd
|
Expose methods for Engine::register_module.
|
2020-11-16 14:07:48 +08:00 |
|
Stephen Chung
|
b6d35ab310
|
Fix no_module build.
|
2020-11-16 09:30:17 +08:00 |
|
Stephen Chung
|
937b45a187
|
Add Engine::load_module.
|
2020-11-15 23:14:16 +08:00 |
|
Stephen Chung
|
fce2c62f02
|
Reformat code files.
|
2020-11-14 22:43:56 +08:00 |
|
Stephen Chung
|
56fbe39b7b
|
Use references for switch expressions, if possible.
|
2020-11-14 16:08:48 +08:00 |
|