From bdd5853f8abff422af011b806273f44778017ecb Mon Sep 17 00:00:00 2001 From: Shiqi Mei Date: Mon, 21 Aug 2023 22:53:01 +0800 Subject: [PATCH] feat: update blogs and user guide indexes --- pages/blogs.mdx | 8 ++++++++ pages/global.css | 4 ++++ pages/user.mdx | 23 ++++++----------------- 3 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 pages/blogs.mdx diff --git a/pages/blogs.mdx b/pages/blogs.mdx new file mode 100644 index 0000000..8185b8c --- /dev/null +++ b/pages/blogs.mdx @@ -0,0 +1,8 @@ +import { ArrowRightIcon } from 'nextra/icons' +import { Card, Cards } from 'nextra/components' + +# Blogs + + + } title="Of Late Nights and Endless Lines of Code: Is There a Better Way? - August 21, 2023" href="/blogs/of-late-nights-and-endless-lines-of-code-is-there-a-better-way" /> + \ No newline at end of file diff --git a/pages/global.css b/pages/global.css index c9db418..b65a810 100644 --- a/pages/global.css +++ b/pages/global.css @@ -9,4 +9,8 @@ img { border-radius: 3px; +} + +.single-line.nextra-cards { + grid-template-columns: none; } \ No newline at end of file diff --git a/pages/user.mdx b/pages/user.mdx index 0961e9a..38262f7 100644 --- a/pages/user.mdx +++ b/pages/user.mdx @@ -1,19 +1,8 @@ -# QuickJS +import { ArrowRightIcon } from 'nextra/icons' +import { Card, Cards } from 'nextra/components' -[QuickJS](https://bellard.org/quickjs/) is a small and embeddable Javascript engine. It supports the ES2020 specification including modules, asynchronous generators, proxies and BigInt. +# User Guide -It supports mathematical extensions such as big decimal float float numbers (BigDecimal), big binary floating point numbers (BigFloat), and operator overloading. - -OpenQuickJS is a community-driven fork of QuickJS. We welcome and encourage issues and pull requests from all users. - -## Main Features - -1. Small and easily embeddable: just a few C files, no external dependency, 210 KiB of x86 code for a simple “hello world” program. -2. Fast interpreter with very low startup time: runs the 69000 tests of the ECMAScript Test Suite2 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. -3. Almost complete ES2020 support including modules, asynchronous generators and full Annex B support (legacy web compatibility). Many features from the upcoming ES2021 specification 3 are also supported. -4. Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2020 features. -5. Compile Javascript sources to executables with no external dependency. -6. Garbage collection using reference counting (to reduce memory usage and have deterministic behavior) with cycle removal. -7. Mathematical extensions: BigDecimal, BigFloat, operator overloading, bigint mode, math mode. -8. Command line interpreter with contextual colorization and completion implemented in Javascript. -9. Small built-in standard library with C library wrappers. + + } title="Get Started" href="/user/get-started" /> + \ No newline at end of file