m4rw3r / chomp

A fast monadic-style parser combinator designed to work on stable Rust.
Apache License 2.0
243 stars 19 forks source link

parse! macro doesn't work #72

Open MarcWeber opened 4 months ago

MarcWeber commented 4 months ago

1.76, 17.2 after installing either the git or the cargo add version the parse! macro didn't work due to __internal .. not accessible. Tried reading all issues and looking at code. But .. finally kinda gave up.

Importing prelude::* as suggested. But maybe I don't understand enough about Rust yet.

https://crates.io/keywords/parser-combinators lists alternatives and how often they are used.

Maybe this allows others to find a solution faster in the future. Test case is 'cargo add chomp' then add a file with copy paste from samples.