882 B
882 B
browser-js
Description
javascript interpreter in javascript - poc
I saw that JS-Interpreter is single file so grabbed example fibonacci
and wrote arcon parser from scratch.
Run in browser
visit page https://vane.github.io/browser-js/
Basic tests
npm run test
> @szczepano/browser-js@0.0.1 test
> jest
PASS src/js.interpreter.test.ts
PASS src/visitors/array.test.ts
PASS src/decorators/loop.test.ts
PASS src/functions.test.ts
PASS src/decorators/condition.test.ts
Test Suites: 5 passed, 5 total
Tests: 17 passed, 17 total
Snapshots: 0 total
Time: 1.336 s, estimated 2 s
Ran all test suites.
Build docs
npm run build:html
Enable debug log
Constraints.IS_DEBUG = true