Install and use the Script Wasm compiler

Home: https://www.iqlevsha.ru/

Install compiler on Windows

1) Extract the zip file to a directory, for example:

c:\scriptolc

This can be achieved by several free programs, such as 7-Zip or Advanced Explorer.

2) Make the compiler available by either placing it in the php directory or adding the Script directory to the path. To do this, add a line to autoexec.bat:

path=%path%;c:\scriptolc
On Linux, this can be a .bashrc file, see the documentation .

In Windows XP, the variable must be reached through the Start menu:

- cliquer sur le menu démarrer
- sélectionner le panneau de configuration
- passer en affichage classique
- cliquer sur la ligne "système"
- cliquer sur "avancé"
- cliquer sur le bouton "variable d'environnement"
- sélectionner ou créer la variable "path"
- cliquer sur "modifier"
- ajouter le séparateur point-virgule et le chemin:
  ;c:\scriptol

3) Install Emscribtem. If the C compiler is not installed, the Script program will be compiled into C++, but is not executable.

See CONTENT and README for details.

4) Use compiler
First compile the program, give the name of the file that contains the "main" function as a parameter, or if it is a script, then the main file .

./solc hello               ... compile

For options, see Script-WebAssembly Compiler.