Charles Brunet
|
5b29eff8ad
|
parser: simplify other node constructors
|
1 year ago |
Charles Brunet
|
0f4891cdf4
|
parser: simplify Assignment and PlusAssignment nodes
|
1 year ago |
Charles Brunet
|
02ff9553db
|
parser: add SymbolNode to preserve operators
|
1 year ago |
Charles Brunet
|
306562b466
|
parser: use IdNode for function name and assignment name
|
1 year ago |
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>
|
2 years 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.
|
2 years ago |
Dylan Baker
|
5e59e5a9e4
|
cargo/version: add a function to convert cargo versioning to meson
|
2 years 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.
|
2 years 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>
|
2 years ago |