系统端-关于汇编器,编译器 [英] System Side - About Assembler, compiler

查看:118
本文介绍了系统端-关于汇编器,编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是有关系统编程概念的问题.我需要弄清楚编译器是如何工作的,有多种可用的编译器可用于某种语言(例如c ++),而要编写一个编译器,则应了解哪些概念?我知道这是一个最笼统的问题,在此无法提供详细的解释.我希望只看一眼,URL就可以了.
接下来是关于组装器和装载器的信息.我在大学毕业时就读过所有这些概念.但是当我尝试将其实际应用时,我有点迷失.
我只是在重复一遍,如果您能提供我会很高兴的话,提供详细的解释将很困难,并且如果您只是瞥见一面,URL也将非常有用.谢谢.


问候,
LG

This is a question about system programming concepts. I need to get clarified about how the compilers work, there are different compilers available for a language say c++, to write a compiler what concepts should be one aware of? I know its a most generalized question, one cannot provide a detailed explanation here; i expect just a glimpse and a url would be fine.
Next is about assemblers, and loaders. I read about all these concepts at my under graduation; but I am kind of lost when tried to apply them practically.
I am just repeating this, providing a detailed explanation would be difficult, if you can provide i would be happy, and if you just give a glimpse and an url will also be great. Thank you.


Regards,
LG

推荐答案

我建​​议您阅读著名的 Dragon有关编译器的书 [ ^ ].
您还可以在网上找到的免费资料(例如,出色的Wirth的 Crenshaw的在线书让我们构建一个编译器" [ ^ ],用他的实用"方法).
关于汇编程序和链接器, Google 是您的朋友:快速搜索就给了我"COMPILER,ASSEMBLER,LINKER AND加载程序:简介" [ ^ ].

:)
I suggest you to read the famous Dragon Book[^] about compilers.
You may also find tons of free material on the web (there is, for instance, the excellent Wirth''s "Compiler Construction (PDF)"[^], or the Crenshaw''s online book "Let''s Build a Compiler"[^], with his ''pragmatic'' approach).
As about Assembler and Linkers, Google is your friend: a quick search gave me "COMPILER, ASSEMBLER, LINKER AND LOADER: A BRIEF STORY"[^].

:)


这篇关于系统端-关于汇编器,编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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