Re: Is Assembler Language essential in compiler construction?

ArarghMail902@Arargh.com
Sat, 14 Feb 2009 13:30:49 -0600

          From comp.compilers

Related articles
[11 earlier articles]
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: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-16)
Re: Is Assembler Language essential in compiler construction? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-02-16)
Re: Is Assembler Language essential in compiler construction? cr88192@hotmail.com (cr88192) (2009-02-18)
Re: Is Assembler Language essential in compiler construction? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-02-19)
Re: Is Assembler Language essential in compiler construction? toby@telegraphics.com.au (toby) (2009-02-25)
Re: Is Assembler Language essential in compiler construction? llib-xoc@sbcglobal.net (Bill Cox) (2009-02-25)
[1 later articles]
| List of all articles for this month |
From: ArarghMail902@Arargh.com
Newsgroups: comp.compilers
Date: Sat, 14 Feb 2009 13:30:49 -0600
Organization: Ripco Communications Inc.
References: 09-02-021 09-02-025 09-02-031 09-02-038 09-02-048
Keywords: C, debug
Posted-Date: 14 Feb 2009 16:56:05 EST

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


>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?


I presume "#file" & "#Line"
--
ArarghMail902 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html


Post a followup to this message

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