Skip to content

🌌 a single javascript file that contains every ECMA-262 edition 5.1 grammatical production

Notifications You must be signed in to change notification settings

mathiasbynens/everything.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

everything.js

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

Usage Example

Mocha:

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();
  });
});

About

🌌 a single javascript file that contains every ECMA-262 edition 5.1 grammatical production

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%