Commit Graph

3996 Commits

Author SHA1 Message Date
Stephen Chung
0ff9b8790a
Merge pull request #171 from stevefan1999-personal/patch-no-std
Fix no_std build
2020-06-26 10:11:21 +08:00
Steve Fan
0bd636a660 speclatively use stdlib to have automatic no_std compatibility 2020-06-26 00:40:01 +08:00
Steve Fan
6be9301a26 re-add core crates packages on no_std which is not imported 2020-06-25 23:33:09 +08:00
Stephen Chung
259b6d0fcf Add dynamic dispatch. 2020-06-25 19:22:14 +08:00
Stephen Chung
580a62daaf Add sign function. 2020-06-25 19:19:16 +08:00
Stephen Chung
fe640e0e13 Implement function pointers. 2020-06-25 18:07:57 +08:00
Stephen Chung
aeb47efce8 Revise docs. 2020-06-25 11:07:56 +08:00
Stephen Chung
58c198776f Code cleanup. 2020-06-25 11:07:46 +08:00
Stephen Chung
ab60c2e1d2 Add scope command to repl. 2020-06-24 22:45:34 +08:00
Stephen Chung
d5eb2887ff Refactor Dynamic. 2020-06-23 19:24:26 +08:00
Stephen Chung
3b1719e0bc Introduce ChainType to prepare for more chaining operators. 2020-06-23 17:36:07 +08:00
Stephen Chung
54c5c139f9 Add internals feature. 2020-06-23 10:43:24 +08:00
Stephen Chung
a9b168ba99 Refine docs. 2020-06-22 22:02:49 +08:00
Stephen Chung
b08f85a8b1 Refine side_effects test. 2020-06-22 09:46:36 +08:00
Stephen Chung
d728ac6758 Edit documentation. 2020-06-22 00:03:45 +08:00
Stephen Chung
7cc1a3f5dc Change Map keys to ImmutableString to facilitate fast keys(). 2020-06-21 16:37:05 +08:00
Stephen Chung
ec5511fecf
Merge pull request #167 from schungx/master
The Rhai Book
2020-06-21 15:25:21 +08:00
Stephen Chung
00c4052636 Fix pipes in tables. 2020-06-21 10:37:17 +08:00
Stephen Chung
6121aaec9d Add linkcheck, fix typos and expand. 2020-06-20 22:56:56 +08:00
Stephen Chung
ffe0c559be Remove scope parameter from ModuleResolver::resolve. 2020-06-20 21:49:45 +08:00
Stephen Chung
348c3edc76 Add rootUrl to links. 2020-06-20 15:57:15 +08:00
Stephen Chung
478bc7ab30 Change README to point to the Rhai book. 2020-06-20 12:23:32 +08:00
Stephen Chung
c7f1e12d6a Add Rhai book. 2020-06-20 12:06:17 +08:00
Stephen Chung
7e80d62df5 Fix minor typos. 2020-06-20 12:06:04 +08:00
Stephen Chung
cc57a2344e Fix doc test. 2020-06-20 10:49:15 +08:00
Stephen Chung
35fa61cd4b Do not export fn_native. 2020-06-18 18:39:28 +08:00
Stephen Chung
a3ea788fb0 Bump version. 2020-06-18 13:01:07 +08:00
Stephen Chung
c7df158bba
Merge pull request #163 from schungx/master
Minor refinements and enhancements, WASM.
2020-06-18 11:04:01 +08:00
Stephen Chung
2f815e277d Add wasm-bindgen to instant crate for wasm. 2020-06-18 09:37:44 +08:00
Stephen Chung
2a73841549 Add support for Instant for wasm32. 2020-06-17 16:50:57 +08:00
Stephen Chung
ae6d5e13a9 Gate i128/u128 for wasm32 target. 2020-06-17 16:50:46 +08:00
Stephen Chung
e095a87ea2 Remove wasm64 target. 2020-06-17 16:49:51 +08:00
Stephen Chung
84fbcb03b3 Add WASM section. 2020-06-17 15:45:11 +08:00
Stephen Chung
7f4f737ff2 Gate WASM target. 2020-06-17 09:54:17 +08:00
Stephen Chung
b6e1f652b6 Fix bug when setting character in string via a method call. 2020-06-16 23:49:11 +08:00
Stephen Chung
151cd1af48 Support compiling to WASM. 2020-06-16 23:47:31 +08:00
Stephen Chung
1adf3cc39a Support for trailing commas. 2020-06-16 22:14:46 +08:00
Stephen Chung
dc540755e7 Revert plugins. 2020-06-16 09:40:31 +08:00
Stephen Chung
29044cc305 Merge branch 'plugins' 2020-06-16 09:36:47 +08:00
Stephen Chung
ff37e02443 Add iterator support for strings. 2020-06-16 09:34:30 +08:00
Stephen Chung
4603f8026f Add getters for Engine setting fields. 2020-06-15 23:20:50 +08:00
Stephen Chung
fcb5059570 Do not check for data oversize when unchecked. 2020-06-15 22:04:14 +08:00
Stephen Chung
9bd2d4c981 Merge branch 'master' into plugins 2020-06-15 21:52:15 +08:00
Stephen Chung
a417bdd8e3 Support registering functions with a reference to the scripting engine. 2020-06-15 21:49:02 +08:00
Stephen Chung
31d2fa410b Streamline code. 2020-06-14 22:44:59 +08:00
Stephen Chung
f26c12b8ea Better error messages for unrecognized tokens. 2020-06-14 19:13:11 +08:00
Stephen Chung
0c6a939c66 Better convert LexError to ParseError. 2020-06-14 16:56:36 +08:00
Stephen Chung
b51930031b Merge branch 'master' of https://github.com/schungx/rhai 2020-06-14 14:30:41 +08:00
Stephen Chung
bb691a0313 Add maximum data size limits. 2020-06-14 14:25:47 +08:00
Stephen Chung
27ad7bbebe Merge branch 'master' into plugins 2020-06-14 00:14:52 +08:00