Skip to content

BareGamer/fpc2abc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

fpc2abc

Multiple utilities to automate the conversion of fpc libraries to PascalABC(.NET), written in PascalABC

Features

For now, the utility can only detect stdcall and cdecl functions and partially generate dynamic libraries and (in the future) wrapper PascalABC files for them.
In the future, this utility will be able to:

  • unwrap(at least some cases of) variant records //<-initial purpose of the project actually
  • work with NativeInt and PChar
  • convert the entire fpc RTL(if it doesn't include assembler)
  • more?(miscelaneous stuff like single-element enum bug, no virtual destructors, overloads, statics(unless the conpiler flag is turned on) and so on)

Compiling

Only PascalABC is supported. To convert cdecl and stdcall functions to dlls, you will need the fpc compiler(for example the one which comes with Lazarus). There will be an option to just cut the calling convention out however.

Using

Generated exe's should work on non-windows OSes with mono, however, that was not tested yet.

abc2fpc anyone?

About

Multiple utilities to automate the conversion of fpc libraries to PascalABC(.NET)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages