rep-movsd / 9d

Complete software suite for the nand2tetris MOOC course
GNU General Public License v3.0
20 stars 2 forks source link

Get the gate code work with emscripten #6

Open rep-movsd opened 7 years ago

rep-movsd commented 7 years ago

So what it takes to be able to compile the C++ to JS - initially use node.js, once it works, get it to work on a browser

sourabhtk37 commented 7 years ago

What I understand from this is :

Please help out with more description.

rep-movsd commented 7 years ago

Learn how emscripten works - it takes CPP and creates .JS using clang/llvm

Figure out how to call that from some node.js / browser