ecma262 README

The project's README from github.com/tc39/ecma262. As one markdown file: README.md.

ECMAScript

This repo

This repository contains the source for the current draft of ECMA-262, the ECMAScript® Language Specification.

This source is processed to obtain a human-readable version, which you can view here.

If you want to explore how the specification was written, you can also view the source with its history in searchfox.

Current Proposals

Proposals follow the TC39 process and are tracked in the proposals repository.

Contributing New Proposals

Please see Contributing to ECMAScript for the most up-to-date information on contributing proposals to this standard.

Developing the Specification

After cloning, do npm install to set up your environment. You can then do npm run build to build the spec or npm run watch to set up a continuous build. The results will appear in the out directory, which you can use npm run clean to delete.

Community

ecma262 (tc39/ecma262)

Searching Database…

15.7K ·GitHub
What is this?It is the source repository for the current draft of ECMA-262, the ECMAScript (JavaScript) Language Specification, maintained by TC39. The source is processed to generate the human-readable edition of the spec.
Is this a JavaScript engine or a library I can use in my code?Neither — it is the specification document itself, not software. The draft is written in markup and processed into the readable HTML edition that developers and engine authors read.
How do I build the spec locally?Clone the repo and run npm install, then npm run build to build the spec; npm run watch keeps a continuous build going. Output lands in the out directory, and npm run clean deletes it.
What do I need installed to work on it?Node.js with npm. The toolchain, including the ecmarkup processor that renders the spec, is set up with npm install — no other runtimes are involved.
What is ecmarkup?The authoring toolchain this spec is written in. The build script runs ecmarkup on spec.html with --multipage to produce the multi-page HTML edition in the out directory.
Is the draft automatically checked for errors?Yes. GitHub Actions workflows build the spec and type-check it with esmeta, and the default build runs with --lint-spec --strict, so spec-lint and formatting issues fail the build.
Can I get the spec as a PDF?There is a dedicated script for that: npm run pdf builds a printable version with external assets and renders out/ECMA-262.pdf using Prince (prince-books).
Creator
tc39
Size
1.5 GB
Stars
15.7K
Age
12y
Commits · 90 Days