[Lazarus] Parser

Marco van de Voort marcov at stack.nl
Thu Jul 1 08:26:51 CEST 2010


On Thu, Jul 01, 2010 at 12:17:47AM +0200, Hans-Peter Diettrich wrote:
> I've already translated a couple of available C libraries into Pascal, 
> using ToPas. There exist only a few constructs that do not translate 
> into Pascal directly (bitfields...), but their addition to the compiler 
> (code generators) should not be a problem - in the easiest case they can 
> be emulated in pure OPL, not affecting the code generators at all. At 
> statement and procedure level most languages don't differ much, and FPC 
> even has the C operators already implemented. Since the ToPas C parser 
> is written in OPL, its adaptation should be easy. This may become my 
> next project, after the parser...

Since accessing header files is repeated as possible advantage files again
and again, how much progress have you made in the opposite direction?
 
Automated header translation




More information about the Lazarus mailing list