Stephen Chung
|
6c777e68d3
|
Refine inlining.
|
2022-09-28 12:06:22 +08:00 |
|
Stephen Chung
|
fde8483f54
|
Optimize functions calling.
|
2022-09-27 23:04:22 +08:00 |
|
Stephen Chung
|
25476d1cea
|
Mark debug functions cold.
|
2022-09-27 08:52:39 +08:00 |
|
Stephen Chung
|
bf02d040e2
|
Use tokens to speed up function name lookup.
|
2022-09-25 23:03:18 +08:00 |
|
Stephen Chung
|
b56a9c22f3
|
Refactor.
|
2022-09-25 12:24:03 +08:00 |
|
Stephen Chung
|
5d275b5307
|
Simplify to calc_fn_hash.
|
2022-09-21 11:46:23 +08:00 |
|
Stephen Chung
|
c1ae9e0405
|
Add state to custom syntax.
|
2022-09-12 12:03:32 +08: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
|
bf5d6ab35a
|
Shut up clippy.
|
2022-08-27 16:26:41 +08:00 |
|
Stephen Chung
|
69bb5534ef
|
Share encapsulated environment.
|
2022-08-24 20:59:11 +08:00 |
|
Stephen Chung
|
a9b6e8b98c
|
Fix builds.
|
2022-08-18 21:16:42 +08:00 |
|
Stephen Chung
|
5f2262214d
|
Add docs.
|
2022-08-14 18:16:35 +08:00 |
|
Stephen Chung
|
855ddd28a6
|
Update is_empty docs.
|
2022-08-14 14:39:30 +08:00 |
|
Stephen Chung
|
f7d910fa55
|
Use references for JSON metadata.
|
2022-08-14 14:20:37 +08:00 |
|
Stephen Chung
|
9813f657bb
|
Use ImmutableString for AST.
|
2022-08-13 18:40:14 +08:00 |
|
Stephen Chung
|
28743594d0
|
Use interned strings for AST nodes.
|
2022-08-13 18:07:42 +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
|
1073a7bd54
|
Fix bug in constant interpolated string.
|
2022-07-29 10:49:03 +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
|
835fa8afa3
|
Remove warnings.
|
2022-07-26 12:20:05 +08:00 |
|
Stephen Chung
|
61056dfb24
|
Export is_valid_identifier and is_valid_function_name under internals.
|
2022-07-25 22:05:52 +08:00 |
|
Stephen Chung
|
492d79d8a2
|
Add documentation to Module.
|
2022-07-25 17:42:15 +08:00 |
|
Stephen Chung
|
96bfd93610
|
Keep module docs as one string.
|
2022-07-25 14:11:54 +08:00 |
|
Stephen Chung
|
148bbcb860
|
Fix missing field.
|
2022-07-25 13:53:28 +08:00 |
|
Stephen Chung
|
5d799fd325
|
Add module documentation.
|
2022-07-25 13:40:23 +08:00 |
|
Stephen Chung
|
6bc0118074
|
Add FnAccess methods.
|
2022-07-21 14:01:28 +08:00 |
|
Stephen Chung
|
8215c75a17
|
Merge branch 'main' of https://github.com/rhaiscript/rhai
|
2022-07-20 21:09:03 +08:00 |
|
quake
|
a0c07631e2
|
chore: clippy fix rust style
|
2022-07-20 21:38:50 +09:00 |
|
quake
|
8d91e7eb63
|
chore: clippy fix useless_conversion
|
2022-07-20 21:28:40 +09:00 |
|
Stephen Chung
|
5149c56256
|
Streamline switch case AST structure.
|
2022-07-19 13:33:53 +08:00 |
|
Stephen Chung
|
281e94fc62
|
Switch case condition that is constant () no longer optimizes to false.
|
2022-07-18 23:28:12 +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
|
dee66a409f
|
Add case alternatives for switch.
|
2022-07-04 17:42:24 +08:00 |
|
Stephen Chung
|
7068775f19
|
Use locked_read.
|
2022-06-26 14:10:09 +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
|
a31a4e4887
|
Fix builds.
|
2022-06-09 18:06:00 +08:00 |
|
Stephen Chung
|
285bf23dfa
|
Minor refactor.
|
2022-06-09 08:41:51 +08:00 |
|
Stephen Chung
|
8501d9d33f
|
Improve speed on common dot/index expressions.
|
2022-06-07 20:38:05 +08:00 |
|
Stephen Chung
|
6467b52761
|
Fix no_function.
|
2022-06-05 19:35:18 +08:00 |
|
Stephen Chung
|
99bcd8497a
|
Remove lifetime on OpAssignment.
|
2022-05-26 18:17:08 +08:00 |
|
Stephen Chung
|
9c1a49da0b
|
Fix AST combine.
|
2022-05-21 11:31:15 +08:00 |
|