This repository contains the initial implementation of the virtual machine, which will replace the current scripting engine (Funnel) used in the tagion network.
TVM can execute webassembler. The current implementation is a standalone program that can link a shared object file and wasm file together.
make subdate
make all
This will link and compile the Tagion Virtual Machine called TVM.
You will get a simple program based on the lib_tvm
. This program can load a shared-object file .so and a web-assembler binary file .wasm.
make run
This will run the default example placed inside bin_tvm/tests/testapp/
.
The test example includes a bin_tvm/tests/testapp/native_impl.d/
which compiles to a libtestapp.so
and is placed in build/bin/
.
The wasm-example gets bin_tvm/tests/testapp/betterc/testapp.d
, which compiles to a .wasm
file, and placed in build/bin/testapp.wasm
.
./build/bin/tvm
./build/bin/testapp.wasm
./build/bin/libtestapp.so
More information can be found by:
make help
For questions and support, please use the official forum or Telegram chat. The issue list of this repo is exclusively for bug reports.