Stephen Chung
|
5035dcbf47
|
Fix builds.
|
2022-10-14 18:43:25 +08:00 |
|
Stephen Chung
|
ac05f0a0a8
|
Check if function calls cannot be scripted.
|
2022-10-14 18:31:40 +08:00 |
|
Stephen Chung
|
b65b7b05a5
|
Allow global functions in non-aliased imports.
|
2022-10-14 12:14:28 +08:00 |
|
Stephen Chung
|
796206f293
|
Fix build.
|
2022-10-05 15:15:42 +08:00 |
|
Stephen Chung
|
891214470b
|
Make limit getters available without unchecked.
|
2022-10-04 15:33:51 +08:00 |
|
Stephen Chung
|
e8fd965eba
|
Add parse_json.
|
2022-09-29 22:46:59 +08:00 |
|
Stephen Chung
|
6c777e68d3
|
Refine inlining.
|
2022-09-28 12:06:22 +08:00 |
|
Stephen Chung
|
a518ab62bb
|
Simplify strings interner.
|
2022-09-27 08:52:51 +08:00 |
|
Stephen Chung
|
bf02d040e2
|
Use tokens to speed up function name lookup.
|
2022-09-25 23:03:18 +08:00 |
|
Stephen Chung
|
def1a683ef
|
Distinguish string literals from identifiers in custom syntax parser.
|
2022-09-24 16:59:01 +08:00 |
|
Stephen Chung
|
5d275b5307
|
Simplify to calc_fn_hash.
|
2022-09-21 11:46:23 +08:00 |
|
Stephen Chung
|
40a12b2b7d
|
Remove key type from StraightHashMap.
|
2022-09-12 23:08:38 +08:00 |
|
Stephen Chung
|
c1ae9e0405
|
Add state to custom syntax.
|
2022-09-12 12:03:32 +08:00 |
|
quake
|
239438754c
|
perf: change BTreeMap to StraightHashMap
|
2022-09-05 13:13:06 +09:00 |
|
Stephen Chung
|
702bb9030a
|
Make fast operators the default.
|
2022-09-03 22:07:36 +08:00 |
|
Stephen Chung
|
0516e8088c
|
Add fast-ops feature.
|
2022-09-02 23:45:25 +08:00 |
|
Stephen Chung
|
044484c756
|
Merge 1.9.1 fixes.
|
2022-08-29 22:42:46 +08:00 |
|
Stephen Chung
|
0870318e4e
|
Fix bug in strict variables mode.
|
2022-08-29 22:26:07 +08:00 |
|
Stephen Chung
|
bf5d6ab35a
|
Shut up clippy.
|
2022-08-27 16:26:41 +08:00 |
|
Stephen Chung
|
d80184ba14
|
Allow if-expressions and switch-expressions in Engine::eval_expression.
|
2022-08-26 23:10:58 +08:00 |
|
Stephen Chung
|
2f02b30b6e
|
Use String::new() for empty strings.
|
2022-08-21 17:35:44 +08:00 |
|
Stephen Chung
|
a9b6e8b98c
|
Fix builds.
|
2022-08-18 21:16:42 +08:00 |
|
Stephen Chung
|
b75ea94908
|
Remove Interners struct.
|
2022-08-14 14:32:16 +08:00 |
|
Stephen Chung
|
28743594d0
|
Use interned strings for AST nodes.
|
2022-08-13 18:07:42 +08:00 |
|
Stephen Chung
|
cba394d73c
|
Revise strings interning.
|
2022-08-12 16:34:57 +08:00 |
|
Stephen Chung
|
bfc766f725
|
Use strings interner.
|
2022-08-11 22:56:23 +08:00 |
|
Stephen Chung
|
be448dfe4d
|
Use identifiers in format!
|
2022-08-11 19:01:23 +08:00 |
|
Stephen Chung
|
255af006ee
|
Fix doc comments.
|
2022-08-10 12:48:37 +08:00 |
|
Stephen Chung
|
8dc7137913
|
Disallow import index in closures also.
|
2022-08-09 21:46:34 +08:00 |
|
Stephen Chung
|
ac93a0bbbc
|
Fix bug in namespace searching.
|
2022-08-09 21:35:45 +08:00 |
|
Stephen Chung
|
d9ffac17fa
|
Fix tests.
|
2022-08-05 23:45:40 +08:00 |
|
Stephen Chung
|
d8532b48b6
|
Add function pointer short-hand.
|
2022-08-05 23:30:44 +08:00 |
|
Stephen Chung
|
2f948a784c
|
Clean up more clippy.
|
2022-07-27 18:04:59 +08:00 |
|
Stephen Chung
|
39dee556c4
|
Clean up clippy.
|
2022-07-27 16:04:24 +08:00 |
|
Stephen Chung
|
5d799fd325
|
Add module documentation.
|
2022-07-25 13:40:23 +08:00 |
|
Stephen Chung
|
e8d6e3f57d
|
Add unreachable comments.
|
2022-07-23 21:00:58 +08:00 |
|
Stephen Chung
|
5149c56256
|
Streamline switch case AST structure.
|
2022-07-19 13:33:53 +08:00 |
|
Stephen Chung
|
f2724444bb
|
Make default switch case Optional.
|
2022-07-18 22:30:09 +08:00 |
|
Stephen Chung
|
7dca916c45
|
Allow duplicated switch cases.
|
2022-07-18 13:40:41 +08:00 |
|
Stephen Chung
|
4b760d1d0f
|
Unroll switch ranges if possible.
|
2022-07-18 08:54:10 +08:00 |
|
Stephen Chung
|
b4dbc7619a
|
Add no_custom_syntax.
|
2022-07-05 22:59:03 +08:00 |
|
Stephen Chung
|
b6528bd51d
|
Reduce usage of as_ref and as_mut.
|
2022-07-05 16:26:38 +08:00 |
|
Stephen Chung
|
9319f87a7b
|
Fix builds.
|
2022-07-04 17:47:59 +08:00 |
|
Stephen Chung
|
dee66a409f
|
Add case alternatives for switch.
|
2022-07-04 17:42:24 +08:00 |
|
Stephen Chung
|
2b44778a5c
|
Add elvis operator for indexing.
|
2022-06-12 00:32:12 +08:00 |
|
Stephen Chung
|
8999872d62
|
Add null coalescing operator.
|
2022-06-10 11:22:33 +08:00 |
|
Stephen Chung
|
0f1e51b1c9
|
Support Elvis operator.
|
2022-06-10 10:26:06 +08:00 |
|
Stephen Chung
|
09e19790fe
|
Fix builds.
|
2022-06-09 18:22:53 +08:00 |
|
Stephen Chung
|
dcaac20eb9
|
Strict mode in functions check for static modules.
|
2022-06-09 17:59:28 +08:00 |
|
Stephen Chung
|
285bf23dfa
|
Minor refactor.
|
2022-06-09 08:41:51 +08:00 |
|