Rust DSL

Open-source Rust projects categorized as DSL

Top 7 Rust DSL Projects

  • percival

    πŸ“ Web-based, reactive Datalog notebooks for data analysis and visualization

  • Project mention: Learn Datalog Today | news.ycombinator.com | 2024-01-21

    Souffle and Cozo mentioned below already implement the whole of "traditional" datalog.

    Percival (https://github.com/ekzhang/percival) has some very nice examples showing how you can interactively write and test rules on top of a datalog interpreter.

    Bud (http://bloom-lang.net/bud/) is Hellerstein's proof of concept playground. It has bit-rotted in the past few years, but the examples are readable even if you can't easily get it working.

    The complexity can be quite good. You can syntactically determine when you've written linear recursion (equivalent to a for loop) vs not. Otherwise, the complexity is what you'd expect from incremental view maintenance in a normal SQL database. Which is to say O(n^k) with k being the number of relations joined, but usually much, much less with appropriate indexes and skew in the data. All the usual tricks concerning data normalization and indexes from databases apply.

  • fathom

    🚧 (Alpha stage software) A declarative data definition language for formally specifying binary data formats. 🚧 (by yeslogic)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • typestate-rs

    Proc-macro typestate DSL for Rust

  • timeblok

    The programming language for calendars

  • megra.rs

    MΓ©gra is a mini-language to make music with variable-order markov chains and some other stochastic shenanigans.

  • rayql

    RayQL is a schema definition and query language for SQLite

  • Project mention: Meet RayQL - A Schema and Query Language for Your SQLite Side Projects | dev.to | 2024-04-30

    That's why I created RayQL, a schema definition and query language for SQLite, built with Rust. The core goal is to provide a compact and familiar syntax that eliminates the need to reinvent the wheel for data validation, allowing you to quickly prototype and build backends without juggling multiple components. With RayQL, everything you need lives in a single executable, which makes it super-easy to get started on your side projects.

  • xml-mut

    xml mutation language resembling sql

  • Project mention: What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented? | /r/rust | 2023-06-09

    This is exactly what I needed when implementing xml-mut :D I have used roxmltree instead and manipulated text directly. will try to rewrite it using Xot.

  • SaaSHub

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

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

Rust DSL related posts

  • Show HN: PRQL in PostgreSQL

    4 projects | news.ycombinator.com | 19 Feb 2024
  • Looking for someone to code with

    2 projects | /r/rust | 5 Jun 2023
  • A simple XML mutation definition language resembling SQL

    1 project | /r/rust | 4 Jun 2023
  • Taming stateful computations in Rust with typestates (Journal of Computer Languages, 2022)

    1 project | /r/rust | 19 Apr 2023
  • Percival: Web-based, reactive Datalog notebooks for data analysis and visualization, written in Rust and Svelte

    2 projects | /r/ProgrammingLanguages | 11 Dec 2021
  • Show HN: Percival – Web-based reactive Datalog notebooks, made with Rust+Svelte

    1 project | news.ycombinator.com | 11 Dec 2021
  • Percival: Web-based, reactive Datalog notebooks for data analysis and visualization, written in Rust and Svelte

    1 project | /r/webdev | 11 Dec 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 Jun 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more β†’

Index

What are some of the best open-source DSL projects in Rust? This list will help you:

Project Stars
1 percival 589
2 fathom 257
3 typestate-rs 131
4 timeblok 90
5 megra.rs 57
6 rayql 41
7 xml-mut 4

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