Commit Graph

3906 Commits

Author SHA1 Message Date
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
c22e3a4d99 Bump version. 2023-03-17 07:12:46 +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
72508a07f5 Update test output. 2023-03-15 08:27:02 +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
Stephen Chung
58fad030ee Do not default compares of different types. 2023-03-08 21:47:57 +08:00
Stephen Chung
fa4096e91e Fine tune Engine size. 2023-03-07 16:52:37 +08:00
Stephen Chung
3e784d592d Check for more hash collisions. 2023-03-02 21:59:38 +08:00
Stephen Chung
a2f8d057f8 Add testing-environ feature. 2023-03-02 13:16:15 +08:00
Stephen Chung
86ccb37029 Simplify code. 2023-02-28 22:33:44 +08:00
Stephen Chung
9a5221f60d Add Engine::RAW. 2023-02-25 21:41:11 +08:00
Stephen Chung
5f09b5d9d9 Fix builds. 2023-02-25 20:58:40 +08:00
Stephen Chung
51581cdef5 Make Engine faster to create. 2023-02-25 19:57:19 +08:00
Stephen Chung
c2a8c342bb Modify hashing function. 2023-02-24 14:24:10 +08:00
Stephen Chung
5b200a6d3d Fix build. 2023-02-21 18:20:25 +08:00
Stephen Chung
14e205cabc Satisfy msrv by removing then_some. 2023-02-21 18:16:03 +08:00
Stephen Chung
c58b52f2cb Fix builds. 2023-02-21 18:03:21 +08:00
Stephen Chung
a8be9c4d64 Reduce size of AST. 2023-02-21 17:52:11 +08:00
Stephen Chung
b371c524ae Use indirection for doc. 2023-02-21 17:14:14 +08:00
Stephen Chung
129a5c6e86 Use then/then_some to simplify. 2023-02-21 16:36:57 +08:00
Stephen Chung
00f2b07d38 All symbols to start a custom syntax. 2023-02-20 13:28:17 +08:00
Stephen Chung
426055d4d3 Update rustyline. 2023-02-20 10:06:26 +08:00
Stephen Chung
6d888cc0e4 Fix bug. 2023-02-18 14:28:38 +08:00
Stephen Chung
6b301b4e70 Set allow_loop_expressions to true by default. 2023-02-16 20:35:15 +08:00
Stephen Chung
513a1ab435 Allow access to scope by loaded module. 2023-02-13 21:12:17 +08:00
Stephen Chung
7fc72e8c28 Use ? in tests. 2023-02-13 08:59:58 +08:00
Stephen Chung
7da20dd090 Forbid floating-point switch cases after range case. 2023-02-13 08:58:59 +08:00
Stephen Chung
10089c5cb0 Support switch range cases for floating-point values. 2023-02-12 23:20:14 +08:00