antirez / load81

SDL based Lua programming environment for kids similar to Codea
BSD 2-Clause "Simplified" License
599 stars 62 forks source link

add contrib directory for Google Native Client #41

Closed rlane closed 12 years ago

rlane commented 12 years ago

Native Client lets you port C/C++ programs to run in the Chrome browser. The various other files included in this commit support uploading Load81 to Google App Engine and publishing it in the Chrome Web Store.

The major feature still missing from this port is file IO. The initial program is hardcoded.

If you have Chrome 15 or higher installed you can add the app in the Chrome Web Store: https://chrome.google.com/webstore/detail/agfepkfedfjlhpmpmcefnndpelkmfblm

I can take my Chrome app down if/when an official version is published.

antirez commented 12 years ago

Rich, this is really a cool feature! it means the ability to use load81 in no time inside a browser. If I understand correctly this only adds a new directory with everything needed for native client, but does not alter the other source code, not sure how you managed to do so.

I also tried it in the browser and works great :) Thank you.

Merging and closing.

rlane commented 12 years ago

Right, no modifications of existing code were necessary. I did need to rename main() but that was easily done with the preprocessor.

If you don't mind I'll register the more official "load81" Chrome app (vs "rlane-load81"). Eventually we should link that with load81.com.