GithubHelp home page GithubHelp logo

alexxnica / wasmint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webassembly/wasmint

0.0 1.0 0.0 726 KB

Library for interpreting / debugging wasm code

License: Apache License 2.0

CMake 2.22% C++ 96.25% Shell 0.35% C 1.18%

wasmint's Introduction

wasmint

Build Status

A embeddable work-in-progress WebAssembly (wasm) interpreter and debugger licensed under the Apache 2.0 License.

Navigation

  • wasm-module will build the wasm-module library that allows parsing/serializing wasm modules.

  • libwasmint will build the libwasmint library that allows running wasm modules inside a VM. The library will also be wrapped in a normal binary called wasmint that can be used as a normal wasm interpreter.

  • debugger will build wasmdbg - a interactive wasm debugger with a curses TUI.

  • wast-converter can transform the *.wast-files that are used in the testsuite into normal wasm programs.

  • wasm-to-c compiles wasm modules to C source code.

Current state

The interpreter still needs to catch up with the latest spec.

Building

libwasmint, wasmint and wasm-module require a C++11 compiler (including STL) and CMake as build dependencies.

wasmdbg also requires a curses implementation. The wast-converter binary requires boost. You only need to install those dependencies if you require one of those two projects (they are otherwise skipped in the build process).

Make sure to pull all git submodules before the build:

git submodule init
git submodule update

Linux/OS X/Unix/Posix

Run this in the source directory:

cmake . && make

If you want to contribute, out of source builds are preferred (as some files are modified by CMake).

Windows

CMake can generate a visual studio solution which allows compiling all projects via Visual Studio.

wasmint's People

Contributors

epowers avatar rongjiecomputer avatar teemperor avatar tgfjt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.