boa icon indicating copy to clipboard operation
boa copied to clipboard

Expose API to Deno

Open littledivy opened this issue 5 years ago • 5 comments

Deno is another runtime for JS/TS written in Rust similar to Node.js

There is no such JS parser for Deno that can be used as a library. Also, since Deno uses v8 bindings exposing them will not be ideal. I find Boa quite useful for Deno devs who would want to compile JS (just like how acorn does on Node.js)

Bindings to Deno can be either provided using deno_core crate or by compile to WASM. As an example: https://github.com/divy-work/autopilot-deno

If you guys approve, I'll be free to open a PR here!

littledivy avatar Jul 17 '20 10:07 littledivy

Related: https://github.com/boa-dev/boa/issues/445

jasonwilliams avatar Jul 17 '20 12:07 jasonwilliams

@divy-work sounds like its approved if you wanted to experiment with this

jasonwilliams avatar Sep 18 '20 10:09 jasonwilliams

@littledivy are you still interested in doing this?

jasonwilliams avatar Sep 29 '20 18:09 jasonwilliams

@jasonwilliams sorry for the late reply, I'm busy with my classes and other projects these days :(

littledivy avatar Sep 30 '20 05:09 littledivy

https://docs.rs/v8/latest/v8/ This is the crate deno uses to interact with V8, I think it would probably be a nice source of inspiration.

RageKnify avatar Nov 07 '22 22:11 RageKnify

Closing this. Nowadays, there are a lot of other options for parsing, so we don't need to offer an API just for parsing JS from Deno.

jedel1043 avatar Apr 14 '24 14:04 jedel1043