Eli5: If a compiler is a program that converts your code into binary form for the computer, unless my understanding is incorrect and it isn’t just a program, wouldn’t the compiler also need a compiler to run it since how do you run a program without a compiler?
One example of what you are describing is called YACC, which stands for Yet Another Compiler Compiler. You can probably tell from the name that there are quite a few of these programs that are used to generate compilers.
Latest Answers