ARTICLE AD BOX
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?
EDITED A LITTLE LATER...
By the way, the compiler described in the book the book is for a small made-up language called LOX - we are not talking about replacing msvc, gcc, or clang here... What is really interesting to me is the scanning and parsing - not really concerned about the complete translation to assembly here...
