problem with a parser created in pest. On Rust. Here is the code – https://github.com/Faynot/Glint
error:
thread ‘main’ panicked at srcmain.rs:44:13:
Unexpected rule: num
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: process didn’t exit successfully: targetdebugglint.exe
(exit code: 101)
I tried to remove “unreachable!()” on line 83, but there is an error “error: could not compile glint
(bin “glint”) due to previous error; 11 warnings emitted”
I expected the correct output, the work of the parser, but it displays this error. It is described that there is no num, but there is nuing
Faynot Dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.