Commit Graph

146 Commits

Author SHA1 Message Date
Stephen Chung
0c85f0c796 Code cleanup and refactor. 2022-11-28 23:24:22 +08:00
Stephen Chung
4ab306607d Fix bug. 2022-11-27 17:21:07 +08:00
Stephen Chung
d645d8271c More code refactor. 2022-11-25 20:42:16 +08:00
Stephen Chung
c9d8714fe6 Reduce size of ParseState. 2022-11-24 17:08:43 +08:00
Stephen Chung
3e7408511e Satisfy more clippy. 2022-11-23 16:14:11 +08:00
Stephen Chung
31292e683d Satisfy Clippy. 2022-11-23 13:24:14 +08:00
Stephen Chung
d911327242 Use SmartString for buffers and literal_syntax can panic. 2022-11-22 23:30:43 +08:00
Stephen Chung
62d707ff84 Simplify chaining code. 2022-11-19 18:41:51 +08:00
Stephen Chung
fca71b5ed2 Reduce call to Module::is_empty. 2022-11-10 23:57:46 +08:00
Stephen Chung
3a028f2642 Move lib into global. 2022-11-10 11:49:10 +08:00
Stephen Chung
ad018aaae3 Move FloatWrapper into types. 2022-11-08 23:17:31 +08:00
Stephen Chung
5bae4d8a19 Fix builds. 2022-11-08 16:37:35 +08:00
Stephen Chung
6053aa1641 Clean up types. 2022-11-08 15:01:40 +08:00
Stephen Chung
79ba80eeb3 Fix full optimization. 2022-10-30 23:33:44 +08:00
Stephen Chung
32493524ed Code cleanup. 2022-10-30 22:16:09 +08:00
Stephen Chung
22ee12531c Code cleanup. 2022-10-30 18:43:18 +08:00
Stephen Chung
c9184db4d2 Refine native/script code splits. 2022-10-30 15:45:25 +08:00
Stephen Chung
d97f3f7ec4 Merge variables in Stmt::Share. 2022-10-29 15:17:12 +08:00
Stephen Chung
91415b9750 Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
Stephen Chung
8e35f98477 Fix build. 2022-10-29 14:27:30 +08:00
Stephen Chung
4100e6da64 Use ImmutableString for source. 2022-10-29 14:12:18 +08:00
Stephen Chung
c14fbdb14d Add loop expressions. 2022-10-29 12:09:18 +08:00
Stephen Chung
6af66d3ed3 Code cleanup. 2022-10-29 10:40:07 +08:00
Stephen Chung
3c2e031883 Use variable interpolation for println!. 2022-10-27 13:38:21 +08:00
Stephen Chung
6702fe349c Add index to Share statement. 2022-10-25 10:05:31 +08:00
Stephen Chung
c24794187f Reduce unnecessary generics. 2022-10-20 15:31:57 +08:00
Stephen Chung
530109275f Minor code restructure. 2022-10-16 11:35:21 +08:00
Stephen Chung
ac05f0a0a8 Check if function calls cannot be scripted. 2022-10-14 18:31:40 +08:00
Stephen Chung
71e475be13 Fix no_module build. 2022-10-14 15:23:58 +08:00
Stephen Chung
38e47c909d Streamline code. 2022-10-14 14:04:54 +08:00
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