Python DSL

Open-source Python projects categorized as DSL

Top 20 Python DSL Projects

  1. devito

    DSL and compiler framework for automated finite-differences and stencil computation

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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)

    Project mention: Project Glasswing: An Initial Update | news.ycombinator.com | 2026-05-22

    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

  4. hissp

    It's Python with a Lissp.

  5. inline-sql

    🪄 Inline SQL in any Python program

  6. pyccel

    Python extension language using accelerators

  7. iheartla

    compilable markdown for linear algebra

  8. calgebra

    Set operations for calendar intervals

    Project mention: Show HN: Calgebra – Set algebra for calendars in Python | news.ycombinator.com | 2026-01-04
  9. dron

    What if cron and systemd had a baby?

  10. parson

    Yet another PEG parser combinator library and DSL (by darius)

  11. custom-literals

    A library implementing C++'s custom literal suffixes using pure Python.

  12. cinje

    A Pythonic and ultra fast template engine DSL.

  13. modeleon

    Financial Model Engineering — Python code compiles to live Excel formulas

    Project mention: Show HN: Modeleon – Python DSL that compiles to live Excel formulas | news.ycombinator.com | 2026-04-30
  14. lapidary

    Write Web API clients using annotations in python

  15. dothttp

    dsl for http. https://marketplace.visualstudio.com/items?itemName=ShivaPrasanth.dothttp-code

  16. finlang

    FinLang — Deterministic, auditable financial rules engine.

    Project mention: FinLang – A deterministic, auditable rules engine for finance (AGPL) | news.ycombinator.com | 2025-11-16
  17. einlang

    A programming language for tensor computations with Einstein notation.

    Project mention: Show HN: Einlang, a math-intuitive language with lots of good stuff | news.ycombinator.com | 2026-04-20
  18. 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-16

    Check out the full documentation at GitHub.

  19. 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
  20. 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
  21. pymk

    A modern DSL build tool for compiling C/C++ programs.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python DSL discussion

Log in or Post with

Python DSL related posts

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?