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
|
86fc2f7bf1
|
Refine types display.
|
2022-01-17 21:51:04 +08:00 |
|
Stephen Chung
|
00b189d0c6
|
Replace Cow<str> in Scope with SmartString.
|
2022-01-15 11:26:43 +08:00 |
|
Stephen Chung
|
a8ec984b0f
|
Fix unsafe violation in for loop.
|
2022-01-15 10:18:16 +08:00 |
|
Stephen Chung
|
37dbc68bf5
|
Use target_family for wasm.
|
2022-01-12 08:12:28 +08:00 |
|
Stephen Chung
|
f399e8a905
|
Evaluate function call args more efficiently.
|
2022-01-08 18:40:19 +08:00 |
|
Stephen Chung
|
a267ac5e54
|
Split Engine into eval folder.
|
2022-01-07 11:43:47 +08:00 |
|
Stephen Chung
|
c75d51ae88
|
Reduce unnecessary data size checking.
|
2022-01-06 22:10:16 +08:00 |
|
Stephen Chung
|
bc6bf6c6ba
|
Change expect("exists") to unwrap().
|
2022-01-06 11:07:52 +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
|
1d1e473ac4
|
Minor refactor.
|
2022-01-03 23:16:47 +08:00 |
|
Stephen Chung
|
29f1328087
|
Simplify Dynamic::from for better inlining.
|
2022-01-02 20:47:03 +08:00 |
|
Stephen Chung
|
809feaf58d
|
Add doc comments.
|
2022-01-02 15:14:55 +08:00 |
|
Stephen Chung
|
d60ed5a502
|
Reduce size of Variant trait.
|
2022-01-01 19:54:46 +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
|
ce93f56813
|
Rename parameters.
|
2021-12-31 17:49:19 +08:00 |
|
Stephen Chung
|
be4ae6e763
|
Add rewind_scope to eval_stmt.
|
2021-12-30 08:57:23 +08:00 |
|
Stephen Chung
|
4bd482352e
|
Fix eval call.
|
2021-12-28 23:00:31 +08:00 |
|
Stephen Chung
|
cbaf095c7a
|
Merge restore_state and rewind_scope.
|
2021-12-28 17:50:49 +08:00 |
|
Stephen Chung
|
5b667a69b7
|
Reverse EvalStateData.
|
2021-12-28 12:19:20 +08:00 |
|
Stephen Chung
|
280010c427
|
Fix builds.
|
2021-12-28 12:00:01 +08:00 |
|
Stephen Chung
|
807240e249
|
Rename Imports to GlobalRuntimeState.
|
2021-12-28 11:42:52 +08:00 |
|
Stephen Chung
|
9deddc679c
|
Use Box<str>.
|
2021-12-27 23:15:25 +08:00 |
|
Stephen Chung
|
a78488d935
|
Rename Imports to GlobalRuntimeState.
|
2021-12-27 23:03:30 +08:00 |
|
Stephen Chung
|
757eacfdde
|
No need for types with Into::into.
|
2021-12-27 16:59:05 +08:00 |
|
Stephen Chung
|
f443e4d9f6
|
Fix formatting.
|
2021-12-27 13:30:44 +08:00 |
|
Stephen Chung
|
dfb3378b28
|
Expand function call arguments inline storage.
|
2021-12-27 12:27: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
|
5c31ec7f78
|
Fix array bug.
|
2021-12-22 22:22:20 +08:00 |
|
Stephen Chung
|
3751b6d018
|
Build in array/blob concat functions.
|
2021-12-22 19:59:48 +08:00 |
|
Stephen Chung
|
d7960dfe80
|
Short circuit no_function.
|
2021-12-21 13:03:39 +08:00 |
|
Stephen Chung
|
b4756b4575
|
Move CallableFunction to own file.
|
2021-12-20 22:13:00 +08:00 |
|
Stephen Chung
|
0ae4d14a62
|
Move BLOB concat and push to builtin.
|
2021-12-18 15:37:20 +08:00 |
|
Stephen Chung
|
9cf8360616
|
Move blob functions to builtin.
|
2021-12-18 14:58:02 +08:00 |
|
Stephen Chung
|
2b79a65454
|
Move range contains into builtin.
|
2021-12-18 14:50:37 +08:00 |
|
Stephen Chung
|
fc84600b22
|
Add NativeCallContext::call_fn
|
2021-12-18 12:29:04 +08:00 |
|
Stephen Chung
|
dc6896fbe2
|
Add OpAssignment::new_from_token.
|
2021-12-17 16:55:24 +08:00 |
|
Stephen Chung
|
42638db0fb
|
Move Engine default limits.
|
2021-12-17 16:15:30 +08:00 |
|
Stephen Chung
|
c7ec27acc7
|
Split AST into separate files.
|
2021-12-17 16:07:13 +08:00 |
|
Stephen Chung
|
59a9ff0b0f
|
Fix range precedences and add comparison operators.
|
2021-12-15 14:18:03 +08:00 |
|
Stephen Chung
|
ef14079c61
|
Add ranges.
|
2021-12-15 12:06:17 +08:00 |
|
Stephen Chung
|
780c36e675
|
Simplify if let.
|
2021-12-12 12:33:22 +08:00 |
|
Stephen Chung
|
2a7a648429
|
Reduce feature gates.
|
2021-12-06 20:52:47 +08:00 |
|
Stephen Chung
|
206b5051eb
|
Clarify non-zero hashes.
|
2021-12-06 10:34:13 +08:00 |
|
Stephen Chung
|
54f78c5cd9
|
Use zero for no hash.
|
2021-12-05 17:05:19 +08:00 |
|