You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/quickjs.texi
+38-15
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@
19
19
20
20
@chapter Introduction
21
21
22
-
QuickJS is a small and embeddable Javascript engine. It supports the
23
-
ES2020 specification
24
-
@footnote{@url{https://tc39.es/ecma262/}}
22
+
QuickJS is a small and embeddable Javascript engine. It supports most of the
23
+
ES2023 specification
24
+
@footnote{@url{https://tc39.es/ecma262/2023}}
25
25
including modules, asynchronous generators, proxies and BigInt.
26
26
27
27
It supports mathematical extensions such as big decimal float float
@@ -34,14 +34,14 @@ and operator overloading.
34
34
35
35
@item Small and easily embeddable: just a few C files, no external dependency, 210 KiB of x86 code for a simple ``hello world'' program.
36
36
37
-
@item Fast interpreter with very low startup time: runs the 69000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in about 95 seconds on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
37
+
@item Fast interpreter with very low startup time: runs the 77000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in less than 2 minutes on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
38
38
39
-
@item Almost complete ES2020 support including modules, asynchronous
40
-
generators and full Annex B support (legacy web compatibility). Many
41
-
features from the upcoming ES2021 specification
42
-
@footnote{@url{https://tc39.github.io/ecma262/}} are also supported.
39
+
@item Almost complete ES2023 support including modules, asynchronous
40
+
generators and full Annex B support (legacy web compatibility). Some
41
+
features from the upcoming ES2024 specification
42
+
@footnote{@url{https://tc39.es/ecma262/}} are also supported.
43
43
44
-
@item Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2020 features.
44
+
@item Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2023 features.
45
45
46
46
@item Compile Javascript sources to executables with no external dependency.
47
47
@@ -69,6 +69,11 @@ options then run @code{make}.
69
69
You can type @code{makeinstall} as root if you wish to install the binaries and support files to
70
70
@code{/usr/local} (this is not necessary to use QuickJS).
71
71
72
+
Note: On some OSes atomic operations are not available or need a
73
+
specific library. If you get related errors, you should either add
74
+
@code{-latomics} in the Makefile @code{LIBS} variable or disable
75
+
@code{CONFIG_ATOMICS} in @file{quickjs.c}.
76
+
72
77
@section Quick start
73
78
74
79
@code{qjs} is the command line interpreter (Read-Eval-Print Loop). You can pass
@@ -265,9 +270,9 @@ about 100 seconds).
265
270
266
271
@section Language support
267
272
268
-
@subsectionES2020 support
273
+
@subsectionES2023 support
269
274
270
-
The ES2020 specification is almost fully supported including the Annex
275
+
The ES2023 specification is almost fully supported including the Annex
271
276
B (legacy web compatibility) and the Unicode related features.
272
277
273
278
The following features are not supported yet:
@@ -276,6 +281,10 @@ The following features are not supported yet:
0 commit comments