Stephen Chung
|
b76e8da5ee
|
Cache built-in functions to improve resolution speed.
|
2021-03-02 13:48:41 +08:00 |
|
Stephen Chung
|
4e3ab7fa6a
|
Add compiler guards for mutually-exclusive features.
|
2021-02-19 15:49:51 +08:00 |
|
Stephen Chung
|
b789c319e7
|
Rename serde_impl to serde.
|
2021-02-19 15:17:14 +08:00 |
|
Stephen Chung
|
7fc38d4cd2
|
Change rhaiscript.github.io to rhai.rs
|
2021-01-30 07:19:54 +08:00 |
|
Stephen Chung
|
cef61bc924
|
Fix no_function build.
|
2021-01-28 16:48:56 +08:00 |
|
Stephen Chung
|
f76daadcba
|
Refine FuncArgs trait.
|
2021-01-28 15:29:55 +08:00 |
|
Stephen Chung
|
ad250fc973
|
Recursive self-contained AST.
|
2021-01-09 16:52:22 +08:00 |
|
Stephen Chung
|
96b1e7777b
|
Update URL links.
|
2021-01-07 17:30:06 +08:00 |
|
Stephen Chung
|
e059ca009c
|
Fix feature builds.
|
2021-01-06 18:22:45 +08:00 |
|
Stephen Chung
|
3fbcefe0ed
|
Move HashableHashMap to utils.
|
2021-01-05 18:37:07 +08:00 |
|
Stephen Chung
|
cf9d35166d
|
Remove hashing of the entire script by making Expr and Stmt Hash.
|
2021-01-04 11:58:24 +08:00 |
|
Stephen Chung
|
ef48f47b74
|
Refine docs and comments etc.
|
2021-01-02 23:30:10 +08:00 |
|
Stephen Chung
|
8506640073
|
Use NonZeroU64 for function hashes.
|
2020-12-24 16:32:43 +08:00 |
|
Stephen Chung
|
08e7ad8c09
|
Add deprecated packages API.
|
2020-12-23 15:30:35 +08:00 |
|
Stephen Chung
|
cebbc2b607
|
Fix duplicate Ident export.
|
2020-12-23 12:11:53 +08:00 |
|
Stephen Chung
|
2e7ec8f1db
|
IdentX -> Ident.
|
2020-12-22 16:45:56 +08:00 |
|
Stephen Chung
|
26449a9f1c
|
Add ScriptFnMetadata.
|
2020-12-12 18:44:28 +08:00 |
|
Stephen Chung
|
36546c7325
|
Fix builds
|
2020-11-27 23:37:59 +08:00 |
|
Stephen Chung
|
a0979d0c35
|
Code cleanup
|
2020-11-25 09:36:06 +08:00 |
|
Stephen Chung
|
783803ec46
|
Update comments with links.
|
2020-11-20 16:52:28 +08:00 |
|
Stephen Chung
|
038e3c2554
|
Add FnNamespace for module functions.
|
2020-11-17 12:23:53 +08:00 |
|
Stephen Chung
|
d50d48f26f
|
Move definition of Array and Map to lib.rs.
|
2020-11-16 21:14:32 +08:00 |
|
Stephen Chung
|
adb902326e
|
Reduce feature gates on imports.
|
2020-11-16 16:28:04 +08:00 |
|
Stephen Chung
|
bc07b4fa84
|
Fix builds.
|
2020-11-13 18:49:23 +08:00 |
|
Stephen Chung
|
958762079e
|
Change modules to namespace.
|
2020-11-10 23:26:50 +08:00 |
|
Stephen Chung
|
3f6db1d9d4
|
Remove extra export of LexError.
|
2020-11-04 20:20:55 +08:00 |
|
Stephen Chung
|
d7d6f74dfd
|
Add constant NO_POS.
|
2020-11-02 12:50:27 +08:00 |
|
Stephen Chung
|
a2e2b5e2ef
|
Add f32_float feature.
|
2020-11-01 15:48:48 +08:00 |
|
Stephen Chung
|
89811c8dfc
|
Pack Stmt and Expr some more.
|
2020-10-31 14:13:45 +08:00 |
|
Stephen Chung
|
4e115d2bc2
|
Code structure refactor.
|
2020-10-29 11:37:51 +08:00 |
|
Stephen Chung
|
f5ffbfbe06
|
Code structure cleanup.
|
2020-10-28 22:18:44 +08:00 |
|
Stephen Chung
|
f56c3fe9cb
|
Add Ident/IdentX to AST.
|
2020-10-28 19:11:17 +08:00 |
|
Stephen Chung
|
82e6dd446a
|
Encapsulate register_fn_raw parameters into NativeCallContext.
|
2020-10-18 17:02:17 +08:00 |
|
Stephen Chung
|
707ece7e80
|
Refactor iterators API.
|
2020-10-14 23:22:10 +08:00 |
|
Stephen Chung
|
fd5a932611
|
Implement variable resolver.
|
2020-10-11 21:58:11 +08:00 |
|
Stephen Chung
|
612ecc4ebc
|
Move StaticVec definition to lib.rs.
|
2020-10-10 13:41:55 +08:00 |
|
Stephen Chung
|
1e13e6be5f
|
Doc formatting.
|
2020-10-03 18:49:11 +08:00 |
|
Stephen Chung
|
a04ed02b54
|
Simplify macro system and update doc comments.
|
2020-09-30 22:55:40 +08:00 |
|
Stephen Chung
|
93f53fa417
|
Refactor module.rs into files structure.
|
2020-09-25 10:59:21 +08:00 |
|
Stephen Chung
|
a75aba8a85
|
Rename calc_fn_spec to calc_fn_hash.
|
2020-09-11 22:24:44 +08:00 |
|
J Henry Waugh
|
fdcaa90cd9
|
Clean up plugin module for no_module macro support
|
2020-08-12 23:57:57 -05:00 |
|
J Henry Waugh
|
be315aebaf
|
Fix breakage due to write_lock()
|
2020-08-06 18:36:19 -05:00 |
|
J Henry Waugh
|
d01203cb5d
|
New Procedural Macros Crate v0.1
|
2020-08-01 11:52:32 -05:00 |
|
Stephen Chung
|
d63f926701
|
Merge branch 'master' into plugins
|
2020-07-29 23:37:51 +08:00 |
|
Stephen Chung
|
1465ba2315
|
Refactor auto-currying.
|
2020-07-29 22:43:50 +08:00 |
|
Stephen Chung
|
6b600704a3
|
Avoid warnings.
|
2020-07-26 15:53:22 +08:00 |
|
Stephen Chung
|
25ee4b4f82
|
Merge branch 'master' into plugins
|
2020-07-26 14:07:29 +08:00 |
|
Stephen Chung
|
e7af008d74
|
Avoid warnings.
|
2020-07-26 13:51:09 +08:00 |
|
Stephen Chung
|
d278f3725c
|
Merge branch 'master' into plugins
|
2020-07-25 16:16:09 +08:00 |
|
Stephen Chung
|
284e58e8a1
|
Improve documentation on internal types.
|
2020-07-25 15:52:27 +08:00 |
|
Stephen Chung
|
1c58bdb2a1
|
Merge branch 'master' into plugins
|
2020-07-23 18:46:25 +08:00 |
|
Stephen Chung
|
bff266d4e1
|
Move function calling to separate source file.
|
2020-07-23 18:40:42 +08:00 |
|
Stephen Chung
|
a2ddd2175e
|
Merge branch 'master' into plugins
|
2020-07-23 16:12:09 +08:00 |
|
Stephen Chung
|
abf66850f6
|
Enable custom syntax without internals.
|
2020-07-22 17:05:13 +08:00 |
|
Stephen Chung
|
d7d9f42802
|
Merge branch 'master' into plugins
|
2020-07-22 13:33:24 +08:00 |
|
Stephen Chung
|
35374f5b3b
|
Simplify custom syntax.
|
2020-07-22 13:08:51 +08:00 |
|
Stephen Chung
|
e57c15c3e2
|
Merge branch 'master' into plugins
|
2020-07-11 15:11:20 +08:00 |
|
Stephen Chung
|
2a8d63fd5f
|
Refine custom syntax.
|
2020-07-11 15:09:17 +08:00 |
|
Stephen Chung
|
d95761d064
|
Merge branch 'master' into plugins
|
2020-07-10 22:06:02 +08:00 |
|
Stephen Chung
|
ebffbf0f98
|
Refine docs and add custom syntax.
|
2020-07-10 22:01:47 +08:00 |
|
Stephen Chung
|
99164ebceb
|
Add custom syntax.
|
2020-07-09 19:54:28 +08:00 |
|
Stephen Chung
|
3b7a7426cf
|
Merge branch 'master' into plugins
|
2020-07-06 21:52:47 +08:00 |
|
Stephen Chung
|
d0711394f0
|
Expose FnPtr and move name checking into
|
2020-07-06 21:30:35 +08:00 |
|
Stephen Chung
|
fbe15d25b6
|
Merge branch 'master' into plugins
|
2020-07-06 13:11:46 +08:00 |
|
Stephen Chung
|
3e45d5d9a5
|
Refine docs and API.
|
2020-07-06 13:01:57 +08:00 |
|
Stephen Chung
|
ef2d28d423
|
Merge branch 'master' into plugins
|
2020-07-05 18:12:35 +08:00 |
|
Stephen Chung
|
936a3ff44a
|
Add feature to disable symbols.
|
2020-07-05 15:23:51 +08:00 |
|
Stephen Chung
|
d626bf9f5b
|
Refine no_function feature.
|
2020-07-04 16:21:15 +08:00 |
|
Stephen Chung
|
b3b3a083b8
|
Add docs on serde feature.
|
2020-07-04 15:39:40 +08:00 |
|
Stephen Chung
|
2b2deba5e0
|
Remove serde from default feature.
|
2020-07-03 22:48:33 +08:00 |
|
Stephen Chung
|
78c94daf46
|
Add ser::to_dynamic.
|
2020-07-03 22:42:56 +08:00 |
|
Stephen Chung
|
fa84e5c502
|
Add serde deserialization.
|
2020-07-03 17:19:55 +08:00 |
|
Stephen Chung
|
e14cfbd9d7
|
Restore plugins code.
|
2020-07-02 12:47:24 +08:00 |
|
Stephen Chung
|
e614790897
|
Enable function pointers even under no_function.
|
2020-06-30 18:34:58 +08:00 |
|
Stephen Chung
|
d6a08be223
|
Refactor.
|
2020-06-29 23:55:28 +08:00 |
|
Stephen Chung
|
04d2fb5001
|
Fix no_std.
|
2020-06-26 23:24:47 +08:00 |
|
Stephen Chung
|
ab347fa14e
|
Add Module::iter_script_fn.
|
2020-06-26 22:33:27 +08:00 |
|
Stephen Chung
|
31eaf321d0
|
Refactor tokenizer.
|
2020-06-26 19:44:50 +08:00 |
|
Stephen Chung
|
58c198776f
|
Code cleanup.
|
2020-06-25 11:07:46 +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
|
478bc7ab30
|
Change README to point to the Rhai book.
|
2020-06-20 12:23:32 +08:00 |
|
Stephen Chung
|
35fa61cd4b
|
Do not export fn_native.
|
2020-06-18 18:39:28 +08:00 |
|
Stephen Chung
|
e095a87ea2
|
Remove wasm64 target.
|
2020-06-17 16:49:51 +08:00 |
|
Stephen Chung
|
7f4f737ff2
|
Gate WASM target.
|
2020-06-17 09:54:17 +08:00 |
|
Stephen Chung
|
dc540755e7
|
Revert plugins.
|
2020-06-16 09:40:31 +08:00 |
|
jhwgh1968
|
27b8f9929d
|
Basic Implementation of Plugins and Plugin Functions
|
2020-06-02 21:44:28 -05:00 |
|
Stephen Chung
|
a9a95b3c2d
|
Merge branch 'master' into plugins
|
2020-05-28 14:09:27 +08:00 |
|
Stephen Chung
|
b34d5fe3a1
|
Complete ImmutableString.
|
2020-05-26 14:14:03 +08:00 |
|
Stephen Chung
|
99ea2b33c9
|
Use immutable strings.
|
2020-05-25 13:44:28 +08:00 |
|
Stephen Chung
|
2f0ab18b70
|
Merge register_result_fn and register_dynamic_fn.
|
2020-05-22 13:09:17 +08:00 |
|
Stephen Chung
|
39cd1c8413
|
Merge branch 'master' into plugins
|
2020-05-21 09:30:03 +08:00 |
|
Stephen Chung
|
3295060dba
|
Unify all functions under CallableFunction type.
|
2020-05-19 19:03:06 +08:00 |
|
Stephen Chung
|
a22f338b03
|
Back out NativeCallable trait.
|
2020-05-19 10:13:37 +08:00 |
|
Stephen Chung
|
a2c50879fe
|
Fix dropping issues with StaticVec and use it everywhere.
|
2020-05-17 00:24:07 +08:00 |
|
Stephen Chung
|
be97047e51
|
Limit modules loading.
|
2020-05-15 21:40:54 +08:00 |
|
Stephen Chung
|
5d5ceb4049
|
Consolidate all unsafe code under one single file.
|
2020-05-14 18:27:22 +08:00 |
|
Stephen Chung
|
30e5e2f034
|
Use modules to implement packages.
|
2020-05-13 19:21:42 +08:00 |
|
Stephen Chung
|
4a8710a4a9
|
Create NativeCallable trait.
|
2020-05-11 13:36:50 +08:00 |
|
Stephen Chung
|
fa4d391e4b
|
Merge branch 'master' into plugins
|
2020-05-06 20:00:02 +08:00 |
|