Stephen Chung
|
10da4d8976
|
LexError directly to ParseError.
|
2020-12-22 11:55:51 +08:00 |
|
Stephen Chung
|
8c41e549f7
|
Add Engine::gen_fn_metadata_with_ast_to_json.
|
2020-12-22 11:13:13 +08:00 |
|
Stephen Chung
|
ff67efc6d5
|
Add source to contexts.
|
2020-12-21 23:12:45 +08:00 |
|
Stephen Chung
|
b1e8f52135
|
Merge pull request #311 from schungx/master
A bunch of new features and bug fixes.
|
2020-12-21 22:18:11 +08:00 |
|
Stephen Chung
|
5ac83f0f46
|
Add context source to on_debug.
|
2020-12-21 22:04:46 +08:00 |
|
Stephen Chung
|
2955a4ab64
|
Fix unary operators binding.
|
2020-12-21 17:39:37 +08:00 |
|
Stephen Chung
|
730a7320d6
|
Run eval with new State.
|
2020-12-20 23:46:46 +08:00 |
|
Stephen Chung
|
cec27846ea
|
Simplify code.
|
2020-12-20 23:25:11 +08:00 |
|
Stephen Chung
|
f99703f951
|
Add Engine::disable_doc_comments and smarter doc-comments treatment.
|
2020-12-20 20:05:23 +08:00 |
|
Stephen Chung
|
22039b24b3
|
Add export to JSON.
|
2020-12-20 12:27:47 +08:00 |
|
Stephen Chung
|
c6a3ce2cd5
|
Add metadata export to JSON.
|
2020-12-19 19:42:18 +08:00 |
|
Stephen Chung
|
0182b2d3f4
|
Correct speed claim and others in docs.
|
2020-12-19 17:46:34 +08:00 |
|
Stephen Chung
|
d73f3a1d60
|
Add functions lookup cache.
|
2020-12-18 23:47:17 +08:00 |
|
Stephen Chung
|
db7b9cb0f9
|
Native only if function call is not a valid identifier.
|
2020-12-18 23:03:56 +08:00 |
|
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 |
|