Extending the Haskell Foreign Function Interface
|
Supervisor |
|
|
Suitable for |
Mathematics and Computer Science, Part C
|
Abstract
The Foreign Function Interface allows programs in Haskell to access libraries that expose an interface in C in a convenient manner. However, writing bindings to C++ is not as simple and currently users fall back on exposing C++ functions via a C interface. This project would aim to create a foreign function interface that interacts with SWIG, an interface compiler that connects programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl. An alternative take on this project would be to write an FFI that interfaces with another language, such as Java or Python.
