Recursive descent parsers with good error recovery

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

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