Re: Data Type Converter
From: VBDis (vbdis_at_aol.com)
Date: 01/29/04
- Next message: VBDis: "Re: ByVal/ByRef confusion with strings"
- Previous message: VBDis: "Re: string delimiter"
- Next in thread: VBDis: "Re: Data Type Converter"
- Maybe reply: VBDis: "Re: Data Type Converter"
- Reply: Marco van de Voort: "Re: Data Type Converter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jan 2004 23:45:23 GMT
Im Artikel <slrnc17n5v.og6.marcov@toad.stack.nl>, Marco van de Voort
<marcov@stack.nl> schreibt:
>> The introduced objects and methods also can emulate, to some degree, what
>> in C is done with macros (#define). Without such methods the source code
>> can deserve much manual editing.
>
>Why not do it efficient? Use proper procedures flagged as inline? No
>performance hit, same system, and with typing.
My primary goal is a C to Delphi converter, and inline procedures are not
available with Delphi. It also depends on the syntax, in which places
procedures or methods can replace a macro or other feature.
But there exist no restrictions on the number of back-ends for that converter,
which can be implemented for any target language. The front-end side is
extensible in the same way, here I intend to hook in my already existing
disassemblers for various platforms.
>For the .c conversion it is more important to be correct and not introduce
>bugs that might pass than to not require manual editing.
Correctness is vital for every conversion tool, I'm aware of this requirement.
This is another reason for not publishing experimental code, unless I'm sure
that it does what it should do.
>So better give up, and put the C code inline in the generate pascal code (for
>postediting) than doing something that might not give the exact same result.
This is what I already have implemented, some months ago. But I won't give up
so quickly... ;-)
DoDi
- Next message: VBDis: "Re: ByVal/ByRef confusion with strings"
- Previous message: VBDis: "Re: string delimiter"
- Next in thread: VBDis: "Re: Data Type Converter"
- Maybe reply: VBDis: "Re: Data Type Converter"
- Reply: Marco van de Voort: "Re: Data Type Converter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|