-
Notifications
You must be signed in to change notification settings - Fork 2
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
wasm tools #6
Comments
I updated the WebIDE with support for --- a/build/makefiles/wasm/tools.mk
+++ b/build/makefiles/wasm/tools.mk
@@ -217,7 +217,7 @@ LIBRARIES = -ldl -lm
# LINK_FLAGS = -arch i386
LINK_FLAGS =\
- -s ENVIRONMENT=web\
+ -s ENVIRONMENT=worker\
-s ALLOW_MEMORY_GROWTH=1\
-s MODULARIZE=1\
-s EXPORT_ES6=1\ I also added support for json files in the WebIDE, all projects require a |
Nice. That was quick. I'll give it a look a little later. |
@phoddie The moddable zero was in the mail today (thank a lot) and got it running with the WebIDE (click to see a video): |
Nice demo. Great to see it running with the display on Moddable Zero. FWIW - I pushed a couple reliability fixes to the install upload last night. |
I just tested these changes, everything is working fine! I think drag&drop support for adding files and folders is needed. I would also like to include drag and drop support for files inside the file explorer to reorganise projects. I might be able to reuse the vscode file explorer to handle all this stuff. Need to figure out how to do that. Another thing is that currently projects aren't really shareable because everything is persisted locally and with images and other files we can't use gists anymore. What I also noticed is that currently the runmod application needs to be recompiled if we want to include more system modules. Would it be possible to precompile these and have the compiler just include these pre-builds when referencing a path like |
This issue is for discussion of the XS and Moddable SDK tools for wasm.
Today we pushed changes to bring just about all the Moddable SDK tools to wasm. They include a new
mcrun
tool to build mods from manifests, just asmcconfig
is used to builds hosts from manifests. In particular,mcrun
supports adding and transforming resources into the mod archive binary.A brief introductory document is here.
The text was updated successfully, but these errors were encountered: