Commit Graph

2720 Commits

Author SHA1 Message Date
Stephen Chung
f49ce33a88 Use .take instead of mem::take(). 2023-04-21 10:20:19 +08:00
Stephen Chung
2034ddd830 Fix builds. 2023-04-20 22:45:30 +08:00
Stephen Chung
243e04f5ab Fix export shadowing bug. 2023-04-20 22:31:49 +08:00
Stephen Chung
60ba27e2d6 Fix doc test bug. 2023-04-19 23:28:37 +08:00
Stephen Chung
fb88b79178 Fix bug in parsing index chains. 2023-04-19 23:17:54 +08:00
Stephen Chung
0699f47ff9 Fix Dynamic::from examples. 2023-04-19 21:38:01 +08:00
Stephen Chung
094eb5878a Add info into README's. 2023-04-12 12:09:14 +08:00
Stephen Chung
0206f776db Add is_symbol_disabled and is_custom_keyword. 2023-04-11 11:38:48 +08:00
Stephen Chung
407d376a61 Encode pure in CallableFunction variant. 2023-04-11 10:26:23 +08:00
Stephen Chung
26ad454cb1 Streamline data types. 2023-04-10 18:47:53 +08:00
Stephen Chung
465fdeec21 Optimize curry with constant arguments. 2023-04-10 13:11:33 +08:00
Stephen Chung
120ff91074 Fix bug in optimize_ast skipping Stmt::FnCall. 2023-04-10 13:11:24 +08:00
Stephen Chung
a82bb7b2ef Fix build 2023-04-09 16:38:19 +08:00
Stephen Chung
8369a9bf63 Fix optimizer bug for closures. 2023-04-09 16:31:06 +08:00
Stephen Chung
98f227d640 Fix doc test. 2023-04-07 16:14:26 +08:00
Stephen Chung
9de41e7559 Further simplify matches. 2023-04-05 23:40:27 +08:00
Stephen Chung
df05f43460 Simplify match. 2023-04-05 23:15:55 +08:00
Stephen Chung
5eaa4c5240 Do not cache long strings and avoid caching one-hit wonders. 2023-03-31 10:41:55 +08:00
Stephen Chung
637728de6a Fix builds. 2023-03-30 17:41:21 +08:00
Stephen Chung
34c7dabe44 Add is_def_fn with 3 parameters. 2023-03-30 16:43:15 +08:00
Stephen Chung
2a98d38a7e is_shared is made reserved. 2023-03-30 16:26:58 +08:00
Stephen Chung
534b7bbab3 Rename auto_restore! to defer! 2023-03-25 21:13:34 +08:00
Stephen Chung
ce355aa553 More slots for boxed arrays. 2023-03-25 17:24:05 +08:00
Stephen Chung
2e724b804e Remove indirection. 2023-03-23 13:37:10 +08:00
Stephen Chung
3d06ddc6e2 Fix for loop operations. 2023-03-23 09:38:54 +08:00
Stephen Chung
3c7cd8e278 Use debug_assert. 2023-03-23 09:12:48 +08:00
Stephen Chung
2c94f956e5 Fix error message. 2023-03-22 21:38:55 +08:00
Stephen Chung
9d4972f6d3 Fix builds. 2023-03-22 16:16:33 +08:00
Stephen Chung
e60d0fc0bc Add typed methods definition. 2023-03-22 16:05:25 +08:00
Stephen Chung
3d4a278f2e Remove ASTFlags::EMPTY. 2023-03-22 10:19:30 +08:00
Stephen Chung
7caf80e27c Remove BP optimization. 2023-03-18 09:50:50 +08:00
Stephen Chung
29d6cdcc39 Remove branch prediction hack. 2023-03-18 09:27:47 +08:00
Stephen Chung
7cda806b53 Move tools out of src. 2023-03-17 07:09:56 +08:00
Stephen Chung
95e7ec46ce FIx builds. 2023-03-17 06:46:43 +08:00
Stephen Chung
76ab1e290d Update docs. 2023-03-17 06:41:44 +08:00
Stephen Chung
091e16124c Add isAnonymous to JSON metadata. 2023-03-17 06:28:00 +08:00
Stephen Chung
c62162b3c5 Use {} style for auto_restore. 2023-03-17 06:15:59 +08:00
Stephen Chung
a3324ceb3d Reduce lifted out variants. 2023-03-16 19:00:59 +08:00
Stephen Chung
c7d40945ee Attempt to prevent building lookup tables on dispatch. 2023-03-16 18:03:54 +08:00
Stephen Chung
9ce581f745 Make track_progress inline. 2023-03-16 13:30:32 +08:00
Stephen Chung
55f022174b Remove matching by ASCII because compiler should already optimize. 2023-03-16 13:05:29 +08:00
Stephen Chung
952c77d9bb Fix feature. 2023-03-15 18:31:53 +08:00
Stephen Chung
41636eac55 Fine tune table-driven tokenizing. 2023-03-15 17:22:11 +08:00
Stephen Chung
2aa7b99d1e Revise table-driven parsing. 2023-03-15 08:54:34 +08:00
Stephen Chung
f46cbdde49 Speed up parsing. 2023-03-15 08:01:44 +08:00
Stephen Chung
906ab3a295 Add short-circuits to op-assignments. 2023-03-09 22:03:27 +08:00
Stephen Chung
bb404a415d Remove warnings. 2023-03-08 22:48:36 +08:00
Stephen Chung
e8dfabf967 Add floating-point. 2023-03-08 22:48:31 +08:00
Stephen Chung
80917bfad2 Fix build. 2023-03-08 22:03:03 +08:00
Stephen Chung
8fe5bac3e9 Short-circuit primary data operations. 2023-03-08 21:50:57 +08:00