Commit Graph

92 Commits

Author SHA1 Message Date
Stephen Chung
d134b72473 Add link from parse_json to serde. 2020-08-23 14:50:53 +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
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
111f5931b3 Add multiple instantiation. 2020-08-18 23:06:48 +08:00
Stephen Chung
f9807a3c1e Remove content on avoiding &mut ImmutableString which is invalid. 2020-08-15 00:10:14 +08:00
Stephen Chung
a5b4d61dff Fix docs. 2020-08-11 13:46:09 +08:00
Stephen Chung
2d4b85f67d Add cusotm syntax. 2020-08-10 12:03:22 +08:00
Stephen Chung
c86a979601 Refine docs. 2020-08-07 18:40:31 +08:00
Stephen Chung
0b21d80641 Add patterns section. 2020-08-07 11:44:15 +08:00
Stephen Chung
b8b1efd241 Add note on &T parameters. 2020-08-06 21:11:24 +08:00
Stephen Chung
efe964f009 Fix writeup. 2020-08-06 21:10:41 +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
bb2c9f7c59 Bump version. 2020-08-05 23:11:54 +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
9f302d4ef5 Update docs and tests. 2020-08-04 18:39:24 +08:00
Stephen Chung
4878a69503 Add docs for closures. 2020-08-04 16:27:55 +08:00
Stephen Chung
4079164bfd Implement closures. 2020-08-03 12:10:20 +08:00
Stephen Chung
8d0623d07f Add is_shared function. 2020-07-31 18:43:34 +08:00
Stephen Chung
a35155b3e9 Add shared and take to keywords list. 2020-07-31 17:07:09 +08:00
Stephen Chung
7d4620d0d9 Unbounded -> unbound. 2020-07-30 23:29:11 +08:00
Stephen Chung
98b294c699 Implement capturing. 2020-07-30 18:18:28 +08:00
Stephen Chung
8299adf95c Add docs for auto-currying. 2020-07-29 22:43:57 +08:00
Stephen Chung
afbcd0fc0b Replace StaticVec with SmallVec. 2020-07-29 16:10:06 +08:00
Stephen Chung
e2daba55d7 Refine unicode-xid-ident feature writeup. 2020-07-29 13:57:17 +08:00
Stephen Chung
eeb86f5efb Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-29 11:43:48 +08:00
ekicyou
aff7550f7d document update 2020-07-29 08:38:38 +09:00
Stephen Chung
b70fd35f4a Revise docs. 2020-07-28 10:25:57 +08:00
Stephen Chung
f05cd1fdf3 Add shared and sync to reserved keywords. 2020-07-28 10:25:26 +08:00
Stephen Chung
a3a167424b Allow Rust functions in FnPtr::call_dynamic. 2020-07-27 12:52:32 +08:00
Stephen Chung
ec5082c328 Better handling of reserved keywords. 2020-07-26 22:25:30 +08:00
Stephen Chung
ce20248792 Add more reserved keywords. 2020-07-26 21:57:30 +08:00
Stephen Chung
878ba0b794 Remove register_raw_fn_XXX API's. 2020-07-26 18:17:55 +08:00
Stephen Chung
5e48478496 Improve writeup. 2020-07-26 10:07:40 +08:00
Stephen Chung
c530792d00 Add repoTree and repoHome macros. 2020-07-25 16:36:50 +08:00
Stephen Chung
6d551f1596 Add currying support. 2020-07-22 23:12:09 +08:00
Stephen Chung
e103c8e66c Refine string docs. 2020-07-22 21:32:56 +08:00
Stephen Chung
abf66850f6 Enable custom syntax without internals. 2020-07-22 17:05:13 +08:00
Stephen Chung
35374f5b3b Simplify custom syntax. 2020-07-22 13:08:51 +08:00
Stephen Chung
16e8ef454f Refine no-std sample. 2020-07-21 23:08:46 +08:00
Stephen Chung
61a1355c59 Add no-std example. 2020-07-21 22:32:24 +08:00
Stephen Chung
700060b6e7 Remove no_std example. 2020-07-19 23:32:16 +08:00
Stephen Chung
686d40d4ae Move anonymous function to own chapter. 2020-07-19 21:18:13 +08:00
Stephen Chung
cf36dc5a57 Support for anonymous functions. 2020-07-19 17:14:55 +08:00
Stephen Chung
2f33edb762 FIx no_std. 2020-07-19 09:10:22 +08:00
Stephen Chung
3ae7cf4018 Improve treatment of disabled symbols and custom symbols. 2020-07-17 14:50:23 +08:00
Stephen Chung
d119e13b79 Allow binding of this pointer in FnPtr calls. 2020-07-17 10:18:07 +08:00
Stephen Chung
197f5d370f Reformat docs. 2020-07-16 12:09:40 +08:00