GitHub
github.com › xdslproject › xdsl
GitHub - xdslproject/xdsl: A Python compiler design toolkit. · GitHub
xDSL is a Python-native framework for building compiler infrastructure.
Starred by 551 users
Forked by 168 users
Languages Python 69.1% | MLIR 30.8%
Xdsl
xdsl.dev
xDSL - xDSL
xDSL is a Python-native Compiler Toolkit. Design your own (domain-specific) compiler by mixing predefined IRs with your custom IR abstractions. Always optimize at the optimal abstraction level by lowering programs through multiple levels of IRs.
Videos
PyPI
pypi.org › project › xdsl
xdsl · PyPI
This lets users prototype compilers entirely in Python, while still accessing MLIR's powerful optimization and code generation pipeline. All IRs in xDSL employ a unified SSA-based data structure, with regions and basic blocks, making it easy to write generic analyses and transformation passes.
» pip install xdsl
Published Apr 24, 2026
Version 0.63.0
Repository https://github.com/xdslproject/xdsl
Homepage https://xdsl.dev/
Xdsl
xdsl.dev › developers › dsldev
DSL Developers - xDSL
xDSL -- a Python-native compiler framework
GitHub
github.com › xdslproject › xdsl › tree › v0.18
GitHub - xdslproject/xdsl at v0.18
xDSL is a Python-native compiler framework built around SSA-based intermediate representations (IRs). Users of xDSL build a compiler by assembling predefined domain-specific IRs and, optionally, defining their own custom IRs. xDSL uses multi-level ...
Starred by 438 users
Forked by 126 users
Languages Python 69.8% | MLIR 30.1% | Python 69.8% | MLIR 30.1%
GitHub
github.com › xdslproject › xdsl › tree › v0.21.1
GitHub - xdslproject/xdsl at v0.21.1
xDSL is a Python-native compiler framework built around SSA-based intermediate representations (IRs). Users of xDSL build a compiler by assembling predefined domain-specific IRs and, optionally, defining their own custom IRs. xDSL uses multi-level ...
Starred by 349 users
Forked by 95 users
Languages Python 68.9% | MLIR 31.0% | Python 68.9% | MLIR 31.0%
Readthedocs
xdsl.readthedocs.io › stable › marimo
Overview - xDSL
xDSL -- a Python-native compiler framework
Readthedocs
xdsl.readthedocs.io › latest
Getting Started - xDSL
xDSL uses two ways to test its code, pytest and lit. We prefer lit tests in general to test everything that isn't the Python API itself, and the riscv canonnicalization tests are also a lit test, in tests/filecheck/backend/riscv/canonicalize.mlir.
arXiv
arxiv.org › pdf › 2311.07422 pdf
Sidekick compilation with xDSL Mathieu Fehr mathieu.fehr@ed.ac.uk
as they rely on user-defined Python data structures that · cannot be understood by the declarative nature of the IRDL · dialect. Similarly, C++ constraints and attributes with C++ parameters can be translated to PyRDL, but with a generic ... Figure 9. xDSL combines its 12 SSA dialects (296 ops) (green) with the 54 SSA dialects (1554ops) defined in the Flang, CIRCT,
GitHub
github.com › xdslproject › xdsl › releases
Releases · xdslproject/xdsl
A Python compiler design toolkit. Contribute to xdslproject/xdsl development by creating an account on GitHub.
Author xdslproject
LLVM
llvm.org › devmtg › 2023-05 › slides › TechnicalTalks-May11 › 05-Fehr-PrototypeMLIRinPython.pdf pdf
xDSL: Prototyping MLIR in Python Sasha Lopoukhine, Mathieu Fehr, and many more!
xDSL: Prototyping MLIR in Python · Sasha Lopoukhine, Mathieu Fehr, and many more! @ Teaching · (150 students / year) Research · Open-Source Development ·
GitHub
github.com › xdslproject › xdsl-typed_pointers
GitHub - xdslproject/xdsl-typed_pointers: Old version of xDSL compatible with typed pointers in LLVM 17. Ported some operations that were missing and support for constructs like aliases from the new version of xDSL in the main repository · GitHub
xDSL is a Python-native compiler framework built around SSA-based intermediate representations (IRs). Users of xDSL build a compiler by assembling predefined domain-specific IRs and, optionally, defining their own custom IRs. xDSL uses multi-level ...
Author xdslproject
GitHub
github.com › xdslproject › xdsl › tree › main › xdsl
xdsl/xdsl at main · xdslproject/xdsl
A Python compiler design toolkit. Contribute to xdslproject/xdsl development by creating an account on GitHub.
Author xdslproject
GitHub
github.com › xdslproject › training-intro
GitHub - xdslproject/training-intro: Introduction to MLIR and xDSL training course · GitHub
This repository contains the materials for the practical introduction to developing DSLs using MLIR nd Python course. Specifically we focus on driving the Python components via the xDSL framework and use MLIR and LLVM for compiling.
Starred by 20 users
Forked by 5 users
Languages Python 98.0% | Shell 2.0%
Supercomputing
sc22.supercomputing.org › proceedings › tech_poster › poster_files › rpost133s3-file3.pdf pdf
xDSL: A common compiler ecosystem for domain specific languages Nick Brown EPCC
their own dialects and transformations in Python with xDSL
Xdsl
xdsl.dev › events › 2025-ASPLOS
ASPLOS 2025 Tutorial - xDSL
xDSL is a Python-based framework that enhances MLIR by enabling flexible interaction through a shared textual IR format and the IRDL dialect, which defines other dialects. It supports native Python development, DSL integration, and low-level compiler extensions, simplifying compiler research ...
HiPEAC
hipeac.net › home › events › hipeac 2025 › xdsl: a python based compiler ecosystem
xDSL: a Python based compiler ecosystem - HiPEAC 2025 - HiPEAC
xDSL is a Python compiler toolkit that is 1:1 compatible with MLIR. With over 100,000 downloads on PyPI, xDSL promotes productivity enabling people to rapidly develop and prototype new compilation abstractions and approaches.
Address Avinguda de la Reina Maria Cristina, s/n, 08004, Barcelona
GitHub
maintainermonth.github.com › academia › xdsl-maintainer-spotlight
Maintainer Spotlight: xDSL
It is used for neural network compilation by AI accelerator startups (engineers from Synthara have recently been making contributions to xDSL), and is used in Google's LiteRT framework. It is also gaining traction in the quantum compilation space, and is used by Riverlane, Xanadu's PennyLane compiler, and Eclipse's Qrisp. xDSL's use of Python's type system for compile-time type checking was cited as a motivating example in PEP 747.