Stephen Chung
|
22ee12531c
|
Code cleanup.
|
2022-10-30 18:43:18 +08:00 |
|
Stephen Chung
|
c9184db4d2
|
Refine native/script code splits.
|
2022-10-30 15:45:25 +08:00 |
|
Stephen Chung
|
4708fde8bd
|
Compact data structures.
|
2022-10-27 15:52:24 +08:00 |
|
Stephen Chung
|
c24794187f
|
Reduce unnecessary generics.
|
2022-10-20 15:31:57 +08:00 |
|
Stephen Chung
|
ac05f0a0a8
|
Check if function calls cannot be scripted.
|
2022-10-14 18:31:40 +08:00 |
|
Stephen Chung
|
ea63c66cf0
|
Add call_native_fn for context.
|
2022-10-14 16:57:14 +08:00 |
|
Stephen Chung
|
3d0626c76f
|
Streamline global state.
|
2022-10-14 12:23:04 +08:00 |
|
Stephen Chung
|
5d275b5307
|
Simplify to calc_fn_hash.
|
2022-09-21 11:46:23 +08:00 |
|
Stephen Chung
|
204284f4f7
|
Add test to recreate NativeCallContext.
|
2022-08-26 16:20:23 +08:00 |
|
Stephen Chung
|
799dd9d9d1
|
Add fallible type iterators.
|
2022-08-22 13:10:32 +08:00 |
|
Stephen Chung
|
9813f657bb
|
Use ImmutableString for AST.
|
2022-08-13 18:40:14 +08:00 |
|
Stephen Chung
|
2f948a784c
|
Clean up more clippy.
|
2022-07-27 18:04:59 +08:00 |
|
Stephen Chung
|
39dee556c4
|
Clean up clippy.
|
2022-07-27 16:04:24 +08:00 |
|
Stephen Chung
|
b6528bd51d
|
Reduce usage of as_ref and as_mut.
|
2022-07-05 16:26:38 +08:00 |
|
Stephen Chung
|
c69f98c2c4
|
Add custom state.
|
2022-05-02 00:03:45 +08:00 |
|
Stephen Chung
|
2889ca0988
|
Add Start/End to DebuggerEvent.
|
2022-04-26 16:36:24 +08:00 |
|
Stephen Chung
|
855cb76246
|
Rename EvalState to Caches.
|
2022-04-16 16:36:53 +08:00 |
|
Stephen Chung
|
dc8c4ed8f4
|
Improve string functions.
|
2022-03-17 17:00:48 +08:00 |
|
Stephen Chung
|
672cda63ab
|
Simplify formatting.
|
2022-03-14 08:50:17 +08:00 |
|
Stephen Chung
|
0e9a16e437
|
Add checks for is_empty.
|
2022-03-03 13:02:57 +08:00 |
|
Stephen Chung
|
fb9964e1a3
|
Revise on_def_var API.
|
2022-02-15 10:56:05 +08:00 |
|
Stephen Chung
|
5bb6ce835f
|
Run var def filter during parsing.
|
2022-02-13 18:46:25 +08:00 |
|
Stephen Chung
|
f8cee0fe4e
|
Simplify using ..
|
2022-02-08 09:02:15 +08:00 |
|
Stephen Chung
|
be9356727f
|
Add variable definition filter.
|
2022-02-04 22:59:41 +08:00 |
|
Stephen Chung
|
8322e62c18
|
Fix function exit trigger and add function enter trigger.
|
2022-02-02 22:42:33 +08:00 |
|
Stephen Chung
|
4a80483749
|
Support call stack and FunctionExit for native functions.
|
2022-02-02 14:47:35 +08:00 |
|
Stephen Chung
|
6b02dde848
|
Gate dead code for no_module.
|
2022-01-29 11:09:43 +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
|
a267ac5e54
|
Split Engine into eval folder.
|
2022-01-07 11:43:47 +08:00 |
|
Stephen Chung
|
d99953c101
|
Fixup AsRef<str> vs &str.
|
2022-01-04 15:22:48 +08:00 |
|
Stephen Chung
|
809feaf58d
|
Add doc comments.
|
2022-01-02 15:14:55 +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
|
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
|
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
|
b4756b4575
|
Move CallableFunction to own file.
|
2021-12-20 22:13:00 +08:00 |
|
Stephen Chung
|
fc84600b22
|
Add NativeCallContext::call_fn
|
2021-12-18 12:29:04 +08:00 |
|
Stephen Chung
|
c7ec27acc7
|
Split AST into separate files.
|
2021-12-17 16:07: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
|
c5317d7706
|
Deprecate NativeCallContext::new
|
2021-11-28 12:41:33 +08:00 |
|
Stephen Chung
|
e918e61e95
|
Use AsRef<str> for more flexible API.
|
2021-11-27 23:04:45 +08:00 |
|
Stephen Chung
|
e961ae23fd
|
Eliminate script hashes under no_function.
|
2021-11-16 13:42:46 +08:00 |
|