Recursive descent parsers with good error recovery

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    Roslyn compiler for Dotnet, and the more grokkable scale model of it: Terrajobst’s Minsk. The key idea here is full fidelity trees, syntax trivia, and the idea that bits that fail to parse become leading trivia for the bits that do.

  • dmd

    dmd D Programming Language compiler

    I've heard that the reference compiler for D (found here) has good error recovery mechanisms.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • minsk

    This repo contains Minsk, a handwritten compiler in C#. It illustrates basic concepts of compiler construction and how one can tool the language inside of an IDE by exposing APIs for parsing and type checking.

    Roslyn compiler for Dotnet, and the more grokkable scale model of it: Terrajobst’s Minsk. The key idea here is full fidelity trees, syntax trivia, and the idea that bits that fail to parse become leading trivia for the bits that do.

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