Commit Graph

894 Commits

Author SHA1 Message Date
Stephen Chung
b913b521dc Improve currying. 2020-07-23 10:12:51 +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
187824e684 Improve inlining of Dynamic methods. 2020-07-22 13:05:24 +08:00
Stephen Chung
839738b97e Change no_std sample to bare-bones. 2020-07-22 11:43:58 +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
e6c3f8134d Avoid copying property name for map property access. 2020-07-21 20:59:12 +08:00
Stephen Chung
ec3074106e Display type name when printing Dynamic values that have no built-in format. 2020-07-21 20:58:53 +08:00
Stephen Chung
e8b6d0143d Small fixups. 2020-07-20 23:23:12 +08:00
Stephen Chung
a5fa8322e9 Avoid pulling in std for no-std. 2020-07-20 20:23:35 +08:00
Stephen Chung
700060b6e7 Remove no_std example. 2020-07-19 23:32:16 +08:00
Stephen Chung
c6caef7285 Set default features of serde to false. 2020-07-19 22:44:00 +08:00
Stephen Chung
3b9422ea3c Adddefault_features = false for no_std. 2020-07-19 21:36: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
Stephen Chung
16fbfbb606 Enable call in function-call style. 2020-07-16 12:09:31 +08:00
Stephen Chung
a97ffc536c Bump version. 2020-07-14 08:42:02 +08:00
Stephen Chung
adc96e24bd Fix all features. 2020-07-13 19:38:50 +08:00
Stephen Chung
930abb8b5c Update docs. 2020-07-13 13:41:01 +08:00
Stephen Chung
e8d78bdfde Add support for String in function parameters. 2020-07-13 13:40:51 +08:00
Stephen Chung
8449f8c55e Make API chainable. 2020-07-12 11:46:53 +08:00
Stephen Chung
2a8d63fd5f Refine custom syntax. 2020-07-11 15:09:17 +08:00
Stephen Chung
e49bfebac5 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-11 14:36:43 +08:00
Jonathan Turner
6c07408b8e
Merge pull request #183 from jonathandturner/fix_readme_badges
Fix README badges links
2020-07-10 22:12:20 -07:00
Jonathan Turner
48eb4f71cf
Fix README badges links 2020-07-11 17:11:44 +12:00
Stephen Chung
ebffbf0f98 Refine docs and add custom syntax. 2020-07-10 22:01:47 +08:00
Stephen Chung
7436fc1c05 Fix bug in tokenizing reserved symbols. 2020-07-10 11:41:56 +08:00
Stephen Chung
f36b4a69ae FIXED - method calls inside dot chain. 2020-07-09 22:21:07 +08:00
Stephen Chung
99164ebceb Add custom syntax. 2020-07-09 19:54:28 +08:00
Stephen Chung
e33760a7d4 Fix bug in StaticVec. 2020-07-09 13:27:21 +08:00
Stephen Chung
703cc414b8 Allow mutating a module-qualified function's first argument if it is a variable. 2020-07-08 13:06:00 +08:00
Stephen Chung
d92a514f48 Add reserved symbols. 2020-07-08 12:09:18 +08:00
Stephen Chung
150f02d8b7 Update docs regarding modules. 2020-07-08 09:48:25 +08:00
Stephen Chung
236ba40784 Add ModuleResolversCollection. 2020-07-07 23:44:23 +08:00
Stephen Chung
ff6d205c1d Make Modules::set_raw_fn public. 2020-07-07 22:59:23 +08:00
Stephen Chung
2b3f10f2c5 Define functions anywhere during parsing. 2020-07-06 22:57:50 +08:00
Stephen Chung
a2c0554f3c Make consistent style. 2020-07-06 21:52:07 +08:00
Stephen Chung
f5ff759fcc Merge branch 'master' of https://github.com/schungx/rhai 2020-07-06 21:31:03 +08:00
Stephen Chung
de934e6254
Merge pull request #16 from alvinhochun/serde
Handle deserialization of all integer and impl. serde for all enum types
2020-07-06 21:30:42 +08:00
Stephen Chung
d0711394f0 Expose FnPtr and move name checking into 2020-07-06 21:30:35 +08:00
Alvin Wong
4a3a32dc3a Fix serializing externally-tagged enum representations 2020-07-06 21:11:41 +08:00
Alvin Wong
4b6afc9c72 Add enum serialization tests 2020-07-06 18:32:22 +08:00
Alvin Wong
0644c67252 Impl. deserializing enum representations 2020-07-06 18:32:22 +08:00