Skip to content

Standalone version of Tagion WebAssembly VM

Notifications You must be signed in to change notification settings

tagion/legacy-tvm

Repository files navigation

tagion logo

Tagion Virtual Machine

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.

Getting started

Install dependencies

Pull submodules

make subdate

Compile the package

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.

Run the test example

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

More information can be found by:

make help

Maintainers

Questions

For questions and support, please use the official forum or Telegram chat. The issue list of this repo is exclusively for bug reports.

About

Standalone version of Tagion WebAssembly VM

Resources

Stars

Watchers

Forks