Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyan Zhang committed Aug 3, 2016
1 parent 08e888b commit e07804d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Let's explain what a **[closure](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures)** is by writing a JavaScript interpreter in JavaScript.

Try it here: https://tonicdev.com/npm/the-super-tiny-interpreter

This project is still a **work in progress**, but feel free to poke around and check out the unit tests.

## Disclaimer
Expand Down Expand Up @@ -64,7 +66,7 @@ The goal of this project is **not** to make a spec-compliant or blazing-fast int
8. Variable Declaration Statement
- Notice that we only support `const` for now and there's NO mutation (assignment) in our language.
- That means we can initialize stuff once and only once
- And of course `const foo` is not valid JavaScript
- And of course `const foo;` is not valid JavaScript
- If you are familiar with Scheme/OCaml, then `const LHS = RHS` behaves just like a `letrec`.

```javascript
Expand Down

0 comments on commit e07804d

Please sign in to comment.