Bone is a bare "bones" javascript runtime based on the deno runtime.
Deno being bassed on rust and its runtime being avalible to anyone made me wonder if I can make a "javascript runtime" with the heavy lifting done by some one else, the someone else being the amazing deno team.
Make sure to have Rust installed. You can follow my super simplified guide to setup on windows.
Then clone this repo with
git clone https://github.com/imagineeeinc/bone.git
run:
# for testing out
cargo run
# with the example js file
cargo run -- -i examples/hello.js
# examples avalible in the examples folder
# Making a production build
cargo build --release
This project is mainly an experiment and for educational purposes, on how to use js in your rust project easily. The main branch is using the Deno runtime
module that means it has browser api like console log and fetch and it also means the runtime is using the std
if you are planning on using deno in a no std
enviornment, checkout the deno_core branch
This project is under MIT License