Commit Graph

2982 Commits

Author SHA1 Message Date
Stephen Chung
0f4e8848f9 Extract index calculataion into functions. 2022-01-13 18:13:27 +08:00
Stephen Chung
4b4a6c944d Fix test. 2022-01-12 11:01:03 +08:00
Stephen Chung
37dbc68bf5 Use target_family for wasm. 2022-01-12 08:12:28 +08:00
Stephen Chung
f0e9d4a557 Use run and i64 instead of eval and INT for examples. 2022-01-11 22:12:46 +08:00
Stephen Chung
6048c5804b Bump version. 2022-01-11 12:05:01 +08:00
Stephen Chung
56602927d5
Merge pull request #505 from schungx/master
Ready release of 1.4.0.
2022-01-11 11:52:52 +08:00
Stephen Chung
77eb96bd7e Fix errors. 2022-01-11 11:40:08 +08:00
Stephen Chung
6416e406d3 Remove unnamed profile feature. 2022-01-11 11:34:15 +08:00
Stephen Chung
6dedb1ed9f Fix no_std builds. 2022-01-11 11:33:54 +08:00
Stephen Chung
00255a9b78 Merge 1.3.1 into 1.4.0. 2022-01-11 09:05:18 +08:00
Stephen Chung
f205091d0a Inline traits impl. 2022-01-10 22:51:24 +08:00
Stephen Chung
56217e386e Fix debug for Engine. 2022-01-10 22:51:04 +08:00
Stephen Chung
5d90b3274c Catch unsupported custom syntax. 2022-01-10 20:08:03 +08:00
Stephen Chung
ea6c264f5f Fix builds. 2022-01-10 13:43:30 +08:00
Stephen Chung
efd57c600b Add test for literal operations. 2022-01-10 13:29:22 +08:00
Stephen Chung
d15470fd4b Change eval<()> to run. 2022-01-10 13:26:33 +08:00
Stephen Chung
1e0d46fc13 Fix debug print for GlobalRuntimeStates. 2022-01-09 18:43:12 +08:00
Stephen Chung
683cf31de2 Add more tests. 2022-01-09 17:26:46 +08:00
Stephen Chung
e4e2bb3356 Fix builds. 2022-01-09 12:44:24 +08:00
Stephen Chung
d1749131c5 Add missing data size check. 2022-01-08 23:23:43 +08:00
Stephen Chung
f399e8a905 Evaluate function call args more efficiently. 2022-01-08 18:40:19 +08:00
Stephen Chung
afb651d0aa Support converting literal FnPtr. 2022-01-08 14:00:41 +08:00
Stephen Chung
d18bb041a0
Delete benchmark.yml 2022-01-07 12:32:05 +08:00
Stephen Chung
9783abe73f
Merge pull request #504 from schungx/master
Split Engine into eval folder.
2022-01-07 12:30:25 +08:00
Stephen Chung
047e65223d Fix builds. 2022-01-07 12:19:01 +08:00
Stephen Chung
a267ac5e54 Split Engine into eval folder. 2022-01-07 11:43:47 +08:00
Stephen Chung
ad0f7b7ce9 Revert delete of benchmark.yml. 2022-01-07 11:23:44 +08:00
Stephen Chung
595636add4
Merge pull request #503 from schungx/master
Efficiency refactor.
2022-01-07 10:50:24 +08:00
Stephen Chung
c6afc092d9
Merge branch 'master' into master 2022-01-07 10:14:41 +08:00
Stephen Chung
33bfff3722 Fix build. 2022-01-06 23:29:11 +08:00
Stephen Chung
c75d51ae88 Reduce unnecessary data size checking. 2022-01-06 22:10:16 +08:00
Stephen Chung
de6cb36503 Lift function calls out of match block in eval_stmt. 2022-01-06 16:06:31 +08:00
Stephen Chung
80edb1200d Fix Array::pad limits. 2022-01-06 15:30:17 +08:00
Stephen Chung
0a63e1732b Optimize hot path in Engine::eval_expr. 2022-01-06 15:28:53 +08:00
Stephen Chung
2e050f8f88 Reduce data size checking. 2022-01-06 13:40:03 +08:00
Stephen Chung
ed89817d0c Reverse tail call optimization. 2022-01-06 12:31:46 +08:00
Stephen Chung
bc6bf6c6ba Change expect("exists") to unwrap(). 2022-01-06 11:07:52 +08:00
Stephen Chung
b1b4361d08 Fix documentation. 2022-01-06 10:19:25 +08:00
magnus
7bf517b242 Fix documentation 2022-01-06 10:18:02 +08:00
Stephen Chung
071d6900c4
Merge pull request #502 from magnusja/patch-1
Fix documentation (dymanic::cast does not return an Option)
2022-01-06 10:16:37 +08:00
magnus
580b46b576
Fix documentation 2022-01-05 16:08:02 +01:00
Stephen Chung
123e8b1b48 Improve FnPtr debug display. 2022-01-05 13:48:25 +08:00
Stephen Chung
2b613fdff3 Remove unneeded strings interner for modules. 2022-01-05 13:40:49 +08:00
Stephen Chung
97295a66da Fix test. 2022-01-05 13:24:52 +08:00
Stephen Chung
a0531129df Restructure expression dispatch. 2022-01-05 13:14:18 +08:00
Stephen Chung
f35c9c1ac4 Refactor imports. 2022-01-05 12:52:56 +08:00
Stephen Chung
328f6910b6 Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
Stephen Chung
d99953c101 Fixup AsRef<str> vs &str. 2022-01-04 15:22:48 +08:00
Stephen Chung
1d1e473ac4 Minor refactor. 2022-01-03 23:16:47 +08:00
Stephen Chung
d60f14ec27 Streamline hot code. 2022-01-03 23:11:06 +08:00