Stephen Chung
|
87e0e783bc
|
Display timestamp.
|
2020-05-05 20:54:56 +08:00 |
|
Stephen Chung
|
a1bcc5cd7d
|
Merge branch 'master' into namespace
|
2020-05-05 20:42:16 +08:00 |
|
Stephen Chung
|
f081040767
|
Add support for custom type indexers.
|
2020-05-05 20:38:48 +08:00 |
|
Stephen Chung
|
aae9e43109
|
Implement module-qualified functions.
|
2020-05-05 17:51:40 +08:00 |
|
Stephen Chung
|
38e717a838
|
Build Module type plus engine hooks.
|
2020-05-05 15:00:10 +08:00 |
|
Stephen Chung
|
c03b162b7e
|
Refactor code base and split into more module files.
|
2020-05-05 12:24:13 +08:00 |
|
Stephen Chung
|
143861747d
|
Rename sub-scope/SubScope to module.
|
2020-05-05 10:39:12 +08:00 |
|
Stephen Chung
|
64036f69ca
|
Refine modules.
|
2020-05-04 23:07:42 +08:00 |
|
Stephen Chung
|
2bdd174f16
|
Add import statement.
|
2020-05-04 19:36:58 +08:00 |
|
Stephen Chung
|
b94fa31e21
|
Merge branch 'master' into namespace
|
2020-05-04 18:06:39 +08:00 |
|
Stephen Chung
|
798e1df298
|
Do not error when a property is read-only.
|
2020-05-04 18:06:09 +08:00 |
|
Stephen Chung
|
ead9716f6d
|
Add namespacing syntax.
|
2020-05-04 17:43:54 +08:00 |
|
Stephen Chung
|
4bf07182dc
|
Merge branch 'namespace' of https://github.com/schungx/rhai into namespace
|
2020-05-04 10:42:57 +08:00 |
|
Stephen Chung
|
7da9d265d3
|
Avoid copying parameters for function calls.
|
2020-05-04 10:41:58 +08:00 |
|
jhwgh1968
|
7011e4068f
|
Start on namespaces
|
2020-05-03 12:19:01 -05:00 |
|
Stephen Chung
|
3d05cc96cd
|
Remove downcast_XXX from Variant.
|
2020-05-03 22:17:28 +08:00 |
|
Stephen Chung
|
d83b829810
|
Avoid copying arguments for function calls.
|
2020-05-03 16:54:24 +08:00 |
|
Stephen Chung
|
fc99b981a1
|
Fix panic when string character index is OOB.
|
2020-05-01 23:39:55 +08:00 |
|
Stephen Chung
|
c7c7fe3dfc
|
Reduce size of Expr and Stmt by Boxing strings.
|
2020-05-01 17:32:39 +08:00 |
|
Stephen Chung
|
5c5e1db61e
|
Cleanup code.
|
2020-05-01 10:17:19 +08:00 |
|
Stephen Chung
|
4f91e7fbcf
|
Avoid copying in Dynamic.
|
2020-04-30 22:52:36 +08:00 |
|
Stephen Chung
|
21c3edb31e
|
Streamline.
|
2020-04-29 16:11:54 +08:00 |
|
Stephen Chung
|
304c658f89
|
Use scope offset for variable access.
|
2020-04-28 23:05:03 +08:00 |
|
Stephen Chung
|
9ad9dd52ab
|
Reduce unnecessary Cow's in Expr.
|
2020-04-28 19:39:36 +08:00 |
|
Stephen Chung
|
6351c07bc6
|
Fix compiling for all features.
|
2020-04-28 19:39:28 +08:00 |
|
Stephen Chung
|
d3a97dc86b
|
Remove EntryRef from Scope.
|
2020-04-27 22:49:09 +08:00 |
|
Stephen Chung
|
d043300ae2
|
Reduce unnecessary Option's.
|
2020-04-27 21:28:31 +08:00 |
|
Stephen Chung
|
c2bb1f48c2
|
Reduce size of scope entry.
|
2020-04-27 21:14:34 +08:00 |
|
Stephen Chung
|
43fdf3f962
|
FunctionsLib always exist.
|
2020-04-27 20:43:55 +08:00 |
|
Stephen Chung
|
b3e4659790
|
Encapsulate index values into StaticVec type.
|
2020-04-27 20:25:20 +08:00 |
|
Stephen Chung
|
5afeba6fd1
|
No need to return value for Scope::get.
|
2020-04-27 11:24:58 +08:00 |
|
Stephen Chung
|
07c5abcc02
|
Remove RefCell in Scope.
|
2020-04-27 09:36:31 +08:00 |
|
Stephen Chung
|
ce121ed6af
|
Add comments and minor refactor.
|
2020-04-26 21:48:49 +08:00 |
|
Stephen Chung
|
f5c7d7cd0d
|
Reduce memory footprint of Target.
|
2020-04-26 19:37:32 +08:00 |
|
Stephen Chung
|
33d3e34908
|
Deep linking for dot/index chains.
|
2020-04-26 18:04:07 +08:00 |
|
Stephen Chung
|
9998cf8890
|
Avoid copying iterator sources.
|
2020-04-24 22:54:56 +08:00 |
|
Stephen Chung
|
3cb3dc8e4f
|
Fix shift function.
|
2020-04-24 20:05:34 +08:00 |
|
Stephen Chung
|
fb8459d4de
|
Remove unnecessary usings.
|
2020-04-24 20:05:28 +08:00 |
|
Stephen Chung
|
b6d839c8a9
|
Fix no_std build.
|
2020-04-24 12:39:24 +08:00 |
|
Stephen Chung
|
5aaaa7be3b
|
Simplify parsing by expecting the tokens stream will never be exhausted.
|
2020-04-23 13:24:24 +08:00 |
|
Stephen Chung
|
a4bf572d5a
|
Filter out reg_test so it doesn't prevent compiling.
|
2020-04-23 13:23:25 +08:00 |
|
Stephen Chung
|
5b41985ccc
|
Fix doc test in on_debug.
|
2020-04-23 13:22:53 +08:00 |
|
Stephen Chung
|
e7cc403381
|
Warn against eval in method-call style.
|
2020-04-23 13:22:28 +08:00 |
|
Stephen Chung
|
05bad53011
|
Encapsulate function calls and handle map property access more efficiently.
|
2020-04-23 10:21:02 +08:00 |
|
Stephen Chung
|
ef9d870a82
|
Remove builtin.rs
|
2020-04-22 19:28:00 +08:00 |
|
Stephen Chung
|
fbfea60903
|
Disallow assignments in expressions.
|
2020-04-22 17:37:06 +08:00 |
|
Stephen Chung
|
7df36033c4
|
Warn against === and !==.
|
2020-04-22 17:36:51 +08:00 |
|
Stephen Chung
|
9a1c715aad
|
Refine package API.
|
2020-04-22 14:55:40 +08:00 |
|
Stephen Chung
|
c40c0a0bc3
|
Add From<Vec<T>> and From<HashMap<String, T>> for Dynamic.
|
2020-04-22 14:07:34 +08:00 |
|
Stephen Chung
|
c69647d9fd
|
Change Dynamic::from_xxx to From<xxx> impl.
|
2020-04-22 12:12:13 +08:00 |
|