Stephen Chung
2e724b804e
Remove indirection.
2023-03-23 13:37:10 +08:00
Stephen Chung
e60d0fc0bc
Add typed methods definition.
2023-03-22 16:05:25 +08:00
Stephen Chung
95e7ec46ce
FIx builds.
2023-03-17 06:46:43 +08:00
Stephen Chung
091e16124c
Add isAnonymous to JSON metadata.
2023-03-17 06:28:00 +08:00
Stephen Chung
80ccd75514
Satisfy clippy.
2022-12-22 17:34:58 +08:00
Stephen Chung
9bf3a9d78f
Add Engine::compact_script.
2022-12-21 13:54:54 +08:00
Stephen Chung
babc0b5466
Remove Dynamic::NULL, use .as_deref_mut() for this_ptr.
2022-12-20 16:52:55 +08:00
Stephen Chung
eb5b15e954
Capture global module docs in JSON.
2022-12-01 23:35:26 +08:00
Stephen Chung
e8e1706d98
Use as_deref().
2022-11-25 23:03:20 +08:00
Stephen Chung
ef920e2b8d
Factor out metadata in FuncInfo.
2022-11-25 12:14:37 +08:00
Stephen Chung
2bf8e610a3
Reduce size of Engine.
2022-11-24 22:58:42 +08:00
Stephen Chung
a8f12cb212
Fix only_i32 build.
2022-11-23 18:46:40 +08:00
Stephen Chung
46514bbc85
Fix builds.
2022-11-23 18:02:10 +08:00
Stephen Chung
02ef119603
Fix builds.
2022-11-23 17:23:54 +08:00
Stephen Chung
3e7408511e
Satisfy more clippy.
2022-11-23 16:14:11 +08:00
Stephen Chung
9f5b68549a
Deserialize large numbers.
2022-11-23 16:13:57 +08:00
Stephen Chung
4e27039521
Use bitflags.
2022-11-23 11:36:30 +08:00
Stephen Chung
7c4e751d33
Fix builds.
2022-11-22 16:02:04 +08:00
Stephen Chung
b2e4efd872
Fine tune serde.
2022-11-22 15:38:16 +08:00
Stephen Chung
ce046422f0
Add Dynamic::is_XXX API.
2022-11-09 12:44:57 +08:00
Stephen Chung
8f128f37f0
Add Dynamic::NULL to simplify this pointer binding.
2022-11-08 16:16:42 +08:00
Stephen Chung
45f0fdcbe0
no_std = no_time.
2022-10-15 15:11:51 +08:00
Stephen Chung
a6a570131a
Add no_time.
2022-10-15 12:37:42 +08:00
Stephen Chung
d6b0f99781
Refactor.
2022-10-10 16:46:35 +08:00
Stephen Chung
8d1310c0f3
Make Scope serializable.
2022-09-26 18:14:45 +08:00
Stephen Chung
ce56c43bc0
Refactor serde impl.
2022-09-25 16:20:36 +08:00
Stephen Chung
5d275b5307
Simplify to calc_fn_hash.
2022-09-21 11:46:23 +08:00
Stephen Chung
1bfedf516d
Use a bloom filter.
2022-09-08 17:49:37 +08:00
Stephen Chung
2f7d6298e0
Move format_type into api.
2022-09-08 10:52:58 +08:00
Stephen Chung
80772df4f4
Shut up clippy.
2022-08-29 14:27:05 +08:00
Stephen Chung
b40ca9e40d
Improve docs.
2022-08-24 18:27:58 +08:00
Stephen Chung
a9b6e8b98c
Fix builds.
2022-08-18 21:16:42 +08:00
Stephen Chung
f7d910fa55
Use references for JSON metadata.
2022-08-14 14:20:37 +08:00
Stephen Chung
d9ffac17fa
Fix tests.
2022-08-05 23:45:40 +08:00
Stephen Chung
13a1147dea
Add include_standard_packages to Definitions.
2022-07-29 13:39:51 +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
492d79d8a2
Add documentation to Module.
2022-07-25 17:42:15 +08:00
Stephen Chung
b6528bd51d
Reduce usage of as_ref and as_mut.
2022-07-05 16:26:38 +08:00
Stephen Chung
b9cbeb65d6
Use Option instead of once/empty.
2022-06-11 16:01:15 +08:00
Geoffroy Couprie
f2b5566c0b
use smartstring's deserializer to support non borrowed strings
...
The map visitor for Dynamic was expecting a &str for the key, but the
serde_json deserializer internally uses a Cow string, which can be
Borrowed or Owned. In the case of Owned, the serde_json key deserializer
is calling visit_string on the Visitor, which for &str will result in
the error:
Error("invalid type: string \"a\", expected a borrowed string", line: 0,
column: 0)
smartstring actually has its own Visitor implementation that handles
both cases, so we can use it instead of an explicit conversion.
2022-05-23 16:40:49 +02:00
Stephen Chung
63359f3f81
Unused parameters naming.
2022-04-11 16:29:16 +08:00
Stephen Chung
b35d965e55
Reverse Box<[...]> to Vec.
2022-03-06 16:37:27 +08:00
Stephen Chung
f8cee0fe4e
Simplify using ..
2022-02-08 09:02:15 +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
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
25f54c0ea5
Pretty-display return types.
2022-01-13 22:51:10 +08:00
Stephen Chung
09aa9fc3db
Extract metadata into separate type.
2022-01-13 19:07:56 +08:00