Where would i start making a compiler in rust?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • monkey-rs

  • I found "Writing An Interpreter in Go" any amazing and easy to understand book to implement an interpreter. Here is my RUST code for that book. There are plenty of other RUST implementations for the same interpreter.

  • Essentials-of-Compilation

    A book about compiling Racket and Python to x86-64 assembly

  • For programming, I would start with "Essentials of Compilation" or with "Make A Language" .

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pfcalc

    A postfix command line calculator written in Rust.

  • So far for part 2 nothing's been too complicated to implement. Stack machines are really quite simple, and all I really have at the moment is a glorified calculator, which I've done before. Function execution should be fairly simple, too, as all you'd need to do is switch which bytes you're executing. I'm not sure how the variable environments are going to be done, though.

  • tools

    Discontinued Unified developer tools for JavaScript, TypeScript, and the web

  • Read this project to know more Rome

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