asmble
asmble copied to clipboard
Build Linker
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