Commit Graph

3130 Commits

Author SHA1 Message Date
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
Stephen Chung
8531567ee9 Fix builds. 2021-07-24 14:23:14 +08:00
Stephen Chung
df482d3574 Satisfy clippy. 2021-07-24 14:11:16 +08:00
Stephen Chung
b8485b1909 Fix bug in indexing. 2021-07-24 12:27:33 +08:00
Stephen Chung
106c8ab5d1 Fix builds. 2021-07-14 22:33:47 +08:00
Stephen Chung
e3668227c0 Remove absolute path for files in the current directory. 2021-07-14 18:32:22 +08:00
Stephen Chung
7c93622b57 Handle more data types in Expr::from_dynamic. 2021-07-14 14:00:10 +08:00
Stephen Chung
cb312539fb Fix ImmutableString docs. 2021-07-14 13:58:50 +08:00
Stephen Chung
925325820e Make some Position functions const. 2021-07-14 13:58:18 +08:00
Stephen Chung
0e77c4f9a0 Short-circuit optimizations for special keywords. 2021-07-14 13:57:58 +08:00
Stephen Chung
5def8f04bd Remove From<Dynamic> for Expr in favor of Expr::from_dynamic. 2021-07-14 13:53:04 +08:00
Stephen Chung
dad1fe8392 Handle more data types in Expr::from_dynamic. 2021-07-14 13:52:40 +08:00
Stephen Chung
713f8ea672 Implement more methods for custom iterators. 2021-07-12 13:05:38 +08:00
Stephen Chung
fe6691752b Use smartstring 0.2.7 for no-std. 2021-07-12 12:11:53 +08:00
Stephen Chung
e0673a2f1a Change some #[inline(always)] to [#inline]. 2021-07-10 11:06:13 +08:00
Stephen Chung
4d25fd0192 Remove unnecessary AsRef<str>. 2021-07-10 10:11:14 +08:00
Stephen Chung
d517a0219b Revert "Remove unnecessary imports."
This reverts commit d6220f0d8d.
2021-07-08 23:03:36 +08:00
Stephen Chung
d6220f0d8d Remove unnecessary imports. 2021-07-08 22:42:50 +08:00
Stephen Chung
75a8a4d4e3 Enable json command in REPL. 2021-07-08 14:09:31 +08:00
Stephen Chung
9418d7b0c8 Add no_std_repl sample. 2021-07-08 14:02:38 +08:00
Stephen Chung
ae1f859225 Bump codegen version requirement. 2021-07-08 12:07:30 +08:00
Stephen Chung
51a9c55991
Merge pull request #425 from schungx/master
Bump codegen.
2021-07-07 08:39:39 +08:00
Stephen Chung
204c08a131 Bump codegen. 2021-07-07 08:38:56 +08:00
Stephen Chung
a7dc824dbe
Merge pull request #424 from schungx/master
Unreserve begin, end, then, each, unless
2021-07-06 10:17:24 +08:00
Stephen Chung
9cb7610cc5 Unreserve begin, end, then, each, unless 2021-07-06 09:51:29 +08:00
Stephen Chung
ae5a4a8165
Merge pull request #423 from schungx/master
Prepare for 1.0.
2021-07-04 17:24:46 +08:00
Stephen Chung
68270e9b61 Revert no-std profile changes and fix README. 2021-07-04 17:09:50 +08:00