Good languages for writing compilers in?

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

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

    The practical relational programing language for data-oriented applications

  • It sounds puzzling, I start learning Rust with https://tablam.org and probably was making my life harder trying to do "advanced" stuff when not have any idea of what I was doing.

  • Pegged

    A Parsing Expression Grammar (PEG) module, using the D programming language.

  • Also pegged is a pretty nice library for generating parsers from PEG grammars.

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

    Odin Programming Language

  • You can try using Odin language: https://github.com/odin-lang/Odin

  • AECforWebAssembly

    A port of ArithmeticExpressionCompiler from x86 to WebAssembly, so that the programs written in the language can run in a browser. The compiler has been rewritten from JavaScript into C++.

  • Well, I have written the first compiler for my programming language, targetting x86, in IE6-compatible JavaScript, and the second compiler, targetting WebAssembly, has been written in C++11. I think that, to choose a language to write a compiler in, you need to look at at least two things:

  • rust

    Empowering everyone to build reliable and efficient software.

  • Also I think rustc itself tends to use arenas to solve this problem, which also gets around the lifetime issues

  • mpl

    The MaPLe compiler for efficient and scalable parallel functional programming

  • Maple is a fork of MLton: https://github.com/MPLLang/mpl

  • Carp

    A statically typed lisp, without a GC, for real-time applications.

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

    A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python

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