Commit Graph

2882 Commits

Author SHA1 Message Date
Stephen Chung
d579c1b208
Merge pull request #407 from schungx/master
Add no_position feature.
2021-04-22 23:21:51 +08:00
Stephen Chung
1fbbb2a40d Fix doc test. 2021-04-22 23:09:10 +08:00
Stephen Chung
a54fbb32ff Add no_position feature. 2021-04-22 23:02:25 +08:00
Stephen Chung
fe37edd123 Add Stmt::FnCall. 2021-04-21 18:16:24 +08:00
Stephen Chung
cc546fcaab Add version to repl. 2021-04-21 17:39:45 +08:00
Stephen Chung
956c57e9d6 Fix no-std build. 2021-04-21 10:05:28 +08:00
Stephen Chung
815f7ba09e Remove Expr::FnPointer. 2021-04-20 23:40:52 +08:00
Stephen Chung
ce384d8bb0 Change FnPtr to SmartString. 2021-04-20 23:28:04 +08:00
Stephen Chung
8f1bff2ded Change hash to hashes. 2021-04-20 22:26:08 +08:00
Stephen Chung
61d06183ea Speed up Array/Map Dynamic construction. 2021-04-20 22:21:51 +08:00
Stephen Chung
8ff1f57900 Remove redundant std. 2021-04-20 19:19:35 +08:00
Stephen Chung
0f66c67f82 Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
Stephen Chung
f7d523e983
Merge pull request #406 from schungx/master
Fix hanging when parsing unterminated statements block.
2021-04-20 11:37:01 +08:00
Stephen Chung
a186eb8d97 Fix hanging when parsing unterminated statements block. 2021-04-20 11:22:38 +08:00
Stephen Chung
e9de975450 Notes on how to install tools. 2021-04-20 11:06:05 +08:00
Stephen Chung
b73d7f21a4
Merge pull request #404 from schungx/master
Fix bugs.
2021-04-19 23:05:58 +08:00
Stephen Chung
272a824ec4 Use global constant. 2021-04-19 22:40:20 +08:00
Stephen Chung
e4ffd2d52a Fix codegen test. 2021-04-19 22:12:20 +08:00
Stephen Chung
46b22ddd96 Fix tests. 2021-04-19 18:08:29 +08:00
Stephen Chung
ea866cead5 More array tests. 2021-04-19 17:02:17 +08:00
Stephen Chung
e88fb071f7 Fix module test. 2021-04-19 15:41:24 +08:00
Stephen Chung
1ecb2b170f Remove redundant statement. 2021-04-19 15:11:05 +08:00
Stephen Chung
c5e716e71f Fix zero position bugs in array methods. 2021-04-19 15:11:03 +08:00
Stephen Chung
1145c5a4c0 Update rust_decimal. 2021-04-18 21:35:55 +08:00
Stephen Chung
bd145bd080 Do not unnecessarily reindex module. 2021-04-17 22:19:48 +08:00
Stephen Chung
2efe9d08a4 Skip eval if statements are empty. 2021-04-17 22:19:34 +08:00
Stephen Chung
87e1921aad
Merge pull request #400 from schungx/master
Automatic global module.
2021-04-17 19:08:46 +08:00
Stephen Chung
90198d5440 Fix test. 2021-04-17 18:59:20 +08:00
Stephen Chung
eefdc09352 Allow shadowing of global. 2021-04-17 18:40:16 +08:00
Stephen Chung
9a8da93145 Delay creation of global module until actually needed. 2021-04-17 18:10:57 +08:00
Stephen Chung
1be7e60be2 Automatic global module. 2021-04-17 17:25:35 +08:00
Stephen Chung
9a409b5b49 Simplify script. 2021-04-17 16:25:39 +08:00
Stephen Chung
b5ade8dad0
Merge pull request #399 from schungx/master
Use no-std-compat to build no-std.
2021-04-17 15:35:20 +08:00
Stephen Chung
01f0cc028b Use no-std-compat to build no-std. 2021-04-17 15:15:54 +08:00
Stephen Chung
2f2b7403cb Streamline as_mut to &mut. 2021-04-17 13:54:24 +08:00
Stephen Chung
199df9aa4a Use deref for Target. 2021-04-17 13:36:51 +08:00
Stephen Chung
807a14eaa2 call_fn always evalutes AST. 2021-04-17 13:36:23 +08:00
Stephen Chung
6c92011ea1 Hide is_shared and is_locked under feature gates. 2021-04-17 12:03:29 +08:00
Stephen Chung
b54d44c670
Merge pull request #398 from schungx/master
Finalize 0.20.0.
2021-04-16 22:25:29 +08:00
Stephen Chung
6eaee57578 Bump version. 2021-04-16 22:07:18 +08:00
Stephen Chung
e31506fe51 Bump version. 2021-04-16 21:59:11 +08:00
Stephen Chung
2b10c5c6c1 Correct position of negative numbers. 2021-04-16 21:59:05 +08:00
Stephen Chung
7d1ec1b4b7
Merge pull request #397 from schungx/master
Switch case conditions.
2021-04-16 13:39:42 +08:00
Stephen Chung
208e5fdbf4 New switch errors. 2021-04-16 13:28:36 +08:00
Stephen Chung
1f987ec61a Streamine StmtBlock. 2021-04-16 13:15:11 +08:00
Stephen Chung
980a13ca42 Add switch case conditions. 2021-04-16 12:04:33 +08:00
Stephen Chung
c5128e15d5 Fix scripts. 2021-04-16 10:33:55 +08:00
Stephen Chung
8da4c0c2b2 Default switch case must be last. 2021-04-16 09:41:02 +08:00
Stephen Chung
187dbe537f Improve debug AST printing. 2021-04-13 15:52:45 +08:00
Stephen Chung
5a0199f44f Explanation of parse_string_literal return values. 2021-04-13 14:38:04 +08:00