I am a mechanical engineer with some experience in C++. I did not go through a standard CS program. So I have never had a formal class on compilers. However, I am interested in how to write a compiler, and I recently picked up a copy of "Crafting Interpreters" (https://craftinginterpreters.com/contents.html) to learn the mechanics of scanning and parsing. It is very interesting and challenging for me to try and do this in Modern C++...
Has anyone else done this?