Open BookOwl opened 7 years ago
I think what we need is a mechanism to link against external code, so that way libraries will be quite easy to implement...
The problem is that these libraries could probably only be run under specific compilers - for example, if somebody made an ncurses library for Haumea, it is likely it would not work with the JavaScript compiler.
In order to do this, of course, there would need to be a few things:
I'm thinking what would be best for the far future is a C library that provided methods for building Haumea library code.
However, for right now, it would be possible to just have Haumea headers correspond directly with C headers, and have their implemented methods correspond directly with C methods.
Of course, this would still require access to Haumea datatypes (particularly lists) in C.
Continuing discussion from https://github.com/haumea-lang/haumea/issues/19