Re: Is Assembler Language essential in compiler construction?

Marco van de Voort <marcov@stack.nl>
Fri, 13 Feb 2009 10:11:56 +0000 (UTC)

          From comp.compilers

Related articles
[7 earlier articles]
Re: Is Assembler Language essential in compiler construction? torbenm@pc-003.diku.dk (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? 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: debugging translated code, was Is Assembler cfc@shell01.TheWorld.com (Chris F Clark) (2009-02-14)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-16)
[6 later articles]
| List of all articles for this month |

From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: Fri, 13 Feb 2009 10:11:56 +0000 (UTC)
Organization: Stack Usenet News Service
References: 09-02-021 09-02-025 09-02-031 09-02-038
Keywords: assembler, design, debug
Posted-Date: 14 Feb 2009 05:07:08 EST

On 2009-02-11, Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>Then, to implement certain features of your language might involve
>>using casting and other tricks in the generated C when it's datatypes,
>>and using a lot of gotos and labels when it's syntax.
>>
>>Then you make the discovery that you can use casting and gotos for
>>nearly *all* your language constructs, meaning most features of C are
>>not needed
>
> Yes, C is a little too high-level for that job, but it's still the
> best portable assembly language we have. One can work around most of
> these issues as you point out, though.


(to all the people that might have tried C as backend):


How do you insert debug metadata on the HLL level into your binary in such
setup ? It seems to me your debuginfo will contain C linenumbers, typedata
etc. IOW, how do you debug in your HLL this way?



Post a followup to this message

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