编译器是如何创建的? [英] How is a compiler created?

查看:53
本文介绍了编译器是如何创建的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




任何人都可以解释我..

如果c的编译器是用c语言编写的,用于编译编译器?



can anybody explain me..
If compiler for c is written in c language, which is used to complie the compiler?

推荐答案





任何人都可以解释我..

如果c的编译器是用c语言编写的,用于编译编译器?


can anybody explain me..
If compiler for c is written in c language, which is used to complie the compiler?



非常有趣的问题!!


就像谁先?母鸡还是鸡蛋? " :)

希望有人有答案。

Very interesting question!!

It is like "who first? hen or egg? " :)
Hope somebody has the answer.


你可能想看看这里


a类似的帖子在同一个地方很久以前 - :)


--Sorower
You may want to have a look at here

a similar post on the same place long back -:)

--Sorower



非常有趣的问题!!


就像谁第一?母鸡还是鸡蛋? " :)

希望有人有答案。
Very interesting question!!

It is like "who first? hen or egg? " :)
Hope somebody has the answer.



查看Yacc和Bison。我认为它更像是Yacc,但我记得编写了一个Pascal编译器,它通过其中一个或两个来翻译,以获得C ++代码......

Check out Yacc and Bison. I think it''s more Yacc but I remember writing a Pascal compiler that was translated through one or both of them to get C++ code...


这篇关于编译器是如何创建的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆