Commit Graph

26 Commits

Author SHA1 Message Date
2cee760404 turn rust_2024_compatibility lints into warnings 2024-11-16 13:41:49 +08:00
fe06b2806f [meta] Reorganize order of use declarations
Use declarations are now grouped into 4 groups:

- Declarations from the standard library
- Declarations from external crates
- Declarations from other crates in this project
- Declarations from within this module

Furthermore, all use declarations are grouped together to enhance
readability. super::super is also replaced by an equivalent crate::
declaration.
2024-10-04 12:52:01 +08:00
82091b1be8 meta: Apply clippy changes 2024-06-17 14:10:31 +08:00
23974feae7 meta: Restrict number of allowed lints 2024-06-12 16:10:57 +08:00
40a3bded36 meta: Set clippy lints in {main,lib}.rs
So that this does not have to be manually passed to the `cargo clippy`
command-line every single time. Also allows incrementally addressing
these lints by removing and fixing them one-by-one.
2024-06-12 16:10:57 +08:00
8168692cc3 apply cargo fmt 2024-06-12 14:45:03 +08:00
5182453bd9 meta: Remove redundant path prefixes 2023-12-11 15:16:23 +08:00
d37287a33d Cargo: Update dependencies 2023-09-04 10:43:57 +08:00
26a4834254 fix warnings 2022-03-26 18:52:08 +08:00
e266d3c2b0 nac3parser: modify to handle UAdd in front of int constant 2022-03-09 10:46:58 +08:00
d848c2284e nac3parser: fix broken tests 2022-03-08 18:21:19 +08:00
f7e62ab5b7 nac3ast/parser/core: use i128 for u64 constants 2022-03-08 18:21:14 +08:00
1288624218 lock insta version (#179) 2022-01-31 15:18:49 +08:00
9b3b47ce50 fix broken tests 2021-12-28 01:38:16 +08:00
88f0da7bdd add file name to AST node location 2021-12-28 01:28:55 +08:00
5aa6749241 remove num-traits 2021-12-26 00:32:08 +08:00
80d3ab1b0f remove bigints 2021-12-26 00:23:54 +08:00
1f3aa48361 nac3parser: modify parser to handle negative integer edge cases 2021-12-03 16:35:58 +08:00
597857ccd0 typo 2021-11-06 14:14:40 +08:00
efc9edbc14 nac3parser: fix decorator and above comments 2021-11-06 14:13:17 +08:00
032e1d84cf nac3parser: add and fix tests due to comment support 2021-11-04 15:03:34 +08:00
3b1cc02d06 nac3parser, ast: add comment support core changes 2021-11-04 15:00:27 +08:00
36e4028f5b fix and run parser tests 2021-11-03 17:39:48 +08:00
bf7e2c295a integrate nac3parser 2021-11-03 17:11:00 +08:00
48ce6bb6c5 rustpython-parser: string interner, optimizations, thread local cache
corresponds to M-Labs RustPython fork at efdf7829ba1a5f87d30df8eaff12a330544f3cbd
branch parser-mod
2021-11-03 16:36:28 +08:00
80c7bc1cbd add RustPython parser
based on RustPython 67b338863ee6f16b0df0a7d1aa9debba55284651
2021-11-03 16:34:10 +08:00