{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"xDSL is a Python framework for building compiler infrastructure using SSA-based intermediate representations (IRs) with seamless MLIR interoperability.","skillfed_tags":["compiler-infrastructure","mlir-compatible","dsl-framework"],"use_cases":["Prototype a custom compiler for a domain-specific language entirely in Python before committing to C++","Build multi-level IR stacks with abstraction-specific optimization passes for scientific computing or database workloads","Analyze and transform programs using generic SSA-based passes that work across different IR dialects","Integrate Python-based compiler development with MLIR's optimization and code generation pipeline","Develop and test compiler passes iteratively using Python scripts without recompilation"],"what_it_does":"xDSL is a Python-native compiler framework that lets you define, assemble, and optimize custom intermediate representations (IRs) using a unified SSA-based data structure. It draws inspiration from MLIR (the LLVM project's compiler infrastructure) but runs entirely in Python, making it accessible for rapid prototyping and experimentation. The framework provides Pythonic APIs to work with regions, basic blocks, and SSA values, enabling you to write generic analyses and transformation passes that work across different IR levels.\n\nThe main use case is building domain-specific language (DSL) compilers and compiler infrastructure without leaving Python. You can prototype a complete compiler stack, layer custom IRs for abstraction-specific optimizations, and then interoperate with MLIR's backend for code generation. Dependencies are minimal (immutabledict, ordered-set, typing-extensions), and the package is actively maintained with support for modern Python versions.","worth_installing":"Yes, if you are building compiler infrastructure or DSLs and want to prototype in Python with MLIR compatibility. The framework is actively maintained, has low install friction, and is permissively licensed. Not necessary if you only need to consume compiled code or work with existing compilers."},"id":"xdsl","links":{"html":"https://skillfed.io/packages/xdsl","md":"https://skillfed.io/packages/xdsl.md","pypi":"https://pypi.org/project/xdsl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-21","license_spdx":null,"license_treatment":"permissive","name":"xdsl","python_support":"supports_current","summary":"xDSL"},"popularity":{"monthly_downloads":514154,"position":6239,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.69.0"}
