Stephen Chung
|
e963a7251c
|
Check if empty string came from global instance.
|
2021-09-27 11:09:19 +08:00 |
|
Stephen Chung
|
fe47058add
|
Merge branch 'bug-fixes'
|
2021-09-27 10:34:46 +08:00 |
|
Stephen Chung
|
6df2178460
|
Assume property getters are pure.
|
2021-09-27 10:34:24 +08:00 |
|
Stephen Chung
|
70828209fe
|
Fix builds.
|
2021-09-26 21:50:07 +08:00 |
|
Stephen Chung
|
42d3fde0af
|
Fix no_closure build.
|
2021-09-26 21:30:33 +08:00 |
|
Stephen Chung
|
a130960627
|
Fix empty strings.
|
2021-09-26 21:25:29 +08:00 |
|
Stephen Chung
|
3557db88e8
|
Merge empty strings.
|
2021-09-26 21:18:52 +08:00 |
|
Stephen Chung
|
65a1c24d7b
|
Add signatures to callback function docs.
|
2021-09-25 15:57:38 +08:00 |
|
Stephen Chung
|
0715262c44
|
Enhance signature of on_parse_token callback.
|
2021-09-24 22:44:39 +08:00 |
|
Stephen Chung
|
d791052d5c
|
Add Engine::on_parse_token.
|
2021-09-24 18:00:48 +08:00 |
|
Stephen Chung
|
cd8af67842
|
Merge branch 'bug-fixes'
|
2021-09-24 09:27:45 +08:00 |
|
Stephen Chung
|
d9dca6ef98
|
Expore more internal data structures.
|
2021-09-24 09:26:35 +08:00 |
|
Stephen Chung
|
8f94a60020
|
Optimize interpolated strings.
|
2021-09-20 22:36:10 +08:00 |
|
Stephen Chung
|
adbe9a292e
|
Short circuit functions if empty: array, map, string.
|
2021-09-20 18:35:23 +08:00 |
|
Stephen Chung
|
6e7fbfa66f
|
Add pop to string.
|
2021-09-20 16:25:23 +08:00 |
|
Stephen Chung
|
71e8cf727d
|
Use LazyCompact for SmartString.
|
2021-09-20 11:34:01 +08:00 |
|
Stephen Chung
|
2d46bf37c8
|
Fix build.
|
2021-09-19 22:44:27 +08:00 |
|
Stephen Chung
|
e191f9d91e
|
Merge branch 'bug-fixes'
|
2021-09-19 22:34:47 +08:00 |
|
Stephen Chung
|
5d47ebf57a
|
Add test for constants to Scope::get_mut.
|
2021-09-18 10:14:54 +08:00 |
|
Stephen Chung
|
5163fb0a33
|
Upgrade to rust-decimal 1.16 and add sin/cos/tan.
|
2021-09-15 10:41:35 +08:00 |
|
Stephen Chung
|
08155c0978
|
Fix sign function for NaN.
|
2021-09-14 22:33:10 +08:00 |
|
Stephen Chung
|
bdbfa8ef5f
|
Catch mutually exclusive features.
|
2021-09-12 21:06:13 +08:00 |
|
Stephen Chung
|
50ad42bd7f
|
Fix metadata build.
|
2021-09-12 14:46:31 +08:00 |
|
Stephen Chung
|
c84f80d433
|
Use StaticVec for parsing.
|
2021-09-12 14:34:00 +08:00 |
|
Stephen Chung
|
b961a10d27
|
Refine code.
|
2021-09-12 14:33:48 +08:00 |
|
Stephen Chung
|
96dbbc76e4
|
Use StaticVec for function resolution caches for the common case where no modules are used.
|
2021-09-12 13:33:55 +08:00 |
|
Stephen Chung
|
6e25354076
|
Fix bit flag options and docs.
|
2021-09-12 13:21:53 +08:00 |
|
Stephen Chung
|
6510b617fe
|
Reduce usage of Default::default()
|
2021-09-11 19:40:40 +08:00 |
|
Stephen Chung
|
5d3a22ab6f
|
Fix NamespaceRef::new()
|
2021-09-11 19:40:31 +08:00 |
|
Stephen Chung
|
84be799403
|
Change StaticVec to 3 inline elements.
|
2021-09-10 20:25:22 +08:00 |
|
Stephen Chung
|
43de522568
|
Use option flags for certain AST nodes.
|
2021-09-10 20:23:59 +08:00 |
|
Stephen Chung
|
7956f9d59c
|
Reduce duplicated generics code.
|
2021-09-07 23:05:31 +08:00 |
|
Stephen Chung
|
09da9ddcbc
|
Move unit tests into separate file.
|
2021-09-07 22:12:04 +08:00 |
|
Stephen Chung
|
5ac33ce64d
|
Do not export FloatWrapper under no_float .
|
2021-09-04 18:43:18 +08:00 |
|
Stephen Chung
|
e8b811af28
|
Add test for minimal build Dynamic size.
|
2021-09-04 11:59:07 +08:00 |
|
Stephen Chung
|
6a2c9f0293
|
Add ASTNode::position().
|
2021-09-03 20:47:45 +08:00 |
|
Stephen Chung
|
cbe08fb64e
|
Merge branch 'bug-fixes'
|
2021-09-03 10:19:58 +08:00 |
|
Stephen Chung
|
71711998f1
|
Fix bug in catch error variable.
|
2021-09-03 10:05:58 +08:00 |
|
Stephen Chung
|
65fbfe36e7
|
Merge branch 'bug-fixes'
|
2021-09-02 22:49:17 +08:00 |
|
Stephen Chung
|
457be797a2
|
Fixed bug in using error variable within catch block.
|
2021-09-02 22:17:45 +08:00 |
|
Stephen Chung
|
7b2b26aa0d
|
Separate is_valid_function_name.
|
2021-08-30 15:42:47 +08:00 |
|
Stephen Chung
|
b6d38a8fc9
|
Fix metadata build.
|
2021-08-30 10:25:24 +08:00 |
|
Stephen Chung
|
6faa6358f0
|
Simplify code by merging Engine::global_namespace with Engine::global_modules.
|
2021-08-30 10:09:28 +08:00 |
|
Stephen Chung
|
6f3de4c803
|
Fix doc test.
|
2021-08-27 12:10:58 +08:00 |
|
Stephen Chung
|
aec4417bd5
|
Refine expect messages.
|
2021-08-26 23:58:41 +08:00 |
|
Stephen Chung
|
2a760eb44b
|
Update doc-comments.
|
2021-08-24 12:04:53 +08:00 |
|
Stephen Chung
|
db3049e574
|
Engine::register_type_XXX available under no_object.
|
2021-08-23 23:10:54 +08:00 |
|
Stephen Chung
|
58352e00bd
|
Prevent spill-over of new variables in Engine::call_fn.
|
2021-08-17 23:24:41 +08:00 |
|
Stephen Chung
|
b6eac65601
|
Simplify code.
|
2021-08-17 18:14:16 +08:00 |
|
Stephen Chung
|
9c6cea3c9f
|
Add Scope::set_or_push.
|
2021-08-17 15:51:14 +08:00 |
|