Stephen Chung
|
08ca90a136
|
Use ImmutableString for import alias.
|
2020-10-02 18:52:18 +08:00 |
|
Stephen Chung
|
038b058e63
|
Use shared AST module.
|
2020-10-02 16:21:18 +08:00 |
|
Stephen Chung
|
2fd30321a8
|
Fix test.
|
2020-10-02 15:31:59 +08:00 |
|
Stephen Chung
|
d2c94ba07c
|
Add more module tests.
|
2020-10-02 14:55:02 +08:00 |
|
Stephen Chung
|
e8d5f78f88
|
Simplify code.
|
2020-10-01 23:31:27 +08:00 |
|
Stephen Chung
|
a13fcc5cc2
|
Refine plugin module docs.
|
2020-10-01 16:47:02 +08:00 |
|
Stephen Chung
|
07fdd1bef1
|
Fix image url link.
|
2020-10-01 00:11:45 +08:00 |
|
Stephen Chung
|
45a290f0ea
|
Change doc test from no_run to ignore.
|
2020-09-30 23:39:46 +08:00 |
|
Stephen Chung
|
2290c72de1
|
Fix tests.
|
2020-09-30 23:27:41 +08:00 |
|
Stephen Chung
|
cbc3d8764a
|
Revise docs for 0.19.0.
|
2020-09-30 23:02:01 +08:00 |
|
Stephen Chung
|
a04ed02b54
|
Simplify macro system and update doc comments.
|
2020-09-30 22:55:40 +08:00 |
|
Stephen Chung
|
e526b53b42
|
No need to merge module if empty.
|
2020-09-30 09:57:21 +08:00 |
|
Stephen Chung
|
c7dfbd48a6
|
Restore call_fn_dynamic.
|
2020-09-29 18:37:00 +08:00 |
|
Stephen Chung
|
69054f1b69
|
Change lib to &Module.
|
2020-09-29 18:17:41 +08:00 |
|
Stephen Chung
|
ea78fa2b27
|
Change SharedPluginFunction to Shared<FnPlugin>
|
2020-09-29 13:06:48 +08:00 |
|
Stephen Chung
|
64c421b3d7
|
Revise docs.
|
2020-09-28 22:14:19 +08:00 |
|
Stephen Chung
|
2123b0a279
|
Module::eval_ast_as_new will merge global and module namespaces if private_namespace is true.
|
2020-09-28 18:53:03 +08:00 |
|
Stephen Chung
|
5e43f2e5a4
|
Better error handling messages.
|
2020-09-28 11:19:49 +08:00 |
|
Stephen Chung
|
a1cf852bb9
|
Merge in function pointer arguments.
|
2020-09-28 11:01:25 +08:00 |
|
Stephen Chung
|
f92d992165
|
Handle timestamps in serde.
|
2020-09-27 22:34:07 +08:00 |
|
Stephen Chung
|
e1ce67adc2
|
Add TimeStamp variant.
|
2020-09-27 22:15:35 +08:00 |
|
Stephen Chung
|
516f7b60d9
|
Fix no_std build.
|
2020-09-27 18:47:20 +08:00 |
|
Stephen Chung
|
a2694114d1
|
Better panic messages.
|
2020-09-27 11:14:50 +08:00 |
|
Stephen Chung
|
726b030616
|
Implement +/- operators for timestamp.
|
2020-09-26 19:45:33 +08:00 |
|
Stephen Chung
|
e0483f2a50
|
Implement Dynamic::From<Instant>
|
2020-09-26 19:41:04 +08:00 |
|
Stephen Chung
|
03dce86328
|
Support Dynamic as function default return value.
|
2020-09-26 16:27:38 +08:00 |
|
Stephen Chung
|
e62d1cd3ff
|
Better error message for setter.
|
2020-09-26 12:34:06 +08:00 |
|
Stephen Chung
|
91886e30d2
|
Fix test output.
|
2020-09-26 12:28:28 +08:00 |
|
Stephen Chung
|
984ef48741
|
Fix test.
|
2020-09-26 12:17:16 +08:00 |
|
Stephen Chung
|
0d7d54e21c
|
Simplify rename checking.
|
2020-09-26 12:08:15 +08:00 |
|
Stephen Chung
|
371b7fd00b
|
Fix tests.
|
2020-09-26 00:46:47 +08:00 |
|
Stephen Chung
|
a2551a4650
|
Check rename collisions with special names.
|
2020-09-26 00:30:30 +08:00 |
|
Stephen Chung
|
6b13e266b9
|
Allow actual function name that is the same as a #[rhai_fn(name = "...")] rename.
|
2020-09-25 23:07:18 +08:00 |
|
Stephen Chung
|
4efe6b90e7
|
Add string::split().
|
2020-09-25 23:02:49 +08:00 |
|
Stephen Chung
|
da9aa60256
|
Wrap file module functions in ErrorInModule.
|
2020-09-25 20:24:03 +08:00 |
|
Stephen Chung
|
39bbff878c
|
Fix doc test.
|
2020-09-25 20:00:49 +08:00 |
|
Stephen Chung
|
f406fc0ac0
|
Fix function calls.
|
2020-09-25 19:07:24 +08:00 |
|
Stephen Chung
|
599fe846cb
|
Add complete_namespace to Module::eval_ast_as_new.
|
2020-09-25 18:07:39 +08:00 |
|
Stephen Chung
|
93f53fa417
|
Refactor module.rs into files structure.
|
2020-09-25 10:59:21 +08:00 |
|
Stephen Chung
|
e637bfa51d
|
Change pure to independent.
|
2020-09-25 09:39:18 +08:00 |
|
Stephen Chung
|
6a53c446d3
|
Fix no_function build.
|
2020-09-24 23:32:54 +08:00 |
|
Stephen Chung
|
c4ec93080e
|
New FileModuleResolver.
|
2020-09-24 22:50:28 +08:00 |
|
Stephen Chung
|
b8aeaa84de
|
Add functions to iterate script function definitions.
|
2020-09-24 16:10:25 +08:00 |
|
Stephen Chung
|
12e9a8567d
|
Make tables casing consistent.
|
2020-09-24 11:17:39 +08:00 |
|
Stephen Chung
|
9fcbda1ba4
|
Add reverse function to arrays.
|
2020-09-24 10:51:21 +08:00 |
|
Stephen Chung
|
d91d983c74
|
Enable dots on numbers to parse as method calls.
|
2020-09-23 22:48:28 +08:00 |
|
Stephen Chung
|
39433164f2
|
Fix no_float build.
|
2020-09-23 12:06:17 +08:00 |
|
Stephen Chung
|
4e0f887025
|
Merge branch 'master' into plugins
|
2020-09-23 12:00:15 +08:00 |
|
Stephen Chung
|
ed38b50490
|
Add parse_int and parse_float.
|
2020-09-23 12:00:03 +08:00 |
|
Stephen Chung
|
5718f454c4
|
Merge pull request #60 from jhwgh1968/plugins
Remove redundant clones in codegen
|
2020-09-23 11:54:57 +08:00 |
|