Writing a Compiler is Surprisingly Easy (part 1)

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • 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)

  • 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

  • Is the era of the self-taught dev over?

    1 project | /r/learnprogramming | 11 Jul 2023
  • Best Practice in Aggregating Data

    1 project | /r/vba | 10 Jul 2023
  • Why does VBA give general statement for errors and not exact?

    1 project | /r/vba | 16 Jun 2023
  • Bulk Structured Spreadsheet Extractor

    2 projects | /r/vba | 29 May 2023
  • A Fast and Simple Settings Management Module. Automatically sets everything up and works for PC or MAC

    3 projects | /r/vba | 15 Apr 2023