Stephen Chung
|
ec036e4039
|
Merge branch 'master' into plugins
|
2020-04-27 22:52:37 +08:00 |
|
Stephen Chung
|
41366d08fe
|
Fix tests and packages for all features.
|
2020-04-27 22:52:20 +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
|
5da9bc0f98
|
Merge pull request #6 from schungx/master
Avoid copying iterator sources.
|
2020-04-26 17:03:28 +08:00 |
|
jhwgh1968
|
e59f6939f7
|
Added basic Plugin trait and test
|
2020-04-25 19:15:06 -05: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 |
|
Stephen Chung
|
69733688bf
|
Make all public API's return Box<EvalAltResult> to reduce footprint.
|
2020-04-21 23:25:12 +08:00 |
|
Stephen Chung
|
0a75479637
|
Refine packages plumbing.
|
2020-04-21 23:01:10 +08:00 |
|
Stephen Chung
|
e394824bf3
|
Fixes.
|
2020-04-21 00:24:25 +08:00 |
|
Stephen Chung
|
0306d15c04
|
Split core and standard libraries into packages.
|
2020-04-21 00:11:25 +08:00 |
|
Stephen Chung
|
976f3a7f6d
|
Avoid an allocation in each function registration.
|
2020-04-20 12:43:34 +08:00 |
|
Stephen Chung
|
a1e33af5a0
|
Reduce size of Position by limiting resolution to 16 bits.
|
2020-04-20 11:08:54 +08:00 |
|
Stephen Chung
|
642533aef6
|
Extract function registration into a macro to prepare for future packages support.
|
2020-04-19 22:58:44 +08:00 |
|
Stephen Chung
|
b23fd6e20a
|
Reshuffle code sections.
|
2020-04-19 18:33:02 +08:00 |
|
Stephen Chung
|
d3d62c7dd9
|
Anticipate number of functions to be registered.
|
2020-04-19 13:40:11 +08:00 |
|
Stephen Chung
|
1ebdf6dcfc
|
Add one more level of Boxing for Dynamic::Variant to reduce size.
|
2020-04-18 12:36:10 +08:00 |
|
Stephen Chung
|
a0bc49c867
|
Reduce size of Dynamic by boxing large types.
|
2020-04-18 11:10:03 +08:00 |
|
Stephen Chung
|
f5fff828e8
|
Box errors to reduce return type footprint.
|
2020-04-18 00:14:33 +08:00 |
|
Stephen Chung
|
65d611b976
|
FIX: no_float errors.
|
2020-04-17 20:08:41 +08:00 |
|
Stephen Chung
|
c5f66e932b
|
Simplify parsing by introducing an EOF token.
|
2020-04-17 20:01:41 +08:00 |
|
Stephen Chung
|
5d9a99cefc
|
Refine postfix operators handling.
|
2020-04-17 19:00:52 +08:00 |
|
Stephen Chung
|
3a93ab8240
|
Make FunctionsLib a HashMap.
|
2020-04-16 23:58:57 +08:00 |
|
Stephen Chung
|
f8e9d66a0b
|
Remove lifetime from Engine.
|
2020-04-16 23:31:48 +08:00 |
|
Stephen Chung
|
4f2350734f
|
Avoid copying indexed value if not necessary.
|
2020-04-16 12:08:28 +08:00 |
|
Stephen Chung
|
1ace4b474c
|
Favor matching on Union's instead of downcast::<T>, as_xxx() or is::<T>.
|
2020-04-16 10:24:30 +08:00 |
|
Stephen Chung
|
c799a4567a
|
Remove IndexSourceType.
|
2020-04-16 00:05:07 +08:00 |
|
Stephen Chung
|
a35518fe49
|
Split tokenizer into separate file, plus fix no_std feature.
|
2020-04-15 22:21:23 +08:00 |
|