Parsing Tools

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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Mergify - Updating dependencies is time-consuming.
  • langs

    I've done a quick implementation using my scripting language; the parser is in parser.q at that link (auxiliary modules are lex.q for tokenising, and run.q to run the resulting program).

  • rosie

    Maybe something like Rosie?

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • instaparse

    Instaparse sounds pretty close to what you're looking for assuming you're ok being limited to context-free grammars.

  • rakudo

    🦋 Rakudo – Raku on MoarVM, JVM, and JS

    Raku's grammar/parser file (don't look, it's not pretty; the RakuAST overhaul is set to allow for it to be significantly tidied up), weighs in at around 6KLoC. It contains some ancillary code and up to a half dozen grammars depending on how one counts them, with a lot of the fiddly, finely detailed code that comes with the territory if you care about things like great error messages (which is certainly the case in the Raku world).

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