Stephen Chung
|
d2ded7733a
|
Add support for line continuation and multi-line string literals.
|
2021-03-30 00:21:09 +08:00 |
|
Stephen Chung
|
7bdc2e3d20
|
Extract constant arguments from function calls.
|
2021-03-28 19:04:25 +08:00 |
|
Stephen Chung
|
ea970631ff
|
Fix test formatting.
|
2021-03-27 18:08:34 +08:00 |
|
Stephen Chung
|
6d1700728a
|
Intern module registration strings.
|
2021-03-24 09:56:25 +08:00 |
|
Stephen Chung
|
1200ffcd2b
|
Add test with &str parameter.
|
2021-03-17 22:32:22 +08:00 |
|
Stephen Chung
|
80c7e9310e
|
Fix unchecked build.
|
2021-03-17 15:26:37 +08:00 |
|
Stephen Chung
|
4581943435
|
Remove public_only parameters.
|
2021-03-17 09:58:08 +08:00 |
|
Stephen Chung
|
082ecaa739
|
Fix feature builds.
|
2021-03-15 23:03:26 +08:00 |
|
Stephen Chung
|
12e3a5b050
|
Add test of functions with context.
|
2021-03-15 21:30:45 +08:00 |
|
Stephen Chung
|
e9f280f917
|
Deprecate Module::set_fn_XXX API.
|
2021-03-15 12:39:06 +08:00 |
|
Stephen Chung
|
d0922adb5b
|
Deprecate RegisterFn and RegisterResultFn.
|
2021-03-15 11:36:30 +08:00 |
|
Stephen Chung
|
4e3fdf6dab
|
Revamp statement block optimization.
|
2021-03-13 23:43:05 +08:00 |
|
Stephen Chung
|
cbad703b00
|
Flatten data structures and more aggressive inlining.
|
2021-03-10 13:32:09 +08:00 |
|
Stephen Chung
|
352408fd36
|
Flatten statement blocks.
|
2021-03-10 12:27:10 +08:00 |
|
Stephen Chung
|
b11b8d6d39
|
Reduce redirections in Stmt.
|
2021-03-09 23:30:48 +08:00 |
|
Stephen Chung
|
975bb3d6bf
|
Map in operator to contains function call.
|
2021-03-09 13:44:54 +08:00 |
|
Stephen Chung
|
57140cbeeb
|
Fix internals build.
|
2021-03-08 15:55:26 +08:00 |
|
Stephen Chung
|
62928f8613
|
Revise function hashing.
|
2021-03-08 15:30:32 +08:00 |
|
Stephen Chung
|
4da5af8aae
|
Do not flatten arguments passed by value.
|
2021-03-06 21:25:49 +08:00 |
|
Stephen Chung
|
e14bef4b10
|
Trap &mut String parameters.
|
2021-03-06 14:41:35 +08:00 |
|
Stephen Chung
|
fe633ea7d3
|
Fix bug when passing shared string variable to &str parameter.
|
2021-03-06 10:44:55 +08:00 |
|
Stephen Chung
|
f92e6f3983
|
Fix metadata build.
|
2021-03-05 23:56:00 +08:00 |
|
Stephen Chung
|
426f841aa2
|
Fix serde build.
|
2021-03-05 23:41:20 +08:00 |
|
Stephen Chung
|
a251219730
|
Remove public Dynamic::as_str.
|
2021-03-05 23:00:27 +08:00 |
|
Stephen Chung
|
65ef32af19
|
Calculate whether contains global functions during indexing.
|
2021-03-05 20:07:35 +08:00 |
|
Stephen Chung
|
4c5ea8decc
|
Fix switch of non-hashable value.
|
2021-03-05 10:33:48 +08:00 |
|
Stephen Chung
|
01664ef7ee
|
Fix range overflow panics.
|
2021-03-04 23:47:52 +08:00 |
|
Stephen Chung
|
ed568a9395
|
Make RhaiResult internal.
|
2021-03-03 22:49:29 +08:00 |
|
Stephen Chung
|
dfc1ea692f
|
Implement built-in operators with macros.
|
2021-03-03 21:46:48 +08:00 |
|
Stephen Chung
|
2c8b15c740
|
Private global functions are still exposed.
|
2021-03-03 11:40:27 +08:00 |
|
Stephen Chung
|
e3e53bd399
|
Introduce RhaiResult.
|
2021-03-02 15:02:28 +08:00 |
|
Stephen Chung
|
67d277aa21
|
Disallow overriding keywords.
|
2021-03-01 22:44:56 +08:00 |
|
Stephen Chung
|
fc10df7d63
|
Keyword can no longer be overloaded.
|
2021-03-01 17:17:13 +08:00 |
|
Stephen Chung
|
061fce1f02
|
No more pub_only.
|
2021-03-01 15:39:49 +08:00 |
|
Stephen Chung
|
6aa0be546f
|
Replace String::from("...") with "...".into().
|
2021-02-26 11:21:05 +08:00 |
|
Stephen Chung
|
3f4dba9dbc
|
Build in operators between string and char.
|
2021-02-25 13:29:49 +08:00 |
|
Stephen Chung
|
49e5382ab0
|
Do not return default for comparisons between same types.
|
2021-02-25 10:59:11 +08:00 |
|
Stephen Chung
|
4ac05aee8b
|
Disallow implicit comparisons between different numeric types.
|
2021-02-24 15:45:29 +08:00 |
|
Stephen Chung
|
93d970235e
|
Fix no_object.
|
2021-02-23 19:31:43 +08:00 |
|
Stephen Chung
|
36420f0b99
|
Implement print/debug functions via Dynamic parameters.
|
2021-02-23 19:08:05 +08:00 |
|
Stephen Chung
|
9a9adbefcc
|
Wrap eval errors in ErrorInFunctionCall.
|
2021-02-18 14:33:12 +08:00 |
|
Stephen Chung
|
3650b04c38
|
Add Decimal number type.
|
2021-02-13 20:57:56 +08:00 |
|
Stephen Chung
|
8ffb6c03b5
|
Add scientific notation to floats.
|
2021-02-11 19:20:30 +08:00 |
|
Stephen Chung
|
61638d6566
|
Use ** for power/exponentiation.
|
2021-02-10 12:41:27 +08:00 |
|
Stephen Chung
|
8c26b49a39
|
Change trig functions to take/return radians.
|
2021-02-10 12:10:50 +08:00 |
|
Stephen Chung
|
a76bed2f46
|
Use eval_statements_block when at global.
|
2021-02-07 17:06:33 +08:00 |
|
Stephen Chung
|
903b6d6795
|
Rename set_doc_comments to enable_doc_comments.
|
2021-01-28 16:59:19 +08:00 |
|
Stephen Chung
|
f76daadcba
|
Refine FuncArgs trait.
|
2021-01-28 15:29:55 +08:00 |
|
Stephen Chung
|
e902c74073
|
Add threading example.
|
2021-01-25 11:31:54 +08:00 |
|
Stephen Chung
|
ab317bec4e
|
Add test for NativeCallContext.
|
2021-01-24 21:33:05 +08:00 |
|