Let's say that I have implemented a programming language, (we'll call it A for now). A is pretty similiar to C.
I want my users to be able to access functions and data structures from already-existing C libraries. Is this possible? If it is, how would a naive implementation look ?
A
- is implemented in C++
- compiles to machine code
- needs to access closed-source C libraries