Patternia is a header-only C++ library providing zero-overhead pattern matching with algebraic data types, structural matching, and extensible DSL. It leverages template metaprogramming to compile patterns into efficient switch-like code, eliminating runtime overhead for simple cases. The library includes a comprehensive test suite, benchmarks comparing against standard alternatives, and documentation. Its architecture emphasizes expression guards, combinators, and optimization passes, making it suitable for performance-critical applications requiring pattern matching.
Blackfire Player is a PHP CLI application (blackfire-player) that executes declarative scenario files to crawl HTTP services, extract data, and assert responses, with integrated Blackfire performance profiling. It uses a custom DSL (`.bkf` files) to define sequences of steps (visit, click, submit, loop, while, etc.) and supports concurrent execution via PHP Fibers. The architecture is modular: a step hierarchy (AbstractStep, Step, etc.), dedicated step processors following the Chain of Responsibility pattern, an extension system for lifecycle hooks (before/after step, scenario), and a Symfony ExpressionLanguage wrapper providing scraping-specific functions (css, xpath, json, regex, fake, etc.). The tool integrates with the Blackfire SDK for profiling and assertion checks, and outputs results as JSON or text. It is distributed as a PHAR archive and a Docker image, built via GitHub Actions. The codebase is well-structured, heavily tested with PHPUnit, and follows modern PHP practices (typed properties, strict types, PHP 8.4+ features).
Tilus is a tile-level GPU kernel programming language and compiler framework, primarily targeting NVIDIA architectures (SM80, SM90, SM100). It provides a Python DSL (`tilus.Script`) for writing high-performance CUDA kernels with explicit management of shared/register memory, tensor cores (WGMMA, tcgen05), and advanced synchronization primitives (mbarrier, cluster sync, TMA). The compiler stack includes a custom IR with layout inference (register/shared/tensor-memory), a pass pipeline (dead code elimination, bound-aware simplification, sub-byte type lowering), and backend emitters that generate PTX/CUDA code. Autotuning over tile sizes, warp counts, and pipeline stages is built into the framework. The architecture separates concerns into three layers: the user-facing `lang` package (Script, autotune, instructions), the `ir` package (tensors, layouts, instructions, inference rules), and the `backends` package (emitters, contexts, code generation). The `hidet` subpackage integrates a vendored copy of the Hidet IR and transforms, which provides the low-level expression/statement IR and a comprehensive set of optimization passes. Examples cover progressive matmul implementations (V0–V6) for Ampere, Hopper, and Blackwell, as well as flash attention, layer norm, and quantization kernels. This is a research project (ASPLOS '26 paper) with a strong emphasis on correctness and performance, evidenced by CUDA-level validation against PyTorch and cuBLAS. While the codebase is well-structured and demonstrates advanced compiler design patterns, it remains in beta (version 0.2.0) and carries some duplication between vendored Hidet code and native Tilus code, as well as hardware-specific constraints (NVGPU only). The layout inference system and autotuning infrastructure are particularly notable as reusable components.
AlterX is a Go CLI tool and library for generating subdomain wordlists using a DSL (Domain-Specific Language) for patterns and an optional pattern mining mode. It ingests a list of known subdomains, extracts variables (sub, suffix, root, etc.), and applies user-defined or automatically discovered patterns to produce permutations. The architecture is modular: a Mutator engine orchestrates either default pattern-based generation (using ClusterBomb cartesian product) or pattern mining (via edit-distance clustering, n-gram analysis, and DFA-based regex generation). Key entry points are the CLI (`cmd/alterx/main.go`) and the library API (`mutator.go`). External dependencies include `fasttemplate` for variable replacement, `publicsuffix` for domain parsing, and `projectdiscovery/utils` for deduplication and other utilities. The pattern mining subsystem (ported from Regulator) uses a three-phase clustering algorithm and Brzozowski's DFA minimization to generate subdomains from observed patterns. The tool supports three modes: default (user patterns), discover (mined patterns only), and both (combined).
KernelScript is a domain-specific language and compiler (OCaml) for developing eBPF-centric programs. The compiler translates a single `.ks` source file into multiple C outputs: idiomatic eBPF C code (for kernel execution via XDP, TC, kprobe, tracepoint, perf_event, struct_ops), userspace loader C code (managing maps, ring buffers, tail calls, and program lifetime), and optionally kernel module C code (for `@kfunc` functions). The compiler pipeline includes lexing, parsing, symbol table construction, type checking (including context-specific rules for eBPF program types), IR generation with control-flow and data-flow analysis, loop analysis (bound detection, bpf_loop optimization), tail-call detection and automatic progarry management, map assignment optimization, safety checking (null pointer, bounds, overflow), and multi-program optimization (map type changes, batching). It also supports BTF introspection for kernel type and kfunc extraction, a Python bridge, and a compile-time evaluator. The architecture is modular with pluggable context code generators per program type. The project includes an extensive test suite covering the full pipeline from parse to C output and specific features like perf_event attach, ring buffer dispatch, struct_ops, and multi-program scenario.
Kaspresso is a comprehensive Android UI testing framework built on top of Espresso (via Kakao) and UI Automator (via Kautomator), providing a Kotlin DSL for writing stable, readable tests. It offers extensive built-in reliability mechanisms: flaky safety (automatic retries with configurable timeouts), auto-scroll fallback, system dialog handling, and element reloading. The framework includes a modular interceptor architecture for customizing test behavior, device manipulation APIs (network, location, phone, permissions, logcat, screenshots, video recording), and integration with Allure for reporting and Jetpack Compose for modern UI testing. Additionally, it provides an ADB server for executing shell commands on the device and a command-line tool for generating page objects from UI dumps. The codebase is well-structured with multi-module Gradle projects, convention plugins, and extensive sample apps demonstrating real-world usage.
HASSL is a compiler for the Home Assistant Simple Scripting Language (DSL) that transforms .hassl files into Home Assistant automation packages. The system parses HASSL syntax using Lark, resolves imports and packages, performs semantic analysis to build an intermediate representation, and generates YAML output including helpers, scripts, sync automations, rule automations, and schedule sensors. Key features include loop-safe context tracking, per-rule enable gates, template-based code reuse, and comprehensive schedule support with window syntax and holiday integration. The architecture is modular with distinct phases: parsing, transformation, analysis, and code generation, each handled in separate modules. The CLI orchestrates the process, handles dependency loading of imported files, and writes output to a directory structure suitable for Home Assistant's packages folder.
AutoDev is a multi-platform AI-powered coding assistant that integrates with IntelliJ IDEA and VS Code, and also runs as a standalone desktop app, CLI, web app, and mobile app. Its core engine is a Kotlin Multiplatform (KMP) agent framework that orchestrates LLM calls, tool execution (file I/O, shell, web fetch, MCP servers), and code generation/refactoring. The architecture is modular: `mpp-core` provides shared agent logic, tool schemas, linters, and document parsing; IDE-specific plugins (`mpp-idea`, `mpp-vscode`) deliver chat panels, inline completions, code review, and database integration; `mpp-ui` is a Compose Multiplatform frontend for desktop/CLI/mobile; `mpp-server` is a Ktor-based remote agent server; `xiuper-ui` implements a novel spec-driven UI DSL (NanoDSL) for rendering agent output as interactive components. The system supports multiple LLM providers (OpenAI, Anthropic, Google, GitHub Copilot, etc.), MCP protocol for tool integration, and A2A (agent-to-agent) communication. It includes a custom DSL (DevIns/Shire) for defining agent behaviors, completions, and variable resolution. While primarily an application, it includes data processing components like code graph parsing, document indexing, NLP tokenization, and heuristic scoring models, giving it a hybrid character. The codebase is large and actively developed, with frequent releases and a rich set of features, though some platform-specific implementations are stubs and there is moderate technical drift from deprecated APIs and naming inconsistencies.
The Jenkins Job DSL Plugin is a mature, actively maintained Jenkins plugin that provides a Groovy-based domain-specific language for programmatically defining Jenkins jobs, views, folders, and other configuration items. It enables 'Configuration as Code' for Jenkins, allowing infrastructure to be version-controlled and automatically generated. The plugin executes as a build step in a seed job, parsing DSL scripts and creating or updating Jenkins items. The architecture consists of a core library (`job-dsl-core`) with hundreds of context classes that map DSL method calls to XML configuration nodes, and a Jenkins plugin module (`job-dsl-plugin`) that integrates with the Jenkins API for script execution, security, and result tracking. The plugin supports all major Jenkins job types (freestyle, pipeline, multibranch, matrix, etc.), SCM integrations, build triggers, wrappers, publishers, and parameterized builds. A notable feature is the Dynamic DSL, which automatically discovers and exposes methods for any Jenkins plugin that follows the Describable pattern, reducing the need for built-in methods. The codebase is extensive with thorough Spock tests, but is tightly coupled to specific Jenkins plugin versions and Groovy 2.4, and the built-in DSL is in maintenance mode in favor of the Dynamic DSL. The repository includes a web-based API viewer and comprehensive documentation for migration and scripting.
Maid is a Ruby command-line tool and library that automates file organization and cleanup based on user-defined rules expressed in a Ruby DSL. It provides a suite of operations (move, trash, copy, rename, etc.) that can be combined with file metadata predicates (age, size, content type, download source, etc.) to systematically manage filesystems. The architecture is a traditional Ruby gem with a Thor-based CLI (bin/maid), a central Maid::Maid class that orchestrates rule loading and execution, and a set of tool methods mixed into the Maid instance for use in rule blocks. It also supports daemon mode using Listen (file system watcher) and rufus-scheduler (timed repeats). The code is well-structured with modular components, extensive test coverage, and modern Ruby practices, though it carries some legacy from supporting older Ruby versions. There is no data research or analytic component; it is purely an application for file automation.
flowchart.js is a JavaScript library for rendering SVG flowcharts from a text-based DSL. It parses user-defined flowchart syntax into a chart object, positions symbols with collision avoidance, and draws connectors using Raphael.js for cross-browser SVG abstraction. The library supports standard flowchart symbols (start, end, operation, input/output, subroutine, condition, parallel) with flowstate styling (past/current/future), custom link annotations, and click handlers. Architecture-wise, it follows a modular UMD pattern: index.js serves as the entry point exporting FlowChart.parse, while src/ contains separate modules for parsing (flowchart.parse.js), chart management (flowchart.chart.js), symbol base class (flowchart.symbol.js), symbol-type implementations, drawing utilities (flowchart.functions.js), helpers (flowchart.helpers.js), and defaults (flowchart.defaults.js). A jQuery plugin (jquery-plugin.js) enables DOM integration. The code demonstrates clean separation of concerns but relies on the outdated Raphael 2.3.0 dependency and uses a legacy Webpack 1.x build system, indicating moderate technical drift.
Totum is a self-hosted, low-code/no-code application framework built on PHP 8.3 and PostgreSQL. It functions as a dynamic database and spreadsheet hybrid, allowing users to define data structures (tables, fields) via JSON configuration and implement business logic using a proprietary DSL ('Totum-code'). The system features a modular architecture with a CLI management tool (`bin/totum`), a web-based UI (`http/index.php`), and extensive role-based access control (RBAC). It supports multi-tenancy via schema mapping, external service integration (PDF, Excel, AI), and automated installation via Ansible playbooks for Ubuntu environments. The core logic relies heavily on traits for shared functionality and abstract base classes for table and field handling, creating a flexible but complex codebase. The application is designed for rapid business application construction (CRM, ERP, custom tools) without requiring traditional coding. It stores schema definitions and field configurations in PostgreSQL JSONB columns, enabling runtime structure modification. The calculation engine (`Calculate.php`) parses and executes custom code strings for data validation, formatting, and cross-table logic. While the architecture is robust for its intended purpose, it exhibits signs of technical debt including monolithic frontend JavaScript (`main.js`), hardcoded paths in installation scripts, and reliance on legacy libraries (Chart.js v2, jQuery). The codebase demonstrates significant craftsmanship in its dynamic table engine and calculation DSL, but maintenance requires careful handling of the custom parsing logic and schema migrations.