⌒ JavaScript on the BEAM
See the code[!NOTE] arc is still a young project, tread carefully!
JavaScript on the BEAM
Arc is a JavaScript engine written in Gleam. It implements ECMAScript and has no built-in timers, I/O or concurrency. The BEAM program that embeds it provides whatever globals and host functions the JavaScript needs.
By default Arc interprets JavaScript, and it can also compile it ahead of time to Erlang. It runs on Erlang/OTP, and in the browser on AtomVM compiled to WebAssembly.
Tested against test262 on every commit:
gleam run -- file.js # run a script
gleam test # unit tests
TEST262_EXEC=1 gleam test # full test262 suite
TEST262=1 gleam test # parser-only test262
Gleam
67.1%
Erlang
25.6%
JavaScript
6.2%
⌒ JavaScript on the BEAM
See the code[!NOTE] arc is still a young project, tread carefully!
JavaScript on the BEAM
Arc is a JavaScript engine written in Gleam. It implements ECMAScript and has no built-in timers, I/O or concurrency. The BEAM program that embeds it provides whatever globals and host functions the JavaScript needs.
By default Arc interprets JavaScript, and it can also compile it ahead of time to Erlang. It runs on Erlang/OTP, and in the browser on AtomVM compiled to WebAssembly.
Tested against test262 on every commit:
gleam run -- file.js # run a script
gleam test # unit tests
TEST262_EXEC=1 gleam test # full test262 suite
TEST262=1 gleam test # parser-only test262
Gleam
67.1%
Erlang
25.6%
JavaScript
6.2%