[Lazarus] Translating a small C program to pascal (on lazarus)

R0b0t1 r030t1 at gmail.com
Tue Feb 27 01:44:04 CET 2018


On Mon, Feb 26, 2018 at 12:20 PM, Carlos E. R. via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> Hopefully, one program translates most of the declarations, and another
> a good part of the code :-)
>

I doubt that in general a program exists to do what you want, as it
would require having a front end for the C language and then something
close to a decompiler for Pascal.

However, this thread did clue me in to h2pas, which I hope can be used
to convert STM's header files for the embedded target project.

Cheers,
     R0b0t1


More information about the Lazarus mailing list