fix: update readme
This commit is contained in:
parent
fdfaa4c7a2
commit
f664d1e2ec
14
README.md
14
README.md
@ -2,11 +2,8 @@
|
||||
|
||||
### Description
|
||||
javascript interpreter in javascript - poc
|
||||
|
||||
### # debug log - change
|
||||
```bash
|
||||
Constraints.IS_DEBUG = true
|
||||
```
|
||||
I saw that [JS-Interpreter](https://github.com/NeilFraser/JS-Interpreter) is single file so grabbed example fibonacci
|
||||
and wrote [arcon](https://github.com/acornjs/acorn) parser from scratch.
|
||||
|
||||
### Basic test to count fibonacci numbers
|
||||
```bash
|
||||
@ -25,7 +22,7 @@ Snapshots: 0 total
|
||||
Time: 0.789 s, estimated 2 s
|
||||
```
|
||||
|
||||
### Example with custom global function
|
||||
### Example that runs in browser with custom global function
|
||||
```bash
|
||||
npm run build:html
|
||||
```
|
||||
@ -35,3 +32,8 @@ cd dist/html
|
||||
python3 -m http.server
|
||||
```
|
||||
open [http://localhost:8000](http://localhost:8000)
|
||||
|
||||
### to enable debug log - change
|
||||
```bash
|
||||
Constraints.IS_DEBUG = true
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user