simple answer you have to wrap them in containers that the other language can unsderstand. if it is interpret it then it probably has some kind of api that you can attach to it from outside or some kind of c level understanding of external libraries, find out what it is exactly and then wrap the in such a maner to allow it to use them