Commit Graph

2117 Commits

Author SHA1 Message Date
Stephen Chung
78dfec696f
Merge pull request #310 from schungx/master
Revise Rhai logo.
2020-12-18 19:14:35 +08:00
Stephen Chung
5454ff0cd5 Revise Rhai logo. 2020-12-18 19:12:30 +08:00
Stephen Chung
882b26d2a1 Change ScriptFnMetadata to hold references. 2020-12-18 16:31:44 +08:00
Stephen Chung
719f0babbf Fix comments parsing. 2020-12-18 16:07:19 +08:00
Stephen Chung
fc54fdc907 Emphasize custom syntax are expressions. 2020-12-17 10:42:20 +08:00
Stephen Chung
95b8dcc623 Update docs. 2020-12-16 14:57:28 +08:00
Stephen Chung
a6bcf5c6c7
Merge pull request #309 from schungx/master
Provide look-ahead to custom syntax parser.
2020-12-15 19:35:00 +08:00
Stephen Chung
f8c14ba1c4 Add look-ahead to custom syntax parser. 2020-12-15 19:23:30 +08:00
Stephen Chung
17310ef576 Encapsulate structures. 2020-12-14 23:05:13 +08:00
Stephen Chung
5ea6efe6fd Add doc-comment docs. 2020-12-14 15:15:16 +08:00
Stephen Chung
6f2fecb76b Add type iterator docs. 2020-12-14 15:15:05 +08:00
Stephen Chung
ecc08271d9 Include actual tokens in custom syntax node. 2020-12-13 14:31:24 +08:00
Stephen Chung
b5879f9304
Merge pull request #307 from schungx/master
Better treatment of constants and doc-comments for functions.
2020-12-12 20:20:31 +08:00
Stephen Chung
87174de051 Add doc-comment to function metadata. 2020-12-12 20:09:29 +08:00
Stephen Chung
26449a9f1c Add ScriptFnMetadata. 2020-12-12 18:44:28 +08:00
Stephen Chung
1087c338bd Change output of AST::iter_functions. 2020-12-12 16:31:13 +08:00
Stephen Chung
dbdb8f43b7 Change AST to struct. 2020-12-12 15:57:55 +08:00
Stephen Chung
40b6a014ae Provide Position to debug. 2020-12-12 11:47:18 +08:00
Stephen Chung
5443368359 Pass Position into function calls. 2020-12-12 11:15:09 +08:00
Stephen Chung
4438c358d5 on_progress takes u64. 2020-12-12 10:10:27 +08:00
Stephen Chung
bed29da71a Use ImmutableString. 2020-12-11 12:57:07 +08:00
Stephen Chung
839da9c7f0 Increase switch benchmark size. 2020-12-11 12:51:28 +08:00
Stephen Chung
99dd7a6481 Share constant variables for closures. 2020-12-09 21:06:36 +08:00
Stephen Chung
dbee0eb0f5 Rename AccessType to ReadWrite and ReadOnly. 2020-12-09 18:37:52 +08:00
Stephen Chung
7598ec136f Fix feature builds. 2020-12-08 23:09:12 +08:00
Stephen Chung
f22a04fc74 Move constancy into Dynamic. 2020-12-08 22:47:38 +08:00
Stephen Chung
8e8069f819 Do not propagate constants if shadowed. 2020-12-08 22:20:29 +08:00
Stephen Chung
aff207d4f4 Bump version. 2020-12-07 22:21:02 +08:00
Stephen Chung
852dd5c777
Merge pull request #305 from schungx/master
0.19.7
2020-12-07 22:02:58 +08:00
Stephen Chung
bd52333802 Add namespace test. 2020-12-07 21:54:52 +08:00
Stephen Chung
c5babac3da Quote map property names. 2020-11-30 22:02:32 +08:00
Stephen Chung
344e99d2be
Merge pull request #304 from schungx/master
Print arrays and maps using to_debug.
2020-11-30 21:26:59 +08:00
Stephen Chung
4c4a209609 Fix tests. 2020-11-30 21:16:59 +08:00
Stephen Chung
1004bca5b5 Print arrays and maps with to_debug. 2020-11-30 11:20:51 +08:00
Stephen Chung
65a4ceb3be Getters/setters and indexers in a plugin module are default global. 2020-11-30 00:52:21 +08:00
Stephen Chung
7881f2bde2
Merge pull request #301 from schungx/master
Fix features.
2020-11-28 17:37:22 +08:00
Stephen Chung
2e33f35f48 Fix CI test. 2020-11-28 17:11:27 +08:00
Stephen Chung
b098160262 New CI test. 2020-11-28 16:58:02 +08:00
Stephen Chung
36546c7325 Fix builds 2020-11-27 23:37:59 +08:00
Stephen Chung
a0979d0c35 Code cleanup 2020-11-25 09:36:06 +08:00
Stephen Chung
05d51ef510 Bump version. 2020-11-24 09:40:08 +08:00
Stephen Chung
e152e0646b
Merge pull request #299 from schungx/master
Allow floating point numbers ending in a period.
2020-11-23 23:10:50 +08:00
Stephen Chung
86009c70c8 Allow floating point numbers ending in a period. 2020-11-23 22:51:21 +08:00
Stephen Chung
9dcf47a5f2
Merge pull request #298 from schungx/master
Add get_fn_metadata_list.
2020-11-23 22:05:05 +08:00
Stephen Chung
36aa827e15 Simply interned strings dict. 2020-11-23 21:12:57 +08:00
Stephen Chung
2d73468723 Add doc on Engine::gen_fn_signatures. 2020-11-23 20:27:20 +08:00
Stephen Chung
9abd397276 Fix no_function build. 2020-11-23 20:26:28 +08:00
Stephen Chung
b43223a94f Add get_fn_metadata_list. 2020-11-23 19:11:32 +08:00
Stephen Chung
8d410dfc71 Add return type to function metadata. 2020-11-22 22:15:17 +08:00
Stephen Chung
c18a6451f4
Merge pull request #296 from schungx/master
gen_fn_signatures API.
2020-11-22 17:59:43 +08:00