Stephen Chung
|
95c4ac4180
|
Fix no_float bug in time.
|
2020-10-09 13:47:35 +08:00 |
|
Stephen Chung
|
59b380b130
|
Allow propagation for pushed scope constants.
|
2020-10-09 13:26:32 +08:00 |
|
Stephen Chung
|
630ec51624
|
Simplify let/const statement.
|
2020-10-09 13:25:53 +08:00 |
|
Stephen Chung
|
1f74b36496
|
Add EntryType::is_constant.
|
2020-10-09 13:23:44 +08:00 |
|
Stephen Chung
|
a4b674d015
|
Trap elapsed error when timestamp is later than now.
|
2020-10-09 12:51:26 +08:00 |
|
Stephen Chung
|
7ede299aae
|
Allow expressions in constants.
|
2020-10-09 11:15:25 +08:00 |
|
Stephen Chung
|
d511aac7a4
|
Reduce max call stack size for debug.
|
2020-10-08 23:00:01 +08:00 |
|
Stephen Chung
|
1272eeb81a
|
Add/remove #[inline] attributes.
|
2020-10-08 22:25:50 +08:00 |
|
Stephen Chung
|
b2d603ec06
|
Refine Add/AddAssign for AST and Module.
|
2020-10-07 23:25:08 +08:00 |
|
Stephen Chung
|
ec19103478
|
Fix serde typo.
|
2020-10-07 15:51:00 +08:00 |
|
Stephen Chung
|
d7bfe13b3e
|
Add convenient functions and operators for Module and module resolvers.
|
2020-10-07 15:40:36 +08:00 |
|
Stephen Chung
|
1523981e4e
|
Add AST::combine and AST::combine_filtered.
|
2020-10-07 12:11:25 +08:00 |
|
Stephen Chung
|
3340760b35
|
Fix no_std build.
|
2020-10-07 11:44:06 +08:00 |
|
Stephen Chung
|
ae1157a140
|
Remove Expr::get_constant_str and change Expr::get_constant_value not to panic.
|
2020-10-06 22:09:26 +08:00 |
|
Stephen Chung
|
8809d25d3c
|
Add Dynamic::from(&str)
|
2020-10-06 21:25:05 +08:00 |
|
Stephen Chung
|
1de44c7ecd
|
Reserve $ symbol.
|
2020-10-05 23:02:50 +08:00 |
|
Stephen Chung
|
44f8d9e429
|
Refine Module::iter_script_fn_info.
|
2020-10-05 21:52:39 +08:00 |
|
Stephen Chung
|
2f6bb643aa
|
Remove Module::get_script_function_by_signature.
|
2020-10-05 18:07:40 +08:00 |
|
Stephen Chung
|
82d48df734
|
Merge data type mismatch errors.
|
2020-10-05 13:45:57 +08:00 |
|
Stephen Chung
|
b67a743306
|
Do not eagerly evaluate is_def_fn and is_def_var.
|
2020-10-05 12:14:34 +08:00 |
|
Stephen Chung
|
29bf790286
|
Fix no_function build.
|
2020-10-05 12:09:45 +08:00 |
|
Stephen Chung
|
4356d02828
|
Fix no_object builds.
|
2020-10-05 12:05:46 +08:00 |
|
Stephen Chung
|
0d0affd5e9
|
Eagerly evaluate built-in operators for OptimizationLevel::Simple.
|
2020-10-05 10:27:31 +08:00 |
|
Stephen Chung
|
a962debf0d
|
Simplify target back propagation.
|
2020-10-04 10:40:44 +08:00 |
|
Stephen Chung
|
23d0f52284
|
Better error messages.
|
2020-10-03 23:27:30 +08:00 |
|
Stephen Chung
|
1e13e6be5f
|
Doc formatting.
|
2020-10-03 18:49:11 +08:00 |
|
Stephen Chung
|
fbfb7677c1
|
Add is_def_var and is_def_fn.
|
2020-10-03 16:25:58 +08:00 |
|
Stephen Chung
|
eec3f4e1bf
|
Module:;eval_ast_as_new defaults to merging namespaces.
|
2020-10-03 11:42:54 +08:00 |
|
Stephen Chung
|
a72f70846f
|
Make merged namespace more efficient.
|
2020-10-02 23:14:33 +08:00 |
|
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
|
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
|
2290c72de1
|
Fix tests.
|
2020-09-30 23:27:41 +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
|
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 |
|