GitHub
github.com › xdslproject › xdsl
GitHub - xdslproject/xdsl: A Python compiler design toolkit. · GitHub
xDSL is a Python-native framework for building compiler infrastructure. It provides SSA-based intermediate representations (IRs) and Pythonic APIs to define, assemble, and optimize custom IRs—all with seamless compatibility with MLIR from ...
Starred by 551 users
Forked by 168 users
Languages Python 69.1% | MLIR 30.8%
Xdsl
xdsl.dev
xDSL - xDSL
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. Connect with the LLVM/MLIR ecosystem while benefiting from Python’s productivity.
Videos
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%
PyPI
pypi.org › project › xdsl
xdsl · PyPI
xDSL is a Python-native framework for building compiler infrastructure. It provides SSA-based intermediate representations (IRs) and Pythonic APIs to define, assemble, and optimize custom IRs—all with seamless compatibility with MLIR from ...
» pip install xdsl
Published Apr 24, 2026
Version 0.63.0
Repository https://github.com/xdslproject/xdsl
Homepage https://xdsl.dev/
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 ·
arXiv
arxiv.org › pdf › 2311.07422 pdf
Sidekick compilation with xDSL Mathieu Fehr mathieu.fehr@ed.ac.uk
This gives access to the existing ecosystem of MLIR dialects · and also makes importing IRs from xDSL into MLIR possible.
GitHub
github.com › xdslproject › xdsl › blob › main › docs › guides › mlir_interoperation.md
xdsl/docs/guides/mlir_interoperation.md at main · xdslproject/xdsl
xDSL can interoperate with MLIR as its backend. As this requires an installation, and therefore a compilation, of a lot of the LLVM project and MLIR, this functonality is not distributed with xDSL by default.
Author xdslproject
xDSL
xdsl.dev › partners
Project partners | xDSL
Being active collaborators to the MLIR and LLVM communities, they bring expertise around the development of appropriate MLIR dialects, the mechanism to connect Python based DSLs with MLIR, and integration with LLVM.
arXiv
arxiv.org › abs › 2311.07422
[2311.07422] Sidekick compilation with xDSL
June 17, 2024 - We demonstrate this idea with xDSL, a sidekick for MLIR focused on prototyping and teaching. xDSL interoperates with MLIR through a shared textual IR and the exchange of IRs through an IR Definition Language.
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
the initial xDSL Fortran IR, and optional PSyclone xDSL ... III. COMMUNITY INVOLVEMENT ... J., Riddle, R., Shpeisman, T., Vasilache, N. and Zinenko, O., 2020. MLIR: A compiler infrastructure for the end of Moore’s law.
Xdsl
xdsl.dev › news
News - xDSL
Starting Monday 1st of May, we hosted a week long xDSL/MLIR hackathon that culminated in an MLIR workshop on 9th of May in Edinburgh. The idea of the hackathon was to bring together those who are using, an those who are interested in using, xDSL with xDSL developers to further enhance the ecosystem and support new, novel use-cases.
GitHub
github.com › xdslproject › xdsl › tree › v0.18
GitHub - xdslproject/xdsl at v0.18
The design of xDSL is influenced by MLIR, a compiler framework developed in C++, that is part of the LLVM project. An inherent advantage of a close design is the easy interaction between the two frameworks, making it possible to translate ...
Starred by 438 users
Forked by 126 users
Languages Python 69.8% | MLIR 30.1% | Python 69.8% | MLIR 30.1%
GitHub
maintainermonth.github.com › academia › xdsl-maintainer-spotlight
Maintainer Spotlight: xDSL
It visualizes pass application, streamlines pass selection by filtering irrelevant options, and provides real-time IR and performance feedback to help measure optimization impact. xDSL genuinely empowered me and kickstarted my compiler journey. I probably would have had a very different experience if my first exposure had been a more heavyweight system. Later, transitioning to MLIR and related tooling felt smooth thanks to the foundation I built with xDSL."
Ed
epcc.ed.ac.uk › whats-happening › articles › shared-compiler-stack-stencil-based-domain-specific-languages
A shared compiler stack for stencil-based domain specific languages | EPCC
It is also possible to write new dialects and transformations in MLIR. In xDSL it has been our objective to make MLIR accessible to DSL developers, where they can then concentrate on their DSL abstractions and leverage a shared, common, compiler ecosystem that provides many building blocks.
xDSL
xdsl.dev › challenge
The xDSL Challenge | xDSL
MLIR is a technology that has developed over the past couple of years and provides significant flexibility when representing programming languages, with the ability to fairly easily develop new MLIR dialects and build atop existing ones.
GitHub
github.com › xdslproject › xdsl › discussions › 206
Using MLIR's dialect from xDSL · xdslproject/xdsl · Discussion #206
Currently, we have a version of the MLIR internal dialects ('arith', 'scf', ...) in the xDSL repository. These dialects are based on one specific commit of the MLIR repo and thus expensive to maintain and subject to change all the time.
Author xdslproject
GitHub
github.com › xdslproject › xdsl › releases
Releases · xdslproject/xdsl
documentation: mlir intro - interactive and arithmetic - improve form… @tobiasgrosser (#5163) documentation: build PDL notebook to readonly marimo app @superlopuh (#5161) documentation: build eqsat notebook to readonly marimo app @superlopuh (#5076) documentation: substitute xDSL wheel import when building marimo @superlopuh (#5158) documentation: mlir intro - interactivity - no ':' after heading @tobiasgrosser (#5160) documentation: mlir intro - interactivity - exercise @tobiasgrosser (#5159) documentation: disable marimo docs export @superlopuh (#5157) documentation: mlir intro - interacti
Author xdslproject