Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Jul 27, 2014
1 parent 4b73573 commit 0bb5fa5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
everything.js
=============

A single javascript file that contains every ECMA-262 edition 5.1 grammatical production.

### Usage Example

Mocha:

```js
test("exercise my program", function(done) {
fs.readFile(require.resolve("everything.js"), function(err, programText) {
var program = esprima.parse("" + programText);
assert.equal(runMyProgramOn(program), /* expected value */, "message");
done();
});
});
```

0 comments on commit 0bb5fa5

Please sign in to comment.