Tools for creating a programming language in rust

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • chumsky

    A parser library for humans with powerful error recovery.

    i really like chumsky for parsing (and it works very well with it's sister crate ariadne)

  • ariadne

    A fancy diagnostics & error reporting crate (by zesterer)

    i really like chumsky for parsing (and it works very well with it's sister crate ariadne)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • lalrpop

    LR(1) parser generator for Rust

    lalrpop is great. It's a completely different approach from nom, but for parsing a programming language, I would at least consider it. RustPython uses it.

  • RustPython

    A Python Interpreter written in Rust

    lalrpop is great. It's a completely different approach from nom, but for parsing a programming language, I would at least consider it. RustPython uses it.

  • rust-langdev

    Language development libraries for Rust

    Someone showed me this repo with a bunch of lang dev libraries a while ago. I haven't done anything with it personally, but it may be of interest to you https://github.com/Kixiron/rust-langdev

  • boson-lang

    A hybrid programming language written in Rust.

    Few months back I built a programming language called boson in rust - from scratch, using my own lexer and top down parser implementation. From that experience I can say, building something from scratch gives you ample amount of experience at the cost of time and you may not be able to cover all the cases properly, it's completely fine if learning is your goal.

  • wasmtime

    A fast and secure runtime for WebAssembly

    Compiler backends (If building JIT/machine compiled langauges) 1. cranelift 2. inkwell - safe rust wrapper around llvm

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • inkwell

    It's a New Kind of Wrapper for Exposing LLVM (Safely)

    Compiler backends (If building JIT/machine compiled langauges) 1. cranelift 2. inkwell - safe rust wrapper around llvm

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts