Re: Is Assembler Language essential in compiler construction?

"Tony" <tony@my.net>
Sat, 14 Feb 2009 06:35:15 -0600

          From comp.compilers

Related articles
[8 earlier articles]
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-11)
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-11)
Re: Is Assembler Language essential in compiler construction? cfc@shell01.TheWorld.com (Chris F Clark) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? lkrupp@pssw.com (Louis Krupp) (2009-02-11)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-12)
Re: Is Assembler Language essential in compiler construction? marcov@stack.nl (Marco van de Voort) (2009-02-13)
Re: Is Assembler Language essential in compiler construction? tony@my.net (Tony) (2009-02-14)
Re: Is Assembler Language essential in compiler construction? walter@bytecraft.com (Walter Banks) (2009-02-14)
Re: Is Assembler Language essential in compiler construction? anton@mips.complang.tuwien.ac.at (2009-02-14)
Re: Is Assembler Language essential in compiler construction? ArarghMail902@Arargh.com (2009-02-14)
Re: What makes a compiler, was Is Assembler lkrupp@pssw.com (Louis Krupp) (2009-02-14)
Re: What makes a compiler, was Is Assembler haberg_20080406@math.su.se (Hans Aberg) (2009-02-15)
Re: What makes a compiler, was Is Assembler cr88192@hotmail.com (cr88192) (2009-02-16)
[12 later articles]
| List of all articles for this month |

From: "Tony" <tony@my.net>
Newsgroups: comp.compilers
Date: Sat, 14 Feb 2009 06:35:15 -0600
Organization: Compilers Central
References: 09-02-021 09-02-035
Keywords: assembler
Posted-Date: 14 Feb 2009 16:46:46 EST

"Hans Aberg" <haberg_20080406@math.su.se> wrote in message
> marco.m.petersen@gmail.com wrote:
>> I mean, if you wrote a program that converts code from BASIC to C++
>> then calls another compiler to do the compilation process, wouldn't
>> that be considered as a compiler?
>
> Yes, formally a compiler just translates one computer language into
> another. For example, an assembler translates into the machine code
> language.


I would say that is simply translation and not compilation because there is
no intermediate representation. The IR (and the creation of it via
lex/parse/semantic analysis before code generation) is what I think
distinguishes compilers from interpreters and translators.


Tony



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.