true-grue/python-dsls
View on GitHub ↗ ★ 21 Jupyter Notebook
Materials for the talk "Python already has a frontend for your compiler" at PiterPy 2023
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2023-12-13 · latest 2025-06-14
20082026
-
Or you can use Python AST + Z3 :) Here is a toy implementation: https://github.com/true-grue/python-dsls/blob/main/datalog/d...
comment by richard_shelton · 2025-06-14 · in Implementing Logic Programming -
It's funny how close it is to the title of my talk "Python already has a frontend for your compiler": https://github.com/true-grue/python-dsls
comment by richard_shelton · 2025-02-03 · in Decorator JITs: Python as a DSL -
Here are more real-world, compiler-related examples: https://github.com/true-grue/python-dsls/blob/main/python_ds...
comment by richard_shelton · 2023-12-13 · in Real-world match/case