Boa 0.2.0

Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language.
Documentation
1
2
3
4
5
6
7
8
extern crate boa;
use boa::exec;
use std::fs::read_to_string;

pub fn main() {
    let buffer = read_to_string("tests/js/test.js").unwrap();
    dbg!(exec(buffer));
}