SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Python DSL Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
ainativelang
AINL helps turn AI from "a smart conversation" into "a structured worker." It is designed for teams building AI workflows that need multiple steps, state and memory, tool use, repeatable execution, validation and control, and lower dependence on long prompt loops. AINL is a compact, graph-canonical, AI-native programming system for (READ: README)
And to consider AI agents are still mostly entirely limited to generating code in programming languages designed to be written, tested and debugged by humans.
Here are two experimental exceptions:
https://github.com/vercel-labs/zerolang
https://github.com/sbhooley/ainativelang
-
-
-
-
-
Project mention: Show HN: Calgebra – Set algebra for calendars in Python | news.ycombinator.com | 2026-01-04
-
-
-
-
-
Project mention: Show HN: Modeleon – Python DSL that compiles to live Excel formulas | news.ycombinator.com | 2026-04-30
-
-
dothttp
dsl for http. https://marketplace.visualstudio.com/items?itemName=ShivaPrasanth.dothttp-code
-
Project mention: FinLang – A deterministic, auditable rules engine for finance (AGPL) | news.ycombinator.com | 2025-11-16
-
Project mention: Show HN: Einlang, a math-intuitive language with lots of good stuff | news.ycombinator.com | 2026-04-20
-
rerum
RERUM - Rewriting Expressions via Rules Using Morphisms. A pattern matching and term rewriting library for symbolic computation.
Project mention: Rerum: A Pattern Matching and Term Rewriting Library for Python | dev.to | 2025-12-16Check out the full documentation at GitHub.
-
doctrine
Code-like DSL and compiler for agent workflows that compile to portable AGENTS.md instructions.
Project mention: I built a Python like DSL for enterprise grade OpenClaw/hermes/paperclip agents | news.ycombinator.com | 2026-04-08 -
mechanicsdsl
MechanicsDSL is a production-ready, enterprise-grade computational physics framework that enables physicists, researchers, and educators to define physical systems using a LaTeX-inspired syntax and automatically generates high-performance simulations.
Project mention: Show HN: MechanicsDSL – PhPhysics simulations with LaTeX-like syntax in Python | news.ycombinator.com | 2025-12-10 -
Python DSL discussion
Python DSL related posts
-
FinLang – A deterministic, auditable rules engine for finance (AGPL)
-
Nobody Knows How to Build with AI Yet
-
Metashade GPU EDSL at ASWF Open Source Days
-
Python programming for Nintendo 8 bits
-
Show HN: Metashade – a Pythonic GPU shading/compute EDSL
-
I❤️LA: Compilable Markdown for Linear Algebra
-
Compilable Markdown for Linear Algebra
-
A note from our sponsor - SaaSHub
www.saashub.com | 5 Jun 2026
Index
What are some of the best open-source DSL projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | devito | 699 |
| 2 | ainativelang | 829 |
| 3 | hissp | 444 |
| 4 | inline-sql | 425 |
| 5 | pyccel | 395 |
| 6 | iheartla | 229 |
| 7 | calgebra | 98 |
| 8 | dron | 59 |
| 9 | parson | 57 |
| 10 | custom-literals | 35 |
| 11 | cinje | 35 |
| 12 | modeleon | 32 |
| 13 | lapidary | 16 |
| 14 | dothttp | 16 |
| 15 | finlang | 13 |
| 16 | einlang | 7 |
| 17 | rerum | 3 |
| 18 | doctrine | 2 |
| 19 | mechanicsdsl | 2 |
| 20 | pymk | 1 |