I would like to make a compiler for a high level language in C++. I have researched this and understand the fundamental concepts of parsing, lexing, code generation, and the possible addition of an AST tree. However, I have yet to find an in depth tutorial that I can build off of.
I would like to understand how I could use C++ to take the source, split it up, read each section, and then compile to machine code. I am not opposed to making an interpreter if it can be fast enough, but I would prefer to make an actual compiled language.
I am mostly experienced in C++ except in graphics, but I can do simple SDL.