Parsing in nom (AOC day 16)

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • nom

    Rust parser combinator framework

  • However, during day 16 I've kind of hit a wall and can't seem to find a nice way to parse the input. Unlike in the nom example, take_till seems to only be able to handle functions on bytes, not characters. Additionally, I didn't find a way to use some sort of consuming take_until, which results in a pair(take_until(str), tag(str)) combination. Is there any better way to parse this input?

  • adventofcode

    Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala (by sim642)

  • During this year's Advent of Code I'm trying to improve my Rust skills, especially parsing using nom.

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