+ 3
What is the best language to build a compiler ?
3 Answers
+ 2
for compiler, you should use assembly languages like c--. But, I have found very few knowledge on internet for c--. You have to buy books to get started
+ 1
C++ has two sides to it. It has a low-level development side which makes it seem like a natural language for doing low level thing like code generation. It also has a high-level side (which C does not) that lets you structure a complex application (like a compiler) in a logical, object oriented way, while still maintaining performance. Because it has both the low and high level aspects to it, it's a good choice for large application which require low-level features or performance.
+ 1
all major compilers are written in c, there is a lesser known language called Ocaml which is also trending for interpreters like python.