java中的Java编译器 [英] Java compiler in java
本文介绍了java中的Java编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是阅读Java编译器,并意识到它是用Java编写的。怎么可能呢?
I was reading about the Java compiler and realized that it was written in Java. How can that be possible?
我的意思是,这不像鸡蛋和鸡蛋这个问题吗?
我们如何用相同的语言编写编译器?
I mean, isnt this like "Chicken and egg" problem? How can we write the compiler in the same language?
推荐答案
原始是用C语言编写的。然后你可以用Java编写下一个版本。 :)
The original was written in C. Then you can write the next version in Java. :)
这篇关于java中的Java编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文