summaryrefslogtreecommitdiff
path: root/mesonbuild/machinefile.py
AgeCommit message (Collapse)Author
2025-12-08interpreterbase: make ArithmeticNode and MesonOperator both use operator namesPaolo Bonzini
This avoids creating a dictionary every time an arithmetic operator is evaluated. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-29coredata: move cmd_line.txt and command line handling to a new modulePaolo Bonzini
cmd_line.txt is not related to serialized data, in fact it's a fallback for when serialized data cannot be used and is also related to setting up argparse for command line parsing. Since there is no code in common with the rest of coredata, move it to a new module. Fixes: #15081 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-03-01machinefile: ensure that arrays are single deep arrays for stringsDylan Baker
We don't actually allow anything except elementry types (`str`, `bool`, `int`, `array[str]`) here, so we can tighten the typing. This in turn helps us to simplify the typing in environment.py
2024-09-06machinefile: Make fully typesafeDylan Baker
With the use of `typing_extensions.TypeAlias` we can get recursive types, which solves most of the issues we had with this file.
2024-09-06machinefile: Remove unused type aliasDylan Baker
2024-09-04Add missing `__future__.annotations` importsDylan Baker
2024-06-04Extract native file parser to machinefile source file.Jussi Pakkanen
2024-06-02Start moving machine files to their own store.Jussi Pakkanen