Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules #2

Open
BookOwl opened this issue Nov 8, 2016 · 1 comment
Open

Modules #2

BookOwl opened this issue Nov 8, 2016 · 1 comment

Comments

@BookOwl
Copy link
Member

BookOwl commented Nov 8, 2016

Continuing discussion from haumea-lang/haumea-rs#19

@TheMonsterFromTheDeep
Copy link

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:

  • Headers for Haumea code
  • A standard format for libraries to be linked

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.

@bates64 bates64 mentioned this issue Nov 11, 2016
@bates64 bates64 changed the title Modules? Modules Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants