That would be an awesome project to start. You can never have enough physics engines. And I don't think that there are too many for Pascal compilers.