javascript interpreter in javascript - poc
I saw that JS-Interpreter is single file so grabbed example fibonacci
and wrote acorn parser from scratch.
visit page https://vane.github.io/browser-js/
npm run test
> @szczepano/[email protected] 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.
npm run build:html
Constraints.IS_DEBUG = true