Scriptol to WebAssembly compiler

To make wasm files that can be used on the web or locally.

How it works ?

The compiler only needs a single command line to generate C ++ code and compile it into WebAssembly. For example:

./solc hello

This produces the hello.cpp, hello.hpp, hello.o, and hello.wasm files.

You need to install Emscriptem to generate the wasm code and Wasmer to run it from the command line.

On Windows, the latter requires the installation of Visual Studio. It is also necessary to install from this one the components of use of C ++ in command line.


Why use Scriptol rather than C++ directly?