Commit Graph

3517 Commits

Author SHA1 Message Date
Stephen Chung
457be797a2 Fixed bug in using error variable within catch block. 2021-09-02 22:17:45 +08:00
Stephen Chung
7b2b26aa0d Separate is_valid_function_name. 2021-08-30 15:42:47 +08:00
Stephen Chung
bb28ec03a2
Merge pull request #440 from schungx/master
Minor refinements.
2021-08-30 12:23:40 +08:00
Stephen Chung
cb90ce96d2 Fix codegen test. 2021-08-30 12:12:25 +08:00
Stephen Chung
b6d38a8fc9 Fix metadata build. 2021-08-30 10:25:24 +08:00
Stephen Chung
a95f07fef5 Revise CPU/OS support line. 2021-08-30 10:14:41 +08:00
Stephen Chung
6faa6358f0 Simplify code by merging Engine::global_namespace with Engine::global_modules. 2021-08-30 10:09:28 +08:00
Stephen Chung
6f3de4c803 Fix doc test. 2021-08-27 12:10:58 +08:00
Stephen Chung
aec4417bd5 Refine expect messages. 2021-08-26 23:58:41 +08:00
Stephen Chung
2a760eb44b Update doc-comments. 2021-08-24 12:04:53 +08:00
Stephen Chung
db3049e574 Engine::register_type_XXX available under no_object. 2021-08-23 23:10:54 +08:00
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