<commit_before># gravity-rs

[![Build Status](https://travis-ci.org/Bruflot/gravity-rs.svg?branch=master)](https://travis-ci.org/Bruflot/gravity-rs)

Raw Rust bindings for the Gravity API. A safe, idiomatic wrapper is under development and will posted soon.
<commit_msg>Updated README with a more concise description<commit_after># gravity-rs

[![Build Status](https://travis-ci.org/Bruflot/gravity-rs.svg?branch=master)](https://travis-ci.org/Bruflot/gravity-rs)

Raw Rust bindings for the [Gravity API](https://github.com/marcobambini/gravity). Lets you embed a Gravity VM in Rust applications and execute Gravity code.

A safe, idiomatic wrapper is under development and will be published soon.

## Examples

- The `addition.rs` example embeds a Gravity VM in a Rust application and runs a simple arithmetic function written in Gravity.
- More to come.
{'fraction_non_alphanumeric': 0.10760233918128655, 'fraction_numerical': 0.0, 'mean_word_length': 4.903448275862069, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '5054588', 'n_tokens_mistral': 276, 'n_tokens_neox': 256, 'n_words': 88}