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

Build Linker #8

Open
cretz opened this issue Apr 27, 2017 · 0 comments
Open

Build Linker #8

cretz opened this issue Apr 27, 2017 · 0 comments

Comments

@cretz
Copy link
Owner

cretz commented Apr 27, 2017

Linker:

  • Command is "link"
  • Output is a class w/ named fields representing each module. Setting these fields would be a way to cross-link maybe?
  • Has parameterless methods for get-or-create-style lazy access to the module (not sure if it needs to be synchronized)
  • The creating of the other modules calls the parameterless methods of its dependencies
  • Maybe with-module-dep-as-params version of each method and that's what does the actual create
  • Classes accepts args array which does NOT include the prog name and is
  • Options
    • Method to call on main
    • Emscripten-support (includes adding it to module list AND calling "main" or erroring if we find multiple "mains")
    • Embed emscripten - basically shade the emscripten env classes
cretz added a commit that referenced this issue Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant