Stephen Chung
|
177a0de23c
|
Fix closure test.
|
2020-08-22 23:01:25 +08:00 |
|
Stephen Chung
|
0ece75aba3
|
Allow module access in closures.
|
2020-08-22 22:44:24 +08:00 |
|
Stephen Chung
|
0b04d05afe
|
Do not parse closures when allow_anonymous_fn is false.
|
2020-08-22 11:08:27 +08:00 |
|
Stephen Chung
|
24610688d3
|
Fix no_std build.
|
2020-08-20 17:02:25 +08:00 |
|
Stephen Chung
|
ac6d519d28
|
Fix bug that consumes first argument in module-qualified call.
|
2020-08-20 16:26:10 +08:00 |
|
Stephen Chung
|
6a3e123306
|
Use split_first_mut instead of split_at_mut.
|
2020-08-18 23:19:26 +08:00 |
|
Stephen Chung
|
c5360db185
|
Handle #{ in Engine::parse_json, restrict to object hashes only.
|
2020-08-18 23:07:17 +08:00 |
|
Stephen Chung
|
489b1ca00e
|
Add Module::combine.
|
2020-08-15 00:08:00 +08:00 |
|
Stephen Chung
|
a5b4d61dff
|
Fix docs.
|
2020-08-11 13:46:09 +08:00 |
|
Stephen Chung
|
564d3bc339
|
Add more closure tests.
|
2020-08-09 22:12:50 +08:00 |
|
Ilya Lakhin
|
39ee74112c
|
no-closure feature issue fixed
|
2020-08-09 18:42:33 +07:00 |
|
Ilya Lakhin
|
20cff87e14
|
False-positive capturing prevention bug fix
|
2020-08-09 18:35:29 +07:00 |
|
Stephen Chung
|
da3cce58d3
|
Minor refactor.
|
2020-08-08 22:59:05 +08:00 |
|
Stephen Chung
|
e66873bb83
|
Merge pull request #27 from Eliah-Lakhin/capturing-bug
Function names capturing as external variables bug
|
2020-08-08 22:52:20 +08:00 |
|
Ilya Lakhin
|
45d021c7ef
|
Function names capturing as external variables bug
|
2020-08-08 17:55:58 +07:00 |
|
Stephen Chung
|
f68c5a699d
|
Fix sync feature.
|
2020-08-08 17:04:21 +08:00 |
|
Stephen Chung
|
5a1a141ce3
|
Improve shared value treatment.
|
2020-08-08 16:24:10 +08:00 |
|
Stephen Chung
|
7b258ac410
|
Add more inlining.
|
2020-08-08 11:46:30 +08:00 |
|
Stephen Chung
|
5e6d5e8e80
|
Expand getter/setter/indexer API.
|
2020-08-07 11:10:38 +08:00 |
|
Stephen Chung
|
b604ea3e93
|
Fix serde doc test.
|
2020-08-06 22:47:10 +08:00 |
|
Stephen Chung
|
130bcfe293
|
Fix serde.
|
2020-08-06 21:19:54 +08:00 |
|
Stephen Chung
|
2f395492de
|
Simply error code.
|
2020-08-06 10:17:32 +08:00 |
|
Stephen Chung
|
ffe52bf437
|
Allow omitting the alias in import statement.
|
2020-08-05 23:23:53 +08:00 |
|
Stephen Chung
|
ae11dbbefe
|
Fix feature flags.
|
2020-08-05 22:53:01 +08:00 |
|
Stephen Chung
|
5ea08d2b50
|
Bump version.
|
2020-08-05 17:55:36 +08:00 |
|
Stephen Chung
|
8a0d0e3e20
|
Unbox error return for Engine::register_custom_syntax.
|
2020-08-05 10:00:20 +08:00 |
|
Stephen Chung
|
9f302d4ef5
|
Update docs and tests.
|
2020-08-04 18:39:24 +08:00 |
|
Stephen Chung
|
b0ab6e95f5
|
Fix currying in map closure calls.
|
2020-08-04 18:38:33 +08:00 |
|
Stephen Chung
|
4878a69503
|
Add docs for closures.
|
2020-08-04 16:27:55 +08:00 |
|
Stephen Chung
|
3d6c83c6d8
|
Fix serde builds.
|
2020-08-04 09:47:48 +08:00 |
|
Stephen Chung
|
4a7bf893e6
|
Refine flatten clone for scope.
|
2020-08-03 23:13:09 +08:00 |
|
Stephen Chung
|
2aa08c0dd9
|
get_constant_value for FnPointer.
|
2020-08-03 23:12:42 +08:00 |
|
Stephen Chung
|
3b6d35368f
|
Handle shared for loop variable.
|
2020-08-03 23:11:38 +08:00 |
|
Stephen Chung
|
abe74e7f44
|
Handle Dynamic::from(FnPtr).
|
2020-08-03 23:11:24 +08:00 |
|
Stephen Chung
|
e1a70fe958
|
Add FnPtr to standard packages.
|
2020-08-03 23:11:08 +08:00 |
|
Stephen Chung
|
3fc35c4f87
|
Merge from master.
|
2020-08-03 13:28:29 +08:00 |
|
Stephen Chung
|
dddd8133df
|
Set unshared value in let/const statement.
|
2020-08-03 12:38:56 +08:00 |
|
Stephen Chung
|
4079164bfd
|
Implement closures.
|
2020-08-03 12:10:20 +08:00 |
|
Stephen Chung
|
096eb4493e
|
Engine::load_package API change.
|
2020-08-02 18:55:22 +08:00 |
|
Stephen Chung
|
747c0345f2
|
Do not convert a function call into a method call if the object is shared.
|
2020-08-02 13:51:07 +08:00 |
|
Stephen Chung
|
b86c87253b
|
Prevent data races.
|
2020-08-02 13:33:51 +08:00 |
|
Stephen Chung
|
1daf91df30
|
Avoid storing shared value inside shared value.
|
2020-08-01 22:28:17 +08:00 |
|
Stephen Chung
|
cc53b21731
|
Avoid hard-coding variable type for shared.
|
2020-08-01 22:28:13 +08:00 |
|
Stephen Chung
|
af2f8acb5d
|
Refine indexer set.
|
2020-08-01 12:21:15 +08:00 |
|
Stephen Chung
|
a2858e0fd3
|
Refine feature gates
|
2020-08-01 12:19:27 +08:00 |
|
Stephen Chung
|
5873bccd50
|
Fix no_index and no_object.
|
2020-07-31 23:37:30 +08:00 |
|
Stephen Chung
|
60891e694f
|
Streamline code and feature gates.
|
2020-07-31 22:30:23 +08:00 |
|
Stephen Chung
|
8d0623d07f
|
Add is_shared function.
|
2020-07-31 18:43:34 +08:00 |
|
Stephen Chung
|
0295e109ad
|
Fix features
|
2020-07-31 18:06:01 +08:00 |
|
Stephen Chung
|
d563b878aa
|
Fix no_std builds.
|
2020-07-31 17:26:49 +08:00 |
|