rust-bakery/nom

S-expression example fails to build

Opened this issue · 0 comments

Prerequisites

  • Rust version : rustc 1.81.0 (eeb90cda1 2024-09-04)
  • nom version : 7.1.3
  • nom compilation features used: default

Test case

The test case are the steps below:

  1. Create a new test project: cargo new nom-example --bin.
  2. Cd into it: cd nom-example.
  3. Download the example from this same repo and use it as entry-point:
    wget https://raw.githubusercontent.com/rust-bakery/nom/main/examples/s_expression.rs -O src/main.rs.
  4. Try to compile it: cargo build.

What I've tried:

At a glance, the first error seems to be that the 'many' function does not exist anymore, but there seems to be
more complex errors I can't get really understand, I might be able to give it a shot at fixing this, but maybe with more context.