Writing a Compiler is Surprisingly Easy (part 1)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    VBA Standard Library - A Collection of libraries to form a common standard layer for modern VBA applications.

  • I have an open source compiler-interpreter for VBA here: https://github.com/sancarn/stdVBA/blob/master/src/stdLambda....

    In case you were interested :P

  • stoneknifeforth

    a tiny self-hosted Forth implementation

  • a problem that a lot of these series run into is that the author runs out of steam before they finish writing them. crenshaw's otherwise excellent series suffers from this, for example

    so far the author of this one has only written the first chapter

    i've written a few didactic compilers that are complete enough to compile themselves, though nothing else

    https://github.com/kragen/stoneknifeforth (from a forth-like language to an i386 linux elf executable)

    https://github.com/kragen/peg-bootstrap/blob/master/peg.md (from a peg language description with semantic actions to javascript)

    http://canonical.org/~kragen/sw/urscheme (from a subset of scheme to at&t-syntax i386 assembly)

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

    A PEG that compiles itself.

  • a problem that a lot of these series run into is that the author runs out of steam before they finish writing them. crenshaw's otherwise excellent series suffers from this, for example

    so far the author of this one has only written the first chapter

    i've written a few didactic compilers that are complete enough to compile themselves, though nothing else

    https://github.com/kragen/stoneknifeforth (from a forth-like language to an i386 linux elf executable)

    https://github.com/kragen/peg-bootstrap/blob/master/peg.md (from a peg language description with semantic actions to javascript)

    http://canonical.org/~kragen/sw/urscheme (from a subset of scheme to at&t-syntax i386 assembly)

  • swift-interpreter

    Build an interpreter in Swift

  • If you don't mind interpreters and/or swift, I'm working on something here:

    https://github.com/codr7/swift-interpreter

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