Skip to content

Commit 5f100b0

Browse files
committed
docs: clarify targeted ECMAScript version
1 parent 2409583 commit 5f100b0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@
99

1010
JavaScript and JSX grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).
1111

12+
This grammar intends to be a close approximation of the [ECMAScript](https://ecma-international.org/publications-and-standards/standards/ecma-262/)
13+
specification, with some extensions to support JSX syntax. We try to support the
14+
latest version of the spec, though it is possible that some very new features may
15+
not be supported yet.
16+
1217
References
1318

1419
- [The ESTree Spec](https://github.com/estree/estree)
15-
- [The ECMAScript 2015 Spec](http://www.ecma-international.org/ecma-262/6.0/)
20+
- [The ECMAScript 2025 Spec](https://tc39.es/ecma262/2025/)
1621

1722
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-javascript/ci.yml?logo=github&label=CI
1823
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord

0 commit comments

Comments
 (0)