Commit Graph

3866 Commits

Author SHA1 Message Date
Stephen Chung
760c13d36e Fix features. 2020-07-01 22:21:43 +08:00
Stephen Chung
3b16fae455
Merge pull request #172 from schungx/oop
OOP support
2020-07-01 09:08:25 +08:00
Stephen Chung
7957c58def
Merge branch 'master' into oop 2020-07-01 09:08:02 +08:00
Stephen Chung
e614790897 Enable function pointers even under no_function. 2020-06-30 18:34:58 +08:00
Stephen Chung
52ef223f83 Fix pad functions. 2020-06-30 18:34:32 +08:00
Stephen Chung
d6a08be223 Refactor. 2020-06-29 23:55:28 +08:00
Stephen Chung
063851a6ad Merge branch 'tokenizer' 2020-06-28 15:51:37 +08:00
Stephen Chung
527d41d0e3 No modules in scope. 2020-06-28 15:49:24 +08:00
Stephen Chung
aac04a5e53 Remove modules from Scope and use separate stack. 2020-06-27 23:56:24 +08:00
Stephen Chung
f3bde843cb Fix scripts and tests. 2020-06-27 21:19:53 +08:00
Stephen Chung
549ef6bf7f Add oop.rhai script. 2020-06-27 17:34:39 +08:00
Stephen Chung
d509006264 Use link redirection syntax. 2020-06-27 10:43:57 +08:00
Stephen Chung
04d2fb5001 Fix no_std. 2020-06-26 23:24:47 +08:00
Stephen Chung
588150e217 Fix test. 2020-06-26 23:24:35 +08:00
Stephen Chung
ab347fa14e Add Module::iter_script_fn. 2020-06-26 22:33:27 +08:00
Stephen Chung
74c82bbd9c Refactor. 2020-06-26 22:03:21 +08:00
Stephen Chung
8c632ed928 Remove println. 2020-06-26 19:54:12 +08:00
Stephen Chung
31eaf321d0 Refactor tokenizer. 2020-06-26 19:44:50 +08:00
Stephen Chung
14746f94ca Revise OOP section for maps. 2020-06-26 19:32:06 +08:00
Stephen Chung
175c3ccaec OOP support. 2020-06-26 10:39:18 +08:00
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