+ 4
What programming language is used for developing a compiler?
Let's say..you have written a program in C..the compiler compiles and produces the Output.. let's say the compiler is developed in some X language..so, you need a compiler to compile the code written for developing a compiler...this goes infinitely..Can someone explain me on this?
2 ответов
+ 8
You can use any language to make a compiler but there are tools that exist to create one. Like YACC (Yet Another Compiler Compiler) for example and Lex that analyzes the code lexically.