[Lazarus] Translating a small C program to pascal (on lazarus)
Giuliano Colla
giuliano.colla at fastwebnet.it
Mon Feb 26 01:11:36 CET 2018
Il 25/02/2018 20:52, Carlos E. R. via Lazarus ha scritto:
> I want to translate a little Linux C program (600 lines) to pascal (so
> that I can then add my parts in comfort). I failed to find a good
> automated tool in Linux. I had a look here:
Did you consider h2pas (which comes with fpc/Lazarus)?
It's only intended to translate C headers to Pascal, but it makes a good
job on this.
You can only use it to translate declarations, but once declarations are
in Pascal, converting the code becomes much easier.
Giuliano
More information about the Lazarus
mailing list