pveentjer / Rust-based-ARM-emulator

A bogus CPU emulator written in Rust.
52 stars 6 forks source link

Get rid of LALRPOP #13

Open pveentjer opened 2 months ago

pveentjer commented 2 months ago

Unlike Pest, LALRPOP has nice error messages.

But its default behavior like eating up comments and line feeds, very weak documentation and clunky behavior around error handling, make it a very painful parser generator to use.

So probably get rid of it and look for something better.

pveentjer commented 1 month ago

Have a look at:

https://docs.rs/peg/latest/peg/

And:

https://github.com/vickenty/lang-c?tab=readme-ov-file