Commit Graph

19 Commits

Author SHA1 Message Date
2cee760404 turn rust_2024_compatibility lints into warnings 2024-11-16 13:41:49 +08:00
c3927d0ef6 [ast] Refactor lazy_static to LazyLock
It is available in Rust 1.80 and reduces a dependency.
2024-10-30 12:29:51 +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
8492503af2 core: Update cargo dependencies 2024-02-23 15:41:04 +08:00
1d6291b9ba ast: Add Ord implementation to Location 2023-12-12 15:41:59 +08:00
875d534de4 ast: Use {filename}:{row}:{col} for location output 2023-12-08 15:48:54 +08:00
f66ca02b2d update Rust dependencies 2022-08-05 16:58:57 +08:00
f7e62ab5b7 nac3ast/parser/core: use i128 for u64 constants 2022-03-08 18:21:14 +08:00
e303248261 nac3core: exception type check and codegen 2022-02-12 22:50:32 +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
80d3ab1b0f remove bigints 2021-12-26 00:23:54 +08:00
ffa89e9308 fix clippy warnings 2021-11-06 23:00:18 +08:00
694c7e945c nac3ast: generated ast with comment fields 2021-11-04 15:01:50 +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