Rust Compilers

Open-source Rust projects categorized as Compilers

Top 8 Rust Compiler Projects

  1. amber

    💎 Amber the programming language compiled to Bash

    Project mention: amber: writing bash scripts in amber instead. pt. 3: the standard library | dev.to | 2024-06-28

    the official documentation currently does not cover the standard libary. to further investigate these commands and discover new ones as they are released, the best option is is refer to the std/main.ab source file.

  2. SaaSHub

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

    SaaSHub logo
  3. micro-mitten

    You might not need your garbage collector

  4. qsharp

    Azure Quantum Development Kit, including the Q# programming language, resource estimator, and Quantum Katas

    Project mention: Willow, Our Quantum Chip | news.ycombinator.com | 2024-12-09

    If you're a software engineer, then the Quantum Katas might fit your learning style. The exercises use Q#, which is quantum specific programming language.

    https://quantum.microsoft.com/en-us/tools/quantum-katas

    The first few lessons do cover complex numbers and math, so skip ahead if you want to get straight to the 'quantum' coding, but there's really no escaping the math if you really want to learn quantum.

    Disclaimer: I work in the Azure Quantum team on our Quantum Development Kit (https://github.com/microsoft/qsharp) - including Q#, the Katas, and our VS Code extension. Happy to answer any other questions on it.

  5. lady-deirdre

    Compiler front-end foundation technology.

    Project mention: Show HN: Lady Deirdre 2 – Rust Framework for Compilers and LSP Servers | news.ycombinator.com | 2024-06-21

    The way the headline was written it seemed like this was the second iteration of Lady and not just a 2.0 release announcement

    It would have also gone a long way if you had mentioned the licensing, which I am always interested in: https://github.com/Eliah-Lakhin/lady-deirdre#copyright

    As for a question: why the seemingly needless location of everything down in a "work" folder? Is there something else that you envision one day living at the top-level which you just planned for by putting everything someone would care about one further click away?

  6. crafting-interpreters-rs

    Crafting Interpreters in Rust

    Project mention: Crafting Interpreters with Rust: On Garbage Collection | news.ycombinator.com | 2024-07-31

    Crafting Interpreters is such an amazing work.

    There's at least one other Rust implementation of lox that I know of (https://github.com/tdp2110/crafting-interpreters-rs) (no unsafe)

    It's always interesting to see how different people approach the problems in their own language or relative isolation. I agree with the author of the article, the real value of the original work lies in avoiding copy and paste.

  7. lua-in-rust

    The Lua programming language, implemented in Rust.

  8. lexgen

    A fully-featured lexer generator, implemented as a proc macro

  9. clojurust

    A proof of concept version of Clojure in Rust.

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 Compilers discussion

Log in or Post with

Rust Compilers related posts

  • amber: writing bash scripts in amber instead. pt. 3: the standard library

    1 project | dev.to | 28 Jun 2024
  • Show HN: Lady Deirdre 2 – Rust Framework for Compilers and LSP Servers

    2 projects | news.ycombinator.com | 21 Jun 2024
  • amber: writing bash scripts in amber instead. pt. 2: loops and ifs

    1 project | dev.to | 20 Jun 2024
  • Amber, programming language that compiles to Bash

    1 project | news.ycombinator.com | 21 May 2024
  • Can one use lambda calculus as an IR?

    3 projects | /r/Compilers | 6 Jun 2023
  • How are macros dealt with for incremental compilation?

    2 projects | /r/rust | 6 May 2023
  • Targetting C

    3 projects | /r/ProgrammingLanguages | 21 Jan 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 amber 4,053
2 micro-mitten 536
3 qsharp 503
4 lady-deirdre 450
5 crafting-interpreters-rs 269
6 lua-in-rust 101
7 lexgen 66
8 clojurust 52

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

Did you know that Rust is
the 5th most popular programming language
based on number of references?