Charles Brunet
|
5707d39017
|
parser: preserve number base
|
1 year ago |
Eli Schwartz
|
0bb1647fd1
|
move various bits of type-checking only code to TYPE_CHECKING blocks
Mostly detected with flake8-type-checking. Also quote T.cast() first
arguments, since those are not affected by future annotations.
|
1 year ago |
Dylan Baker
|
f02e26877d
|
cargo/interpreter: Implement an interpreter for Cargo TOML
This converts a Cargo TOML file into Meson AST
Co-Authored-By: Thibault Saunier <tsaunier@igalia.com>
|
1 year ago |
Dylan Baker
|
4017dab484
|
cargo/cfg: Add a parser for the rust/cargo cfg() expressions
This uses a recursive descent parser + lexer to create an IR from cfg()
expressions, which it then converts into meson IR.
|
1 year ago |
Dylan Baker
|
5e59e5a9e4
|
cargo/version: add a function to convert cargo versioning to meson
|
1 year ago |
Dylan Baker
|
b01ae087f5
|
cargo: Add a builder module to the cargo package
This is a helper, currently only used by cargo. It could be moved later
if there are other users.
|
1 year ago |
Dylan Baker
|
71325547aa
|
cargo/manifest: Add a file with type definitions of the cargo manifest format
Co-Authored-By: Thibault Saunier <tsaunier@igalia.com>
|
1 year ago |