Toy languages for implementing a compiler.

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

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

    mal - Make a Lisp

  • These are guides for making interpreters, but you do end up with a toy language at the end which you can probably add a backend/compiler for: https://github.com/kanaka/mal https://craftinginterpreters.com/introduction.html

  • acwj

    A Compiler Writing Journey

  • I took a journey writing my first compiler, and started with just evaluating integer expressions. From there, I moved to adding language features and ended up with a compiler that could compile itself: https://github.com/DoctorWkt/acwj

  • 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
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