mirror of https://github.com/boa-dev/boa.git
Victor Tuekam
5 years ago
committed by
GitHub
9 changed files with 34 additions and 13 deletions
@ -0,0 +1,20 @@ |
|||||||
|
[package] |
||||||
|
name = "boa_wasm" |
||||||
|
version = "0.1.0" |
||||||
|
authors = ["Jason Williams <jase.williams@gmail.com>"] |
||||||
|
description = "Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language." |
||||||
|
repository = "https://github.com/jasonwilliams/boa" |
||||||
|
keywords = ["javascript", "compiler", "lexer", "parser", "js"] |
||||||
|
categories = ["wasm"] |
||||||
|
license = "Unlicense/MIT" |
||||||
|
exclude = ["../.vscode/*", "../Dockerfile", "../Makefile", "../.editorConfig"] |
||||||
|
edition = "2018" |
||||||
|
|
||||||
|
[dependencies] |
||||||
|
Boa = { path = "../boa" } |
||||||
|
wasm-bindgen = { version = "0.2.60" } |
||||||
|
|
||||||
|
[lib] |
||||||
|
crate-type = ["cdylib", "lib"] |
||||||
|
name = "boa_wasm" |
||||||
|
bench = false |
@ -1,4 +1,4 @@ |
|||||||
use crate::{ |
use boa::{ |
||||||
exec::{Executor, Interpreter}, |
exec::{Executor, Interpreter}, |
||||||
realm::Realm, |
realm::Realm, |
||||||
syntax::{ast::node::Node, lexer::Lexer, parser::Parser}, |
syntax::{ast::node::Node, lexer::Lexer, parser::Parser}, |
Loading…
Reference in new issue