While trying to use your crate I get an error on the lexer macro.
error[E0433]: failed to resolve: use of undeclared crate or module `parce_macros`
--> src\main.rs:3:1
|
3 | #[lexer(BasicLexer)]
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `parce_macros`
|
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
I only copy/pasted the example in your doc in a new binary project main.rs file:
use parce::prelude::*;
#[lexer(BasicLexer)]
enum BasicLexemes {
A = "'a'",
B = 'b',
HelloWorld = " 'Hello World!' "
}
fn main() {
assert!(BasicLexer::default().lex("aHello World!b").is_ok());
}
While trying to use your crate I get an error on the lexer macro.
I only copy/pasted the example in your doc in a new binary project main.rs file:
Using rust (stable): 1.53.0