pas2nim is a tool to translate Delphi/Pascal wrappers to Nimrod code.