<commit_before># wasmint
[![Build Status](https://travis-ci.org/Teemperor/wasmint.svg?branch=master)](https://travis-ci.org/Teemperor/wasmint)

A WebAssembly (**WASM**) **Int**erpreter licensed under the Apache 2.0 License.

Look [here](docs/Instructions.md) for the (uncomplete list) of supported instructions.

## Known Bugs

* The LEB128 parser currently only works well with unsigned 32 bit integers (or signed in the range[0, 2^31])
* The Variable class leaks memory 
* Not all instructions from the draft are supported yet.
* Parameters for function calls are not supported yet.

## Binary format

As the binary format of WASM is still up to decision, this interpreter is currently using it's own 
binary format that tries to be as close as possible to the draft by the W3C group.
If you find any differences between the current binary format and the one from the draft, 
please create a issue on github.

For more information see the [documentation](docs/BinaryFormat.md).

## Building

wasmint requires a C++11 compiler and CMake as build dependencies.
<commit_msg>Added STL as build requirement<commit_after># wasmint
[![Build Status](https://travis-ci.org/Teemperor/wasmint.svg?branch=master)](https://travis-ci.org/Teemperor/wasmint)

A WebAssembly (**WASM**) **Int**erpreter licensed under the Apache 2.0 License.

Look [here](docs/Instructions.md) for the (uncomplete list) of supported instructions.

## Known Bugs

* The LEB128 parser currently only works well with unsigned 32 bit integers (or signed in the range[0, 2^31])
* The Variable class leaks memory 
* Not all instructions from the draft are supported yet.
* Parameters for function calls are not supported yet.

## Binary format

As the binary format of WASM is still up to decision, this interpreter is currently using it's own 
binary format that tries to be as close as possible to the draft by the W3C group.
If you find any differences between the current binary format and the one from the draft, 
please create a issue on github.

For more information see the [documentation](docs/BinaryFormat.md).

## Building

wasmint requires a C++11 compiler (including STL) and CMake as build dependencies.

{'fraction_non_alphanumeric': 0.07801743919229004, 'fraction_numerical': 0.012849931161083065, 'mean_word_length': 4.75197889182058, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6041846', 'n_tokens_mistral': 631, 'n_tokens_neox': 594, 'n_words': 288}