Stephen Chung
|
63592ed648
|
Remove Clone from FileModuleResolver.
|
2022-04-23 12:49:03 +08:00 |
|
Stephen Chung
|
71bc605fe6
|
Add scope to FileModuleResolver.
|
2022-04-22 13:39:51 +08:00 |
|
Stephen Chung
|
40c4906336
|
Make Module::eval_ast_as_new_raw public.
|
2022-04-19 08:28:59 +08:00 |
|
Stephen Chung
|
3f74e5e674
|
Use &Path as source path.
|
2022-04-18 17:34:53 +08:00 |
|
Stephen Chung
|
7788e1058a
|
Merge use.
|
2022-04-13 10:35:10 +08:00 |
|
Stephen Chung
|
89ed531363
|
Fix doc tests.
|
2022-04-06 17:25:04 +08:00 |
|
Stephen Chung
|
6f4240ed5a
|
Add examples to Module custom type API.
|
2022-03-30 10:33:43 +08:00 |
|
Stephen Chung
|
1b6de25007
|
Remove Engine::custom_types.
|
2022-03-29 08:18:20 +08:00 |
|
Stephen Chung
|
fefa633cf0
|
Add type alias support for plugin modules.
|
2022-03-19 09:43:18 +08:00 |
|
Stephen Chung
|
b35d965e55
|
Reverse Box<[...]> to Vec.
|
2022-03-06 16:37:27 +08:00 |
|
Stephen Chung
|
8bda8c64df
|
Refine data structures
|
2022-03-05 17:57:23 +08:00 |
|
Stephen Chung
|
0e9a16e437
|
Add checks for is_empty.
|
2022-03-03 13:02:57 +08:00 |
|
Stephen Chung
|
8205547d8a
|
Use bitflags.
|
2022-02-25 11:42:59 +08:00 |
|
Stephen Chung
|
f47b911681
|
Remove warning.
|
2022-02-25 10:03:34 +08:00 |
|
Stephen Chung
|
07a61a9562
|
Fix build.
|
2022-02-25 09:00:15 +08:00 |
|
Stephen Chung
|
5931f43d4d
|
Implement Ord and PartialOrd.
|
2022-02-25 08:37:57 +08:00 |
|
Stephen Chung
|
39ef766bf1
|
Raise error when exporting local anonymous function.
|
2022-02-24 11:24:31 +08:00 |
|
Stephen Chung
|
fa8e2e638b
|
Fix bug.
|
2022-02-23 15:43:27 +08:00 |
|
Stephen Chung
|
d23d1159ab
|
Fix positions.
|
2022-02-10 17:55:32 +08:00 |
|
Stephen Chung
|
8c5de09446
|
Fix doc links.
|
2022-02-09 22:40:13 +08:00 |
|
Stephen Chung
|
f8cee0fe4e
|
Simplify using ..
|
2022-02-08 09:02:15 +08:00 |
|
Stephen Chung
|
7b92a80c32
|
Fix encapsulated environment in module functions.
|
2022-01-30 17:27:13 +08:00 |
|
Stephen Chung
|
8fc80ecd10
|
Fix formatting.
|
2022-01-30 11:21:45 +08:00 |
|
Stephen Chung
|
6b02dde848
|
Gate dead code for no_module.
|
2022-01-29 11:09:43 +08:00 |
|
Stephen Chung
|
cd4335a16f
|
Fix builds.
|
2022-01-28 22:11:22 +08:00 |
|
Stephen Chung
|
c397a6dcb5
|
Fix sync build.
|
2022-01-28 22:07:49 +08:00 |
|
Stephen Chung
|
c93e94c7cd
|
Fix builds.
|
2022-01-28 21:35:16 +08:00 |
|
Stephen Chung
|
66af69aaff
|
Refactor and add state to debugger.
|
2022-01-28 18:59:18 +08:00 |
|
Stephen Chung
|
e476929597
|
Remove Box on callback traits.
|
2022-01-27 23:55:32 +08:00 |
|
Stephen Chung
|
fc87dec128
|
Add debugging interface.
|
2022-01-27 16:58:11 +08:00 |
|
Stephen Chung
|
fb0b071fe0
|
Add lifetimes to GlobalRuntimeState and EvalState for future needs.
|
2022-01-22 17:48:07 +08:00 |
|
Stephen Chung
|
f92894e337
|
Rename GlobalRuntimeStatemodules -> imports.
|
2022-01-20 08:17:34 +08:00 |
|
Stephen Chung
|
d58df1fb34
|
Engine::gen_fn_signatures enumerates non-standard external packages.
|
2022-01-17 23:15:22 +08:00 |
|
Stephen Chung
|
86fc2f7bf1
|
Refine types display.
|
2022-01-17 21:51:04 +08:00 |
|
Stephen Chung
|
573bfe46dd
|
Fix formatting.
|
2022-01-17 07:50:29 +08:00 |
|
Stephen Chung
|
ae77582028
|
Minor refactor.
|
2022-01-14 21:49:38 +08:00 |
|
Stephen Chung
|
25f54c0ea5
|
Pretty-display return types.
|
2022-01-13 22:51:10 +08:00 |
|
Stephen Chung
|
510c201d2f
|
Fix build.
|
2022-01-13 21:01:56 +08:00 |
|
Stephen Chung
|
09aa9fc3db
|
Extract metadata into separate type.
|
2022-01-13 19:07:56 +08:00 |
|
Stephen Chung
|
37dbc68bf5
|
Use target_family for wasm.
|
2022-01-12 08:12:28 +08:00 |
|
Stephen Chung
|
047e65223d
|
Fix builds.
|
2022-01-07 12:19:01 +08:00 |
|
Stephen Chung
|
a267ac5e54
|
Split Engine into eval folder.
|
2022-01-07 11:43:47 +08:00 |
|
Stephen Chung
|
bc6bf6c6ba
|
Change expect("exists") to unwrap().
|
2022-01-06 11:07:52 +08:00 |
|
Stephen Chung
|
2b613fdff3
|
Remove unneeded strings interner for modules.
|
2022-01-05 13:40:49 +08:00 |
|
Stephen Chung
|
328f6910b6
|
Refactor wasm feature gates.
|
2022-01-04 22:16:20 +08:00 |
|
Stephen Chung
|
d99953c101
|
Fixup AsRef<str> vs &str.
|
2022-01-04 15:22:48 +08:00 |
|
Stephen Chung
|
a6ddb64596
|
Fix builds.
|
2022-01-01 17:38:32 +08:00 |
|
Stephen Chung
|
135b1f54c2
|
Remove Option from source and use empty string as no source.
|
2022-01-01 17:20:00 +08:00 |
|
Stephen Chung
|
64bf2eef5c
|
Better error messages.
|
2021-12-30 12:19:41 +08:00 |
|
Stephen Chung
|
807240e249
|
Rename Imports to GlobalRuntimeState.
|
2021-12-28 11:42:52 +08:00 |
|
Stephen Chung
|
a78488d935
|
Rename Imports to GlobalRuntimeState.
|
2021-12-27 23:03:30 +08:00 |
|
Stephen Chung
|
4d226542fa
|
Split out strings interner.
|
2021-12-27 21:56:50 +08:00 |
|
Stephen Chung
|
f443e4d9f6
|
Fix formatting.
|
2021-12-27 13:30:44 +08:00 |
|
Stephen Chung
|
05d4c81e7a
|
Use type alias for error.
|
2021-12-27 12:27:31 +08:00 |
|
Stephen Chung
|
e7ca3f41dd
|
Fix formatting.
|
2021-12-27 11:43:11 +08:00 |
|
Stephen Chung
|
01c35808cb
|
Use type alias
|
2021-12-25 23:49:14 +08:00 |
|
Stephen Chung
|
7ff50451cc
|
Make comments multiline.
|
2021-12-21 22:16:03 +08:00 |
|
Stephen Chung
|
f9f3615878
|
Fix builds.
|
2021-12-21 16:36:53 +08:00 |
|
Stephen Chung
|
b85a9b3c1c
|
Extract doc-comment on plugin functions.
|
2021-12-21 16:14:07 +08:00 |
|
Stephen Chung
|
f74486f904
|
Separate return type name and use references for serialization.
|
2021-12-21 13:21:29 +08:00 |
|
Stephen Chung
|
c7ec27acc7
|
Split AST into separate files.
|
2021-12-17 16:07:13 +08:00 |
|
Stephen Chung
|
d9d44a9683
|
Add Engine::register_type_with_name_raw.
|
2021-12-09 12:49:12 +08:00 |
|
Stephen Chung
|
2a7a648429
|
Reduce feature gates.
|
2021-12-06 20:52:47 +08:00 |
|
Stephen Chung
|
cc98e82ea1
|
Include hashes in JSON output.
|
2021-12-06 11:12:54 +08:00 |
|
Stephen Chung
|
206b5051eb
|
Clarify non-zero hashes.
|
2021-12-06 10:34:13 +08:00 |
|
Stephen Chung
|
4b4b7a753b
|
Add low-level warnings.
|
2021-11-29 13:12:47 +08:00 |
|
Stephen Chung
|
c5f2b0a253
|
Fix builds.
|
2021-11-29 10:17:04 +08:00 |
|
Stephen Chung
|
95dc2ad502
|
Remove fields and parameters under no_function.
|
2021-11-29 09:43:35 +08:00 |
|
Stephen Chung
|
9fa4d60336
|
Minor code and docs refactor.
|
2021-11-28 22:57:28 +08:00 |
|
Stephen Chung
|
dca47d5233
|
Remove volatile warnings for types and functions exposed unter internals.
|
2021-11-28 22:03:02 +08:00 |
|
Stephen Chung
|
d88e17d177
|
Move more &str to AsRef<str>
|
2021-11-28 12:41:20 +08:00 |
|
Stephen Chung
|
4fc088a0f1
|
Fix feature builds.
|
2021-11-27 23:20:05 +08:00 |
|
Stephen Chung
|
e918e61e95
|
Use AsRef<str> for more flexible API.
|
2021-11-27 23:04:45 +08:00 |
|
Stephen Chung
|
d56585c877
|
Remove no_smartstring feature.
|
2021-11-27 14:24:36 +08:00 |
|
Stephen Chung
|
abe6b4a29b
|
Use more const functions.
|
2021-11-27 14:24:06 +08:00 |
|
Stephen Chung
|
280b5b405e
|
Make some new functions const.
|
2021-11-25 17:09:00 +08:00 |
|
Stephen Chung
|
c2c30f7711
|
Use fold.
|
2021-11-16 13:15:43 +08:00 |
|
Stephen Chung
|
2fffe31b59
|
Level up exports.
|
2021-11-16 12:26:37 +08:00 |
|
Stephen Chung
|
64b889fb95
|
Restructure code base.
|
2021-11-13 22:36:23 +08:00 |
|
Stephen Chung
|
38884ede46
|
Reducce panic messages.
|
2021-11-13 12:23:35 +08:00 |
|
Stephen Chung
|
0fbc437916
|
Use Box<str> internally.
|
2021-11-11 13:55:52 +08:00 |
|
Stephen Chung
|
cc6a0571e7
|
Fix builds.
|
2021-11-08 11:35:46 +08:00 |
|
Stephen Chung
|
68c0ee08c0
|
Reduce usage of Default::default() to make it easier to refactor.
|
2021-11-07 18:12:37 +08:00 |
|
Stephen Chung
|
61cc3d0bf2
|
Merge branch 'v1.1-fixes'
|
2021-11-05 23:26:00 +08:00 |
|
Stephen Chung
|
eeca8c90aa
|
Make sure the global namespace is always searched first.
|
2021-11-05 23:22:05 +08:00 |
|
Stephen Chung
|
dc2e824ce2
|
Fix no_module builds.
|
2021-10-29 17:01:29 +08:00 |
|
Stephen Chung
|
a5ae002cb7
|
Refine namespace display.
|
2021-10-27 23:30:25 +08:00 |
|
Stephen Chung
|
9c16d90de9
|
Use #[inline(always)] only when relatively certain.
|
2021-10-21 17:26:43 +08:00 |
|
Stephen Chung
|
3001e90775
|
Deprecate From<EvalAltResult> for Result<T, Box<EvalAltResult>> because it is clearer for code to explicitly wrap errors in Err.
|
2021-10-19 23:52:58 +08:00 |
|
Stephen Chung
|
5d3a22ab6f
|
Fix NamespaceRef::new()
|
2021-09-11 19:40:31 +08:00 |
|
Stephen Chung
|
aec4417bd5
|
Refine expect messages.
|
2021-08-26 23:58:41 +08:00 |
|
Stephen Chung
|
3610b5eb7e
|
Change some inline(always) into inline.
|
2021-08-14 15:10:37 +08:00 |
|
Stephen Chung
|
29133cf973
|
Satisfy clippy.
|
2021-07-26 22:22:27 +08:00 |
|
Stephen Chung
|
c7498503ba
|
Use lower case for feature marker.
|
2021-07-25 22:56:05 +08:00 |
|
Stephen Chung
|
df482d3574
|
Satisfy clippy.
|
2021-07-24 14:11:16 +08:00 |
|
Stephen Chung
|
e0673a2f1a
|
Change some #[inline(always)] to [#inline].
|
2021-07-10 11:06:13 +08:00 |
|
Stephen Chung
|
4d25fd0192
|
Remove unnecessary AsRef<str>.
|
2021-07-10 10:11:14 +08:00 |
|
Stephen Chung
|
694ac5b5bd
|
General code fixups.
|
2021-07-04 16:40:15 +08:00 |
|
Stephen Chung
|
a0f51a1a39
|
Split calc_qualified_var_hash.
|
2021-06-30 16:28:37 +08:00 |
|
Stephen Chung
|
bd35999b75
|
Remove unnecessary Box::new().
|
2021-06-29 21:58:05 +08:00 |
|