Parsing Tools

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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

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