Commit Graph

2906 Commits

Author SHA1 Message Date
Stephen Chung
4f4d024418
Merge pull request #439 from schungx/master
v1.1
2021-08-21 13:05:04 +08:00
Stephen Chung
33d1006d28 Fix test output. 2021-08-21 11:51:45 +08:00
Stephen Chung
de674b99e9 Revise CI. 2021-08-21 10:09:32 +08:00
Stephen Chung
58352e00bd Prevent spill-over of new variables in Engine::call_fn. 2021-08-17 23:24:41 +08:00
Stephen Chung
b6eac65601 Simplify code. 2021-08-17 18:14:16 +08:00
Stephen Chung
9c6cea3c9f Add Scope::set_or_push. 2021-08-17 15:51:14 +08:00
Stephen Chung
0354f154ce Add Scope::is_constant. 2021-08-17 15:51:14 +08:00
Stephen Chung
114c93f430 Fix bug in custom syntax starting with disabled stardard keyword. 2021-08-17 15:51:14 +08:00
Stephen Chung
c1b4c81e75 Scope::set_value takes name that implements Into<Cow<str>>. 2021-08-17 15:51:14 +08:00
Stephen Chung
b915433b00 Change build config to v1.1. 2021-08-17 15:51:14 +08:00
Stephen Chung
4c658bc932 Bump version to 1.1.0. 2021-08-17 15:51:13 +08:00
Stephen Chung
288d575046 Add log10 for Decimal. 2021-08-17 15:50:56 +08:00
Stephen Chung
06f217d526 Move deprecated functions into separate file. 2021-08-17 15:50:56 +08:00
Stephen Chung
180ad77224 Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
Stephen Chung
e0125a1033 Allow self-terminating custom syntax. 2021-08-17 15:50:56 +08:00
Stephen Chung
3127f9a8af Add new constant from functions for Dynamic. 2021-08-17 15:50:56 +08:00
Stephen Chung
ffb1531e0e New constants for Dynamic. 2021-08-17 15:50:56 +08:00
Stephen Chung
94674679d9 Rename as_string and as_immutable_string. 2021-08-17 15:50:55 +08:00
Stephen Chung
b21deaf052 Support $symbol$ in custom syntax. 2021-08-17 15:50:55 +08:00
Stephen Chung
e0cae4546c Polyfiill some functions for decimal+no_float. 2021-08-17 15:50:54 +08:00
Stephen Chung
e4c26376d7
Merge pull request #437 from schungx/master
Add to CHANGELOG.
2021-08-17 15:48:29 +08:00
Stephen Chung
73c0ba4ec5 Add to CHANGELOG. 2021-08-17 15:46:21 +08:00
Stephen Chung
e55f962b2d
Merge pull request #436 from schungx/master
Fix bug.
2021-08-17 15:43:48 +08:00
Stephen Chung
0481073ed9 Bump version. 2021-08-17 15:43:02 +08:00
Stephen Chung
d0f6a2283f Bump version. 2021-08-17 15:41:46 +08:00
Stephen Chung
224a2dfb60 Fix bug in dotting-indexing. 2021-08-17 15:32:48 +08:00
Stephen Chung
8a8bc2adfb Improve FnPtr debug display. 2021-08-17 15:32:12 +08:00
Stephen Chung
3610b5eb7e Change some inline(always) into inline. 2021-08-14 15:10:37 +08:00
Stephen Chung
0f46bc7725 Fix builds. 2021-08-13 14:04:27 +08:00
Stephen Chung
dba4510456 Better function parameter names. 2021-08-13 13:42:39 +08:00
Stephen Chung
4bf22e6cb7 Fix test output. 2021-08-12 11:53:05 +08:00
Stephen Chung
d9f1f663ee Simplify custom syntax test. 2021-08-11 19:27:15 +08:00
Stephen Chung
805163912d Bump version. 2021-08-06 15:30:47 +08:00
Stephen Chung
b3a1c12d81
Merge pull request #434 from schungx/master
Bug fixes.
2021-08-06 15:28:33 +08:00
Stephen Chung
278b840e13 Fix unchecked build. 2021-08-04 18:57:52 +08:00
Stephen Chung
9b56c1ba78 Optimize loops better. 2021-08-04 17:40:26 +08:00
Stephen Chung
4807fdf1cf Loops cannot be pure. 2021-08-04 17:37:56 +08:00
Stephen Chung
81770f00e0 Rename variables and constants for bit flags. 2021-08-04 11:16:11 +08:00
Stephen Chung
1d82a11f0b Change AST nodes to use bitflags for options. 2021-08-03 22:19:25 +08:00
Stephen Chung
8ea6424d50 Rename syntax to custom_syntax. 2021-08-02 10:16:28 +08:00
Stephen Chung
a05142d4e9 Change Rhai dependency to 1. 2021-08-01 22:22:00 +08:00
Stephen Chung
abb4884869
Merge pull request #433 from schungx/master
Minor refinements.
2021-08-01 22:12:13 +08:00
Stephen Chung
0944261b88 Merge Stmt::Let and Stmt::Const into Stmt::Var. 2021-08-01 11:59:53 +08:00
Stephen Chung
39f4baf769 Bump Instant version to 0.1.10 to avoid erros when compiling with emscripten. 2021-07-30 17:36:32 +08:00
Stephen Chung
6955c77b76 Remove no_std_repl. 2021-07-26 22:24:11 +08:00
Stephen Chung
29133cf973 Satisfy clippy. 2021-07-26 22:22:27 +08:00
Stephen Chung
2c50738c6c Change field names of EvalState. 2021-07-26 10:03:46 +08:00
Stephen Chung
c7498503ba Use lower case for feature marker. 2021-07-25 22:56:05 +08:00
Stephen Chung
6cb710652b Fix doc link. 2021-07-25 11:51:26 +08:00
Stephen Chung
fe5af8a272
Merge pull request #430 from schungx/master
Fix bug in indexing.
2021-07-24 14:33:31 +08:00