asmble icon indicating copy to clipboard operation
asmble copied to clipboard

Build Linker

Open cretz opened this issue 8 years ago • 0 comments
trafficstars

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 avatar Apr 27 '17 21:04 cretz